Agent Self Scheduling

Make an AI agent run on a schedule, loop, or interval — cron, heartbeats, recurring autonomous checks. Use for "run every N minutes", "schedule a task", "run on a loop", "heartbeat". Covers external clocks (Claude Code, Codex, Pi) vs Hermes' built-in scheduler.

100 stars 27 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add adriannoes/awesome-agentic-ai --skill agent-self-scheduling
Manual install
git clone --depth 1 https://github.com/adriannoes/awesome-agentic-ai.git /tmp/awesome-agentic-ai
mkdir -p ~/.claude/skills
cp -r /tmp/awesome-agentic-ai/cursor-claude-codex/skills/david-ondrej/agent-orchestration/agent-self-scheduling ~/.claude/skills/agent-self-scheduling

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Agent Self-Scheduling

First question: does the agent have a built-in scheduler (Hermes → Camp B), or do you own the clock (everything else → Camp A)?

Universal floor: cron is 1 minute minimum (5-field expr, no seconds) — every camp. For sub-minute you MUST use a `while ...; sleep N; done` loop, a TS extension, or an event hook. Never put an LLM on a tight timer.

## Camp A — one-shot agents, you own the clock

These run once and exit (amnesiac unless resumed). Schedule them externally.

```bash
claude -p "PROMPT" --output-format json --allowedTools "Read,Edit,Bash"  # Claude Code
codex exec --json "PROMPT"                                                # Codex
pi run "PROMPT"                                                           # Pi
```

Wrap in a clock:

```bash
# 1. cron (>= 1 min floor)
*/10 * * * * cd /path/to/project && pi run "check X and report" >> ~/agent.log 2>&1
# 2. systemd timer (Linux, survives reboot, better logging) — OnUnitActiveSec=10min
# 3. dumb loop (sub-minute, or no cron available)
while true; do pi run "check X"; sleep 30; done
```

Gotchas (each breaks unattended runs if ignored):
- **Permissions hang forever.** Pass `--allowedTools` (Claude) or sandbox/auto-approve flags (Codex), or the run blocks on a prompt.
- **Use JSON output** (`--output-format json` / `--json`) so the wrapper parses results deterministically.
- **Runs are amnesiac.** Resume (`codex exec resume --last`) or persist state to a file the next run reads.
Read the full skill on GitHub

Details

Skill name
agent-self-scheduling
Path
cursor-claude-codex/skills/david-ondrej/agent-orchestration/agent-self-scheduling/SKILL.md
License
MIT
Repo updated
2 November 2026

FAQ

What does the Agent Self Scheduling skill do?

Make an AI agent run on a schedule, loop, or interval — cron, heartbeats, recurring autonomous checks. Use for "run every N minutes", "schedule a task", "run on a loop", "heartbeat". Covers external clocks (Claude Code, Codex, Pi) vs Hermes' built-in scheduler.

How do I install the Agent Self Scheduling skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add adriannoes/awesome-agentic-ai --skill agent-self-scheduling. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Agent Self Scheduling popular?

It lives in adriannoes/awesome-agentic-ai, which has 100 GitHub stars and 27 forks, and is included in 2 curated skill lists.

Related skills

Browserstack

100

adriannoes/awesome-agentic-ai

Run tests on BrowserStack. Use when user mentions "browserstack", "cross-browser", "cloud testing", "browser matrix", "test on safari", "test on firefox", or "browser compatibility".

Testing & QAIn 2 lists27

Coverage

100

adriannoes/awesome-agentic-ai

Analyze test coverage gaps. Use when user says "test coverage", "what's not tested", "coverage gaps", "missing tests", "coverage report", or "what needs testing".

Testing & QAIn 2 lists27

Fix

100

adriannoes/awesome-agentic-ai

Fix failing or flaky Playwright tests. Use when user says "fix test", "flaky test", "test failing", "debug test", "test broken", "test passes sometimes", or "intermittent failure".

Testing & QAIn 2 lists27

AI Landing Translator

43

luke96-tech/ai-landing-translator

AI落地翻译官 —— 面向企业老板的AI落地引导工具。当用户说"帮我看看我的业务怎么用AI""我的业务哪些环节能用AI提效""帮我梳理AI落地路径"或类似表达时触发。通过多轮对话引导老板梳理核心业务路径,用四层拆解法识别可AI化环节,用SOP九要素卡结构化落地方案,最终输出HTML格式的AI落地路径图。

AI, LLMs & Agents11

Xxd Strip AI Meta

46

nevertoday/xxd-strip-ai-meta

Remove C2PA Content Credentials, AI provenance, OpenAI/gpt-image metadata, prompts, EXIF/XMP/IPTC/comment/software metadata from image files or directories. Use when users ask to strip "made with AI", C2PA, Content Credentials, image metadata, EXIF, AI labels, OpenAI provenance, or batch-clean many PNG/JPEG/WebP/TIFF images while replacing originals and preserving pixel quality as much as possible.

AI, LLMs & Agents

Analyzing Powershell Empire Artifacts

100

adriannoes/awesome-agentic-ai

Detect PowerShell Empire framework artifacts in Windows event logs by identifying Base64 encoded launcher patterns, default user agents, staging URL structures, stager IOCs, and known Empire module signatures in Script Block Logging events.

AI, LLMs & AgentsIn 2 lists27

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.