agents: Instructions file for Claude Code

CLAUDE.md

agents CLAUDE.md is an instructions file for Claude Code from nirecom/agents. It costs 1,022 tokens per session, scanned A, original, MIT.

A set of global instructions for a Claude Code project, including its workflow, file locations, and rules for moving between development steps. It uses commands and session markers to coordinate the workflow.

In plain words
What is it for?
Use it to manage a project workflow, initialize file-changing sessions, advance to the next step, list the full plan, and recover or resume paused workflow states.
Why use it?
It gives coding sessions consistent starting rules and tells the agent what to do after each workflow skill. This helps prevent skipped steps or unclear handoffs.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: names the AskUserQuestion tool; mentions Claude Code.

This is nirecom/agents's own configuration. It tells Claude Code how to work on agents 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 agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nirecom/agents. 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/nirecom/agents/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/nirecom/agents

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 agents CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nirecom/agents/claude-md"><img src="https://agentmods.dev/badge/instructions/nirecom/agents/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,022 This file is loaded in full into every session.
When invoked 1,022 The same file — it is already loaded in full.
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.01022 $0.01022
Opus 5.5 $0.00409 $0.00409
Sonnet 5.5 $0.00204 $0.00204
Haiku 4.5 $0.00102 $0.00102

Measured 4d ago against content hash 3b2c305222f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agents CLAUDE.md 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 4d 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.md · 38 lines

How it starts

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

Global Claude Code Instructions

All work follows rules/core-principles.md.

Workflow

Begin file-modifying sessions with /workflow-init; skip for read-only investigation.

Steps use prefix WF-<TYPE>-N; WF-CODE-N = standard implementation. WF-META-N = planning-only (meta issues, no worktree).

After each skill completes, run: node "$AGENTS_MAIN_ROOT/bin/workflow/next-step" --session $CLAUDE_CODE_SESSION_ID. Follow ACTION / NEXT_SKILL / NEXT_HINT output — invoke means run the named skill immediately without pausing to ask the user (reserve confirmation for CONFIRM_* gates, the USER_VERIFIED dialog that /get-release-approval issues, and in-skill AskUserQuestion), done means proceed to session close, blocked/abort means see NEXT_HINT for recovery, paused means next-step is deliberately quiet — take no workflow action and continue the user's out-of-workflow work, resuming with echo "<<WORKFLOW_NEXT_STEP_RESUME: {reason}>>" when REASON=next-step-paused or echo "<<WORKFLOW_ENFORCE_WORKFLOW_ON: {reason}>>" when REASON=workflow-off-quiet. Run node "$AGENTS_MAIN_ROOT/bin/workflow/next-step" --list for the full step plan. Emergency partial reset: echo "<<WORKFLOW_RESET_FROM_{step}: {reason}>>" (reason mandatory; marks prior steps complete, resets target step and after to pending).

Notes

  • Skill procedures settle a step and read the next action in one call: next-step --advance --step <step> --complete|--skipped|--pending [--skip-reason <reason>] --next.
    • record-skip-judgment / set-deliverable-type / set-workflow-type support the same --advance [--next] pair for their own step.
    • Pass --next only when the call will consume the returned ACTION block immediately; otherwise omit it and proceed to the skill's own next documented step.
    • --next emits no ACTION= line when the settled step is not the session's current step (ADVANCE_SCOPE=not-current-step) — treat a missing ACTION= as "proceed to your own next step," not an error.
  • Do not use --permission-mode plan. Always use default mode for implementation tasks.
  • Mark AskUserQuestion metadata.source: jev-auto-skip-askuser only on a choice you raise whose answer the conversation already settles; detail: docs/architecture/jev.md.
  • Workflow state reset is main-conversation only — emit <<WORKFLOW_RESET_FROM_{step}: {reason}>> only when holistic context justifies it.
  • Not auto-injected — Read each before the work it governs:
    • rules/github-issues.md — any issue or PR operation.
    • rules/architecture-principles.md — designing or changing a mechanism, guard, gate, or check.
    • rules/branch.md — naming a branch or recording branching.
    • rules/worktree.md — creating, entering, or removing a worktree.
    • rules/ops.md — any destructive or system-state-changing operation.
    • rules/test.md — writing, reviewing, or running tests.
    • rules/coding.md — writing or editing code.
    • rules/docs.md — writing or updating documentation.
    • rules/mid-workflow-findings.md — bugs, follow-ups, or next-task findings discovered mid-workflow.
  • For trivial edits that temporarily suspend workflow enforcement, see rules/workflow-off.md (when it applies) and /enforce-workflow-off (how).
  • When working inside the agents repository itself, also consult docs/agents-repo-dev.md.
  • When you encounter an issue, concern, or unexpected outcome that core-principles + workflow don't resolve, report it: rules/supervisor-reporting.md says when, /supervisor-report does it.
  • Asked where a plan is: run node "$AGENTS_MAIN_ROOT/bin/plan-link" --step <step> and write its output as-is in the response.
  • write-code is not a tracked next-step step — invoke it manually once write_tests/review_tests complete, before /run-tests.
  • For keeping the Stop guard quiet during long-running work — automatic while a delegated step is in flight, NEXT_STEP_PAUSE otherwise — see rules/stop-guard-exemptions.md.

Read the full file on GitHub · 38 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. 4d ago Changed · +1 lines · +41 tokens per session 3b2c305222f3
  2. 8d ago Changed · +2 lines · -17 tokens per session 0a3ad6c5928d
  3. 23d ago Changed · +6 tokens per session 4ee09c8866cc
  4. 26d ago Changed · +1 lines · +48 tokens per session fdb8a16dd333
  5. 1mo ago Changed · +1 tokens per session 6e8f0fca4191
  6. 1mo ago Changed · -2 tokens per session 163447ee0fc3
  7. 1mo ago Changed 009b6e327d21
  8. 2mo ago First seen · 34 lines · 945 tokens per session scan A ba4672b2c0e4

Subscribe to this mod's changes

agents CLAUDE.md is an instructions file published in the GitHub repository nirecom/agents (3 stars, last pushed yesterday), licensed MIT. It adds 1,022 tokens to every session, about $0.0041 per session on Opus 5.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-31.

Related

agents CLAUDE.md compared with instructions from other repositories

agents CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agents CLAUDE.mdnirecom/agentsInstructions file3yesterdayMITA1,022Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode