Aeon Agent Setup and Management
aeonfun/aeon
Sets up and manages an Aeon agent instance that runs skills on a schedule through GitHub Actions: starting, rescheduling, debugging, editing skills and mining chat history.
Turns a prompt with an interval such as 5m or every 2 hours into a cron job and runs the prompt once right away, rounding awkward intervals to clean ones.
$ npx skills add XiaomiMiMo/MiMo-Code --skill loop -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install XiaomiMiMo/MiMo-Code loop --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/cli/src/skill/builtin/.bundle/loop .claude/skills/loop && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "loop" agent skill from https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/loop into .claude/skills/loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/loopType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add XiaomiMiMo/MiMo-Code --skill loop -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install XiaomiMiMo/MiMo-Code loop --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/cli/src/skill/builtin/.bundle/loop .agents/skills/loop && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "loop" agent skill from https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/loop into .agents/skills/loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add XiaomiMiMo/MiMo-Code --skill loop -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install XiaomiMiMo/MiMo-Code loop --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/cli/src/skill/builtin/.bundle/loop .cursor/skills/loop && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "loop" agent skill from https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/loop into .cursor/skills/loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/XiaomiMiMo/MiMo-Code.git --path packages/cli/src/skill/builtin/.bundle/loop--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add XiaomiMiMo/MiMo-Code --skill loop -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install XiaomiMiMo/MiMo-Code loop --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/cli/src/skill/builtin/.bundle/loop .gemini/skills/loop && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "loop" agent skill from https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/loop into .gemini/skills/loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install XiaomiMiMo/MiMo-Code loopInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add XiaomiMiMo/MiMo-Code --skill loop -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/cli/src/skill/builtin/.bundle/loop .github/skills/loop && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "loop" agent skill from https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/loop into .github/skills/loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add XiaomiMiMo/MiMo-Code --skill loop -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install XiaomiMiMo/MiMo-Code loop --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/cli/src/skill/builtin/.bundle/loop .opencode/skills/loop && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "loop" agent skill from https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/loop into .opencode/skills/loop/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loop", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
loopTurns a prompt with an interval such as 5m or every 2 hours into a cron job and runs the prompt once right away, rounding awkward intervals to clean ones.
This skill handles the `/loop` command. It reads the interval from a leading token like `5m`, `2h`, `1d` or `30s`, or from a trailing clause such as every 20m or every 5 minutes, and defaults to `10m` when neither appears. Input with no prompt body gets a one-line usage hint and nothing is scheduled. The agent registers the job through the `cron` tool and runs the prompt once immediately, so you see activity before the first scheduled tick.
Intervals are mapped to five-field cron expressions in UTC. Seconds round up to at least one minute, and minutes, hours and days must divide their cycle cleanly. When they do not, such as `7m` or `5h`, the agent picks the nearest clean value and tells you what it chose and why. In projects that have opted into autonomous-loop mode, an interval with no prompt schedules a self-directed tick instead. The excerpt is cut off after the rounding rules.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6babeb0. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Recurring Prompt Loop loads about 1.3k tokens when it runs. Until then it costs about 105 tokens; SKILL.md has 734 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from XiaomiMiMo/MiMo-Code at commit 6babeb0, republished under its MIT licence (© XiaomiMiMo). 734 words, ~1,314 tokens.
.claude/skills/loop/SKILL.md (or your agent's skills folder).This skill turns a free-form [interval] <prompt> line into a cron tool call and runs the prompt once right away.
The user's text is whatever appears after /loop . Apply the three rules below in order and stop at the first match.
Leading interval token. If the first whitespace-separated token matches the regex ^\d+[smhd]$ (case-insensitive), that token is the interval. Examples: 5m, 2h, 1d, 30s. The rest of the input is the prompt.
Trailing every <N><unit> clause. Otherwise, look for a clause at the end of the input of the form every <N><unit> or every <N> <unit-word> where <unit> is s|m|h|d and <unit-word> is second(s)|minute(s)|hour(s)|day(s). Strip the clause; what's left is the prompt; the captured <N><unit> is the interval. Examples: every 20m, every 5 minutes, every 2 hours.
Default. No interval found → interval is 10m, the whole input is the prompt.
If the input is empty, or is only an interval with no prompt body, reply with a one-line usage hint (/loop [interval] <prompt>) and stop. Do not schedule anything.
When the user types /loop <interval> (interval only) and the project has explicitly opted into autonomous-loop mode (a session-level flag the runtime sets), the prompt body is the sentinel <<autonomous-loop>>. The scheduler expands this sentinel at fire time into a self-directed tick instruction. If autonomous mode is not enabled, treat empty as the usage-hint case above.
| Pattern | Cron expression |
|---|---|
Ns | treat as ceil(N/60)m; minimum is 1m |
Nm where N is 1–59 and divides cleanly (1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30) | */N * * * * |
Nm where N ≥ 60 and N/60 divides 24 (1, 2, 3, 4, 6, 8, 12) | 0 */(N/60) * * * |
Nh where N is 1–23 and divides 24 | 0 */N * * * |
Nd where N divides 31 sensibly (1, 2) | 0 0 */N * * |
Cron fields are UTC. These interval patterns are timezone-agnostic; the Nd
row fires at midnight UTC, not local midnight.
Rounding rule. If N does not divide its wrap-around cleanly (e.g. 7m, 90m, 5h, 7d), pick the nearest interval that does and tell the user explicitly what you rounded to and why. Acceptable nearby values:
Examples of rounding messages:
7m → "rounding 7m to 6m so the fires stay evenly spaced; */7 skews at the hour wrap"90m → "rounding 90m to 2h; cron's hour field can't express 1.5h"With the parsed cron expression and prompt, invoke the cron tool's schedule verb. Use whichever call form the tool's own prompt describes — pass cron and prompt as required, leave durable: false (the default; only set true when the user explicitly asked the job to persist across sessions), leave it recurring (the default; one-shot is wrong for /loop — one-shots come from natural-language scheduling).
The cron tool returns a job id. Mention it briefly so the user can cancel with /loops cancel <id>.
After the cron call succeeds, do not wait for the first scheduled tick. Run the prompt body once right now:
/ (e.g. /loop 5m /standup → prompt is /standup), invoke it as a slash command — load the corresponding skill or command via the skill tool.This is the "don't make the user wait" rule. The cron job carries the recurring behavior; the immediate run is for responsiveness.
| User input | Interval | Cron | Prompt |
|---|---|---|---|
/loop 5m /babysit-prs | 5m (leading) | */5 * * * * | /babysit-prs |
/loop check the deploy every 20m | 20m (trailing) | */20 * * * * | check the deploy |
/loop /standup every 2 hours | 2h | 0 */2 * * * | /standup |
/loop tidy inbox | 10m (default) | */10 * * * * | tidy inbox |
/loop 30s ping | 30s → 1m | */1 * * * * | ping |
/loop 7m ping | 7m → 6m (rounded, explain) | */6 * * * * | ping |
/loop | (usage hint) | — | — |
/loop 5m | autonomous-only | (if enabled) | <<autonomous-loop>> |
10m and say so.--one-shot. This skill is for recurring loops./loops for that.<prompt> every <interval>; job id <id>") is enough.© XiaomiMiMo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in packages/cli/src/skill/builtin/.bundle/loop of XiaomiMiMo/MiMo-Code.
Open the folder on GitHubat commit 6babeb0
Recurring Prompt Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Recurring Prompt Loop this skillXiaomiMiMo/MiMo-Code | 14k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Aeon Agent Setup and Managementaeonfun/aeon | 767 | — | ~8.8k | Automated safety check: Warn | MIT | |
| Harness 24hthu-nmrc/OpenHarness | 116 | — | ~3.6k | Automated safety check: Pass | Apache-2.0 | |
| Autonomous Agent Harnessaffaan-m/ECC | 274k | 2 repos | ~2.9k | Automated safety check: Pass | MIT | |
| AI Automation WorkflowsNeverSight/learn-skills.dev | 216 | 1 repos | ~2.6k | Automated safety check: Pass | None | |
| Recurring Prompt LoopQwenLM/qwen-code | 28k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 |
aeonfun/aeon
Sets up and manages an Aeon agent instance that runs skills on a schedule through GitHub Actions: starting, rescheduling, debugging, editing skills and mining chat history.
thu-nmrc/OpenHarness
A production-grade framework for long-running, autonomous agents based on Harness Engineering principles.
affaan-m/ECC
Transform Claude Code into a fully autonomous agent system with persistent memory, scheduled operations, computer use, and task queuing.
NeverSight/learn-skills.dev
Build automated AI workflows combining multiple models and services.
QwenLM/qwen-code
Runs a prompt now and repeats it on a fixed interval or through self-paced wakeups, with subcommands to list or clear scheduled loop jobs.
affaan-m/ECC
Claude Codeを永続的なメモリ、スケジュール済み操作、コンピュータ使用、タスクキューイングを備えた完全自動エージェントシステムに変換します。スタンドアロンエージェントフレームワーク(Hermes、AutoGPT)を、Claude Codeのネイティブcrons、dispatch、MCPツール、メモリを活用して置き換えます。ユーザーが継続的な自動操作、スケジュール済みタスク、または自己指令…
XiaomiMiMo/MiMo-Code
Searches arXiv, fetches metadata, generates BibTeX, downloads PDFs and finds citations and related papers using a bundled Python script.
XiaomiMiMo/MiMo-Code
Interactive guide for creating, reviewing and fixing agent skills (SKILL.md folders), covering structure, frontmatter rules, trigger phrases and validation before sharing.
XiaomiMiMo/MiMo-Code
Produces, edits and reads Microsoft Word files through python-docx and lxml, with a decision table for picking the lightest workflow for a given task.
XiaomiMiMo/MiMo-Code
Lets one MiMoCode process drive another, headless with JSON events or interactively through tmux, to test behavior and visual regressions with parseable evidence.
XiaomiMiMo/MiMo-Code
Reads, transforms, composes and fills PDFs with Python scripts for extraction, merging, watermarking, encryption, OCR and form filling.
XiaomiMiMo/MiMo-Code
Builds, edits, cleans, recalculates and reads Excel workbooks and CSV files with openpyxl and pandas, plus LibreOffice for recalculation and PDF export.
Categories
Turns a prompt with an interval such as 5m or every 2 hours into a cron job and runs the prompt once right away, rounding awkward intervals to clean ones. This skill handles the `/loop` command. It reads the interval from a leading token like `5m`, `2h`, `1d` or `30s`, or from a trailing clause such as every 20m or every 5 minutes, and defaults to `10m` when neither appears.
Recurring Prompt Loop fits situations like: running a check or prompt on a fixed schedule; babysitting a long task by re-checking it every few minutes; setting up a recurring daily or hourly agent task with the loop command.
Run `npx skills add XiaomiMiMo/MiMo-Code --skill loop -a claude-code`. Or copy the skill folder (packages/cli/src/skill/builtin/.bundle/loop in XiaomiMiMo/MiMo-Code) into .claude/skills/loop in your project. Claude Code loads it when a task matches its description.
Run `npx skills add XiaomiMiMo/MiMo-Code --skill loop -a codex`. Or copy the skill folder (packages/cli/src/skill/builtin/.bundle/loop in XiaomiMiMo/MiMo-Code) into .agents/skills/loop in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add XiaomiMiMo/MiMo-Code --skill loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/loop, .gemini/skills/loop, .github/skills/loop and .opencode/skills/loop in your project.
SKILL.md names no scripts, command-line tools or credentials: Recurring Prompt Loop is instructions for the agent only. Our summary lists: A runtime that provides a `cron` tool.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Recurring Prompt Loop is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Recurring Prompt Loop: Aeon Agent Setup and Management (aeonfun/aeon, 767 stars), Harness 24h (thu-nmrc/OpenHarness, 116 stars), Autonomous Agent Harness (affaan-m/ECC, 274k stars) and AI Automation Workflows (NeverSight/learn-skills.dev, 216 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
XiaomiMiMo (a GitHub organization) maintains it in XiaomiMiMo/MiMo-Code, which has 13,601 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 3, 2026.
Source: XiaomiMiMo/MiMo-Code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.