Cloudcli Timer Agent — AI skill for Claude Code
CloudCLI plugin: cron & fixed-interval scheduler for AI agent prompts and command jobs (dsh-timer-agent port) CloudCLI 定时任务插件.
How to install Cloudcli Timer Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open LouisHaoL/cloudcli-timer-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cloudcli Timer Agent does
CloudCLI plugin: cron & fixed-interval scheduler for AI agent prompts and command jobs (dsh-timer-agent port) CloudCLI 定时任务插件.
Alternatives in AI
- Hermes MCP — MCP server that lets any llm (i.e. Claude Desktop) delegate tasks to a local Hermes Agent — cron jobs, web sea 59 ★
- PythonClaw — 🐍 Personal AI agent in pure Python — OpenClaw reimagined 48 ★
- Hermes Dashboard — Web dashboard for Hermes Agent gateway — full config, MCP, cron, model management without CLI 39 ★
README
cloudcli-timer-agent — CloudCLI 定时任务插件
[dsh-timer-agent](../dsh-timer-agent) 的 CloudCLI 插件移植版:把「Scheduled Prompt」(cloudcli-cron)换成一个**支持真正 5 段 cron** 的定时任务板。架构与 cloudcli-cron 同构(manifest.json + tab 客户端 + 常驻 server 进程),域模型与调度语义直接移植自 dsh-timer-agent 的零依赖 core。
它解决什么
Scheduled Prompt 只支持 daily/weekly/monthly 等预设枚举,**不支持 cron 表达式**;本插件恢复 dsh-timer-agent 的完整能力:
- 5 段 cron(分 时 日 月 周,
*/*/n/a-b/ 逗号列表,day+weekday OR 语义)+ 新建/编辑页的预设下拉(每天 09:00 / 每小时 / 每 10 分钟 / 每周一 09:00 / 工作日 09:00 / 月初 10:00) - 一次性任务:只设执行时间(新建页"一次性"模式,默认当前 +1h),到点执行一次后任务自动归档;成功/失败/手动执行都会消耗这次机会;详情页可手改执行时间
- 两种任务类型:
- AI Agent 任务(默认):到点把 prompt 喂给配置的 CLI(
{{prompt}}占位或 stdin 注入),支持每任务覆盖 CLI 命令/参数/超时 - 普通任务(命令):到点直接 spawn
命令 + 参数(不经过 AI、不消耗额度),stdout/stderr 尾部(≤16k 字符)与退出码入账
- AI Agent 任务(默认):到点把 prompt 喂给配置的 CLI(
- 跳过一次:详情页一键跳过下一个触发点,之后照常(一次性任务没有"下一次",不提供)
- 执行历史:每次触发的结果/耗时/输出尾部/错误原因(上限 200 条)
- 收件箱自动派发:
inbox: true的任务进入队列,按priority+difficulty+等待时长打分,空闲时自动跑最高分;可用targetProject指定执行所在目录 - 立即执行 / 暂停 / 恢复 / 归档 / 搜索
[!WARNING] **普通任务会在本机以当前用户权限执行任意命令,没有沙箱或白名单。** 台账 `~/.cloudcli-timer-agent/jobs.json` 可被篡改即等价于本机任意代码执行;HTTP API 仅监听 127.0.0.1 且无鉴权。只填你审查过的、无人值守安全的命令。
安装
# 方式一:作为插件市场添加(推荐)
claude plugin marketplace add LouisHaoL/cloudcli-timer-agent
claude plugin install cloudcli-timer-agent
# 方式二:clone 到 CloudCLI 插件目录后构建
git clone https://github.com/LouisHaoL/cloudcli-timer-agent ~/.claude-code-ui/plugins/cloudcli-plugin-timer-agent
npm install && npm run build
# 方式三:本目录已构建好,直接拷贝/链接到 ~/.claude-code-ui/plugins/ 即可
插件目录、服务器端路由判定均由此目录加载(`~/.claude-code-ui/plugins/`);server 的台账则在 `~/.cloudcli-timer-agent/jobs.json`(可用环境变量 `TIMER_AGENT_HOME` 覆盖,冒烟测试即用临时目录)。
重启 CloudCLI,插件页出现「Timer Agent」标签即生效。
调度语义(继承 dsh-timer-agent)
- server 每 30s 一拍;执行完全由持久化的
nextRunAt驱动,cron/固定间隔只负责计算它;at-most-once:先顺延(一次性任务为消耗)nextRunAt再触发,崩溃不会重复触发 - 错过即跳过:server 停机期间到点的任务不补跑(重启后仅执行已顺延到期的那一次)
- 一次性任务:
nextRunAt即整个调度;触发一次即消耗,执行结算(成功/失败)后任务归档,手动执行同样消耗;运行中到点不消耗,下一拍重试;`n
Related Skills
AI Email Assistant
AI-powered triage for a shared team inbox. Uses IMAP + Claude — not a vendor API or MCP — so it works with any
Agent Setup
Build your own AI executive assistant — powered by Claude Code or Codex CLI. Open-source framework with persis
Dsh Hud
Codex/Claude Code-style live session telemetry for DeepSeek Harness — model, context, tokens, timing, jobs, an
Model Comparison
Local open-weight models (Qwen3.5-397B, MiniMax M2.5) vs cloud coding agents (Codex 5.3, Claude Code) on six w
Serial Hub
Let any AI (Cline/workbuddy/Claude Desktop via MCP) share one serial port with you — read output, send command
Obsidian Scheduled Agents
Obsidian plugin that schedules AI agent jobs on your vault. Ships with a Weekly Digest of your daily notes and
Related Agents
Async Bug Hunter
Deep correctness review of a Savi diff (DSP and main line) focused on where this codebase actually breaks — un
Node Developer
Node.js programs a person, shell or scheduler runs — a CLI and its bin, a script, a worker, a cron job, a daem
Frappe Doctor
Diagnose a Frappe/ERPNext site's health, read-only — background workers, error logs, slow queries, failed jobs