loop-slash-command-dynamic-mode
Skill9 starsChanged 5 days agoMITView on GitHub
Parses user input into an interval and prompt for scheduling recurring or dynamically self-paced loop executions
In this repository106 other files it gives its agents.
- artifact-design-direction-cardsSkill
- artifact-design-page-contractSkill
- artifact-diagrammingSkill
- claude-api-authentication-status-checkSkill
- claude-api-cli-installation-guidanceSkill
- claude-api-deprecated-or-retired-models-noticeSkill
- claude-api-managed-agents-onboarding-from-url-unavailableSkill
- claude-api-managed-agents-onboarding-source-tierSkill
- claude-api-sign-in-errors-guidanceSkill
- claude-api-sign-in-guidanceSkill
- claude-code-configuration-guideSkill
- claude-guide-unavailable-reference-fallbackSkill
- code-review-angle-b-removed-behavior-auditorSkill
- code-review-angle-c-cross-file-tracerSkill
- code-review-angle-d-language-pitfall-specialistSkill
- code-review-angle-e-wrapper-proxy-correctnessSkill
- code-review-conventions-dimensionSkill
- code-review-correctness-finder-anglesSkill
- code-review-efficiency-dimensionSkill
- code-review-extra-high-bugs-and-conventions-modeSkill
- code-review-finding-severity-and-summariesSkill
- code-review-high-bugs-and-conventions-modeSkill
- code-review-inline-medium-high-templateSkill
- code-review-inline-xhigh-modeSkill
- code-review-language-and-wrapper-correctness-anglesSkill
- code-review-low-effort-expanded-findings-modeSkill
- code-review-named-target-diff-instructionsSkill
- code-review-output-findings-json-arraySkill
- code-review-phase-0-gather-the-diffSkill
- code-review-phase-2-verify-3-stateSkill
- code-review-phase-2-verify-recall-biasedSkill
- code-review-phase-3-sweep-for-gapsSkill
- code-review-unavailable-target-diff-fallbackSkill
- computer-use-mcpSkill
- data-visualization-descriptionSkill
- debuggingSkill
- design-sync-artifacts-mcp-call-instructionsSkill
- design-sync-artifact-support-unavailableSkill
- design-sync-artifact-tool-call-instructionsSkill
- design-sync-design-system-move-to-claudeSkill
- doctor-prompt-audit-configuration-scopeSkill
- doctor-slash-command-descriptionSkill
- doctor-slash-commandSkill
- doctor-usage-flagged-checkSkill
- dynamic-pacing-loop-execution-re-arm-decisionSkill
- dynamic-pacing-loop-executionSkill
- explain-usage-measured-usage-slash-commandSkill
- explain-usage-slash-commandSkill
- generate-permission-allowlist-from-transcriptsSkill
- import-to-claude-codeSkill
- init-claude-md-and-skill-setup-new-versionSkill
- insights-report-outputSkill
- loop-cloud-first-scheduling-offerSkill
- loop-external-wakeup-handoverSkill
- loop-local-runtime-noteSkill
- loop-self-pacing-mode-re-arm-decisionSkill
- loop-self-pacing-modeSkill
- mod-github-sharing-consentSkill
- mod-plugin-packaging-any-planSkill
- mod-plugin-packaging-consentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Leading token: if the first whitespace-delimited token matches ^\d+[smhd]$ (e.g.
- Very specific: line 36
If the resulting prompt is empty, show usage /loop [interval] <prompt> and stop.
- Very specific: line 53
Call ${CRON_CREATE_TOOL_NAME} with: cron (the expression above), prompt (the parsed prompt verbatim), recurring: true.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/loop — schedule a recurring or self-paced prompt
Parse the input below into [interval] <prompt…> and schedule it.
Parsing (in priority order)
- Leading token: if the first whitespace-delimited token matches
^\d+[smhd]$(e.g.5m,2h), that's the interval; the rest is the prompt. - Trailing "every" clause: otherwise, if the input ends with
every <N><unit>orevery <N> <unit-word>(e.g.every 20m,every 5 minutes,every 2 hours), extract that as the interval and strip it from the prompt. Only match when what follows "every" is a time expression —check every PRhas no interval. - No interval: otherwise, the entire input is the prompt and you'll self-pace dynamically (see "Dynamic mode" below).
If the resulting prompt is empty, show usage /loop [interval] <prompt> and stop.
Examples:
5m /babysit-prs→ interval5m, prompt/babysit-prs(rule 1)check the deploy every 20m→ interval20m, promptcheck the deploy(rule 2)run tests every 5 minutes→ interval5m, promptrun tests(rule 2)check the deploy→ no interval → dynamic mode, promptcheck the deploy(rule 3)check every PR→ no interval → dynamic mode, promptcheck every PR(rule 3 — "every" not followed by time)5m→ empty prompt → show usage ${PR_STEWARD_LOOP_CHECK_BLOCK}${ADDITIONAL_PARSING_NOTES_FN()}${CLOUD_SESSION_LOOP_GUIDANCE_BLOCK}
Fixed-interval mode (rules 1 and 2)
Convert the interval to a cron expression:
${CRON_CONVERSION_RULES}
Then:
- Call ${CRON_CREATE_TOOL_NAME} with:
cron(the expression above),prompt(the parsed prompt verbatim),recurring: true. - Briefly confirm: what's scheduled, the cron expression, the human-readable cadence, that recurring tasks auto-expire after ${CANCEL_TIMEFRAME_DAYS} days, and that the user can cancel sooner with ${CRON_DELETE_TOOL_NAME} (include the job ID).${LOOP_CONFIRMATION_SUFFIX_FN()}
- Then immediately execute the parsed prompt now — don't wait for the first cron fire. If it's a slash command, invoke it via the Skill tool; otherwise act on it directly.
Dynamic mode (rule 3 — no interval)
${DYNAMIC_MODE_INSTRUCTIONS}
Input
${USER_INPUT}
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

