Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

croncron 问题管理

Agent Skill

cron 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

792

周安装

33

GitHub Stars

15,896

下载量

264
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cron(cron 问题管理)
来源仓库:https://github.com/agentscope-ai/copaw
仓库路径:skills/cron
安装命令:
npx skills add https://github.com/agentscope-ai/copaw --skill cron
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/agentscope-ai/copaw --skill cron

简介

cron 用于管理定时任务与周期性提醒,支持未来时间点或重复执行调度。

  • 适合需要自动执行报告、检查或通知功能的长期运营场景。
  • 仅在被明确指定执行时间与目标通道时启用,避免误触发。
  • 使用前需确认目标用户或频道权限,防止越权操作。
  • cron 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Cron (Scheduled Task Management)

When to Use

Use this skill only when you need to automatically execute something at a future time or repeat execution on a schedule.

Should Use

  • User asks to do something "daily / weekly / hourly"
  • User asks for automatic reminders or execution "tomorrow at 9 AM / next Monday / at a specific time"
  • Long-term periodic notifications, checks, or reports are needed

Should Not Use

  • The task only needs to be executed once right now
  • It is just a normal reply within the current session
  • The user has not specified an execution time or schedule
  • The target channel / user / session is still unclear

Decision Rules

  1. Only use cron for future scheduled or periodic execution
  2. If it only needs to be done once immediately, do not create a cron job
  3. Before creating, confirm execution time/schedule, target channel, target-user, and target-session
  4. All cron commands must explicitly include --agent-id
  5. Do not rely on the default agent, or the task may end up in the default workspace

Hard Rules

Must Explicitly Specify --agent-id

All qwenpaw cron commands must include:

--agent-id <your_agent_id>

Your agent_id is found in the Agent Identity section of the system prompt (Your agent id is...). Do not omit it, or the task may be incorrectly created in the default agent's workspace.


Common Commands

# List tasks
qwenpaw cron list --agent-id <agent_id>

# View task details
qwenpaw cron get <job_id> --agent-id <agent_id>

# View task status
qwenpaw cron state <job_id> --agent-id <agent_id>

# Create a task
qwenpaw cron create --agent-id <agent_id> ...

# Delete a task
qwenpaw cron delete <job_id> --agent-id <agent_id>

# Pause / Resume a task
qwenpaw cron pause <job_id> --agent-id <agent_id>
qwenpaw cron resume <job_id> --agent-id <agent_id>

# Run an existing task once immediately
qwenpaw cron run <job_id> --agent-id <agent_id>

Creating Tasks

Two types are supported:

  • text: Send a fixed message on a schedule
  • agent: Ask an agent a question on a schedule and send the reply to the target channel

Minimum Information Required Before Creating

  • --type
  • --name
  • --cron
  • --channel
  • --target-user
  • --target-session
  • --text
  • --agent-id

If any of this information is missing, confirm with the user before creating the task.

Creation Examples

qwenpaw cron create \
  --agent-id <agent_id> \
  --type text \
  --name "Daily Greeting" \
  --cron "0 9 * * *" \
  --channel imessage \
  --target-user "CHANGEME" \
  --target-session "CHANGEME" \
  --text "Good morning!"
qwenpaw cron create \
  --agent-id <agent_id> \
  --type agent \
  --name "Check Todos" \
  --cron "0 */2 * * *" \
  --channel dingtalk \
  --target-user "CHANGEME" \
  --target-session "CHANGEME" \
  --text "What are my pending tasks?"

Create from JSON

qwenpaw cron create --agent-id <agent_id> -f job_spec.json

Minimal Workflow

1. Determine whether this truly requires "future scheduling" or "periodic execution"
2. Confirm execution time/schedule
3. Confirm channel, target-user, target-session
4. Explicitly include --agent-id
5. Create the task with qwenpaw cron create
6. Manage tasks afterwards with list / state / pause / resume / delete

Cron Expression Examples

0 9 * * *      Every day at 9:00
0 */2 * * *    Every 2 hours
30 8 * * 1-5   Weekdays at 8:30
0 0 * * 0      Every Sunday at midnight
*/15 * * * *   Every 15 minutes

Common Mistakes

Mistake 1: Creating a cron job for a one-time immediate execution

If the task only needs to be done once right now, do not create a cron job.

Mistake 2: Not passing --agent-id

This causes the task to be assigned to the wrong agent / workspace. All cron commands must explicitly include --agent-id.

Mistake 3: Creating a task without complete information

If the user has not specified the time, schedule, target channel, or target session, ask for clarification first.

Mistake 4: Modifying existing tasks without checking first

Before pausing, resuming, or deleting, first run:

qwenpaw cron list --agent-id <agent_id>

to find the correct job_id.


Usage Tips

  • When parameters are missing, ask the user before creating
  • Before modifying/pausing/deleting, run qwenpaw cron list --agent-id <agent_id> first
  • To troubleshoot issues, use qwenpaw cron state <job_id> --agent-id <agent_id>
  • When showing commands to the user, provide complete, copy-pasteable versions

Help Information

qwenpaw cron -h
qwenpaw cron list -h
qwenpaw cron create -h
qwenpaw cron get -h
qwenpaw cron state -h
qwenpaw cron pause -h
qwenpaw cron resume -h
qwenpaw cron delete -h
qwenpaw cron run -h

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.07%
按下载量换算90

Claude

30.19%
按下载量换算80

Cursor

20.7%
按下载量换算55

Gemini CLI

9.54%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills