Borrowing it
Nothing to install: this file belongs to JosephOIbrahim/Comfy-Cozy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/JosephOIbrahim/Comfy-Cozy/master/.claude/commands/cozy-cycle.mdgit clone --depth 1 https://github.com/JosephOIbrahim/Comfy-CozyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/josephoibrahim/comfy-cozy/cozy-cycle)<a href="https://agentmods.dev/commands/josephoibrahim/comfy-cozy/cozy-cycle"><img src="https://agentmods.dev/badge/commands/josephoibrahim/comfy-cozy/cozy-cycle/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/josephoibrahim/comfy-cozy/cozy-cycle"><img src="https://agentmods.dev/badge/commands/josephoibrahim/comfy-cozy/cozy-cycle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00501 |
| Opus 5 | $0.00010 | $0.00251 |
| Sonnet 5 | $0.00004 | $0.00100 |
| Haiku 4.5 | $0.00002 | $0.00050 |
Grade A, and why
cozy-cycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/cozy-cycle — One MoE chain pass with self-healing
You are about to drive one full MoE chain pass governed by
.claude/COZY_CONSTITUTION.md and the 10 commandments in
agent/stage/constitution.py.
User Intent
$ARGUMENTS
Protocol
-
Classify the intent using the keyword sets in
agent/stage/moe_dispatcher.py:_TASK_KEYWORDS. Pick the matchingTaskTypeand resolve its chain viaTASK_CHAINS. -
Dispatch each specialist in order, using the Agent tool with
subagent_typeset to the matchingcozy-*subagent (e.g.cozy-scout,cozy-architect, ...). Pass the prior specialist's typed handoff artifact as input. -
After each specialist returns, validate:
- Artifact
artifact_typematches the expected type for that specialist (commandment 6,explicit_handoffs). - No constitutional violations were emitted in the result.
- If a TERMINAL was raised, halt and emit a BLOCKER summary.
- Artifact
-
The chain MUST end with
cozy-scribeif any specialist mutated state (Article II). The Scribe produces the finalpersistence_receiptconfirming the flush. -
Self-healing ladder (Article III):
- TRANSIENT: backoff and retry up to 3 times within the same specialist invocation.
- RECOVERABLE: re-dispatch the appropriate specialist (FORGE for build errors, PROVISIONER for missing assets, ARCHITECT for plan errors).
- TERMINAL: halt the chain, summarize, exit.
Output
Produce a single chain-summary block at the end:
Chain: <task_type>
Specialists: <names in order>
Halt reason: <budget|completed|TERMINAL:reason>
Artifacts produced: <list of artifact_types>
Persistence: <flushed_at from persistence_receipt | NOT_FLUSHED>
Do NOT push to remote. Do NOT run destructive git operations. Do NOT bypass commandment gates.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 59 lines · 21 tokens per session scan A 9e898fd990e6
cozy-cycle is a command published in the GitHub repository JosephOIbrahim/Comfy-Cozy (24 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 501 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
director
Direct a short film from a story. Generates scenes, frames, and video clips.
compare
Diff two ComfyUI workflows to see what changed.
install
Install a ComfyUI custom node pack.
convert
Convert between ComfyUI UI format and API format workflows.
debug
Diagnose why a ComfyUI workflow failed.
gallery
Browse and inspect generated ComfyUI outputs.