context-manifest

context-manifest is a command for Claude Code from nicelight/DevRails-26. It costs 31 tokens per session (1,437 once invoked), scanned A, original, MIT.

A read-only routing command that creates a compact reading plan for another agent exploring a project's code and Memory Bank.

In plain words
What is it for?
Use it to map the documents, code areas, and tests relevant to a feature, task, requirement, or workflow. It returns routes to read, not copied source content.
Why use it?
It helps broad discovery stay focused when finding all relevant files would use more context than a separate exploration pass.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to map the documents, code areas, and tests relevant to…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nicelight/devrails-26/context-manifest
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/nicelight/DevRails-26

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 context-manifest

README.md
[![agentmods](https://agentmods.dev/badge/commands/nicelight/devrails-26/context-manifest.svg)](https://agentmods.dev/commands/nicelight/devrails-26/context-manifest)
Your own site
<a href="https://agentmods.dev/commands/nicelight/devrails-26/context-manifest"><img src="https://agentmods.dev/badge/commands/nicelight/devrails-26/context-manifest.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,437 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.00031 $0.01437
Opus 5 $0.00015 $0.00718
Sonnet 5 $0.00006 $0.00287
Haiku 4.5 $0.00003 $0.00144

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

Security

Grade A, and why

context-manifest 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 7d 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.

skills/_shared/references/commands/context-manifest.md · 160 lines

How it starts

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

/context-manifest - Route context reads

This is optional context routing. It is not a workflow gate, source summary, durable artifact, or substitute for source-of-truth reading.

<input_contract> Resolve from $ARGUMENTS:

  • target workflow or work type;
  • one FT-*, TASK-*, or REQ-* target, or a short free-form goal;
  • optional downstream read budget;
  • whether codebase/test evidence is needed.

Before discovery, read local AGENTS.md, .memory-bank/roles/explorer.md, and, when a target workflow exists, its installed skill. Resolve IDs through existing indexes/registries. Do not invent a separate CLI parser.

The caller should delegate this work only when broad discovery is likely to cost more context than a separate Explorer call. Direct reads are normally cheaper for simple T0/T1 work or a small task with an obvious complete read set. </input_contract>

<hard_invariants>

  • Work read-only. Do not execute the target workflow, edit files, create planning/spec/task/protocol artifacts, or launch subagents.
  • Return routes, not source contents. No file dumps, long summaries, product or design conclusions, secrets, credentials, or environment values.
  • Direct canonical links outrank registry-only guesses. Do not route one concern to competing active specs or use archive/legacy material as current authority without an explicit active-source reason.
  • Workflow-mandatory files remain read_full; never shorten them for budget.
  • The manifest is an initial read set, not a scope boundary. The caller expands it when read sources, direct links, diff, or evidence require more context.
  • Do not persist the manifest in .memory-bank/, .protocols/, or .tasks/.
  • Do not change target workflow inputs, outputs, gates, statuses, ownership, or handoff contracts. </hard_invariants>

<operator_decisions> Explorer does not resolve product, acceptance, architecture, contract, storage/state, security, tier, task-boundary, dependency, or verification ambiguity.

Record every unresolved branch or competing canonical route under Gaps / stop conditions. When the operator can decide it, the caller must interview the operator under the owning workflow before proceeding. A recommendation, default, or silence is not acceptance. </operator_decisions>

<agent_discretion> Within the read-only boundary, choose the search order, tools, discovery depth, focused ranges, anchors, and optional sources that produce the smallest sufficient manifest. Prefer indexes, direct links, targeted search, and current-worktree evidence over broad reads. </agent_discretion>

<routing_profiles>

  • Planning/design: include governing priming, target feature/epic/REQ/RTM, backbone/index, plausible subject-based canonical specs, existing plans/tasks, and only necessary codebase evidence.
  • Execute: include indexed task record, tier policy, direct task-linked specs, minimal feature/REQ context, and relevant code/tests. Do not add broad Constitution/backbone/index context for T0/T1 without a direct reason.
  • Verify/review: include target record/plan, acceptance basis, direct specs, implementation diff/evidence, applicable testing contracts, and only needed upstream context. The verifier may expand beyond the manifest independently.
  • Broad analysis: start from governing routers/indexes, then include only evidenced relevant Memory Bank areas and codebase seams.

Follow source_artifacts, normative_inputs, spec_design_links, task, feature, and REQ links. For T2/T3 execution or verification, the indexed task card and direct task-linked canonical specs are mandatory; feature links are only composition/drift context. Exclude archive, legacy, and background areas unless a current source needs them as evidence. </routing_profiles>

<required_outputs> Return only this final shape; omit empty optional sections except Gaps / stop conditions:

Read the full file on GitHub · 160 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. 7d ago First seen · 160 lines · 31 tokens per session scan A c228ff1cea51

Subscribe to this mod's changes

context-manifest is a command published in the GitHub repository nicelight/DevRails-26 (22 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 1,437 once invoked, about $0.0002 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.