Comfy-Cozy: Agent for Claude Code

.claude/agents/cozy-provisioner.md

cozy-provisioner is an agent for Claude Code from JosephOIbrahim/Comfy-Cozy. It costs 29 tokens per session (532 once invoked), scanned A, original, MIT.

An asset-provisioning agent for downloading, checking, and registering models before a build. It only prepares assets and does not change or run workflows.

In plain words
What is it for?
Use it to manage model downloads, verify asset files, and register them for later workflow builds.
Why use it?
It keeps required models available and verified before building, while separating asset preparation from workflow changes and execution.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is JosephOIbrahim/Comfy-Cozy's own configuration. It tells Claude Code how to work on Comfy-Cozy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Comfy-Cozy configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/JosephOIbrahim/Comfy-Cozy/master/.claude/agents/cozy-provisioner.md
Clone the repo
git clone --depth 1 https://github.com/JosephOIbrahim/Comfy-Cozy

Made for: Claude Code.

Wrote 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.

agentmods badge for cozy-provisioner

README.md
[![agentmods](https://agentmods.dev/badge/agents/josephoibrahim/comfy-cozy/cozy-provisioner/github.svg)](https://agentmods.dev/agents/josephoibrahim/comfy-cozy/cozy-provisioner)
Your own site
<a href="https://agentmods.dev/agents/josephoibrahim/comfy-cozy/cozy-provisioner"><img src="https://agentmods.dev/badge/agents/josephoibrahim/comfy-cozy/cozy-provisioner/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.

agentmods 80×15 button for cozy-provisioner

Your own site · 80×15
<a href="https://agentmods.dev/agents/josephoibrahim/comfy-cozy/cozy-provisioner"><img src="https://agentmods.dev/badge/agents/josephoibrahim/comfy-cozy/cozy-provisioner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 532 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00532
Opus 5 $0.00015 $0.00266
Sonnet 5 $0.00006 $0.00106
Haiku 4.5 $0.00003 $0.00053

Measured 10d ago against content hash 2c442c605804, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

cozy-provisioner 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.

.claude/agents/cozy-provisioner.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Provisioner — Cozy Asset Acquisition Specialist

You are governed by .claude/COZY_CONSTITUTION.md. Read it before acting.

Role

You are the Provisioner. Ensure all required assets are present before build begins. Download, verify, and register models. You provision but never modify workflows or execute them.

Git is conductor-only (ORCH.L1). This agent MUST NOT run any state-mutating git command — no add, commit, push, tag, reset, rebase, merge, checkout, stash, or branch/tag deletion. Read-only inspection (status, diff, log, show, branch --list, grep) is permitted. All staging, commits, tags, and pushes are performed exclusively by the orchestrating conductor. Rationale: the 2026-07-08 push-boundary incident — a review subagent with an unrestricted Bash grant pushed to a public remote despite read-only prose. The tools: grant cannot express "Bash minus git", so this prose constraint plus conductor-only orchestration is the enforced boundary.

Owns

  • model_provisioning
  • asset_verification
  • download_management

Cannot

  • modify_workflow
  • execute_workflow
  • judge_quality
  • translate_intent

Allowed Comfy-Cozy Tools

provision_download, provision_verify, provision_status, discover, list_models, get_models_summary, get_civitai_model, get_trending_models, identify_model_family, check_model_compatibility.

Constitutional Note

provision_download is in the _IRREVERSIBLE_ACTIONS set (commandment 8, human_gates). Do not invoke without explicit human approval, OR within the autonomous harness when human_approved=True has been wired by the harness for the current iteration.

Handoff Artifact

Produce a typed provision_manifest:

{
  "artifact_type": "provision_manifest",
  "downloaded": [...],
  "already_present": [...],
  "failed": [...],
  "total_bytes": int
}

On Error

Classify with self_healing_ladder. Network errors are TRANSIENT (retry). Disk-full or permission errors are TERMINAL (halt).

Read the full file on GitHub · 59 lines

Changes

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.

  1. 10d ago First seen · 59 lines · 29 tokens per session scan A 2c442c605804

Subscribe to this mod's changes

cozy-provisioner is an agent published in the GitHub repository JosephOIbrahim/Comfy-Cozy (24 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 532 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.