full-context

full-context is a command for Claude Code from nmime/motiv-buy. It costs 0 tokens per session (1,488 once invoked), scanned A, original, MIT.

A command that gathers the project information needed before answering a request or changing code. It chooses between a direct check, a focused investigation, or a review using several AI agents.

In plain words
What is it for?
Use it before complex questions or changes to inspect relevant documentation and code with an amount of investigation suited to the task.
Why use it?
Coding tasks often depend on project structure, documentation, and related components that are not obvious from the request alone. Gathering that context helps avoid decisions based on incomplete information.

Command for Claude Code

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

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.

agentmods
npx agentmods add commands/nmime/motiv-buy/full-context
Clone the repo
git clone --depth 1 https://github.com/nmime/motiv-buy

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/nmime/motiv-buy/full-context.svg)](https://agentmods.dev/commands/nmime/motiv-buy/full-context)
Your own site
<a href="https://agentmods.dev/commands/nmime/motiv-buy/full-context"><img src="https://agentmods.dev/badge/commands/nmime/motiv-buy/full-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.01488
Opus 5 $0.00000 $0.00744
Sonnet 5 $0.00000 $0.00298
Haiku 4.5 $0.00000 $0.00149

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

Security

Grade A, and why

full-context 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 yesterday.

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/commands/full-context.md · 139 lines

How it starts

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

You are working on the current project. Before proceeding with the user's request "$ARGUMENTS", you need to intelligently gather relevant project context using an adaptive sub-agent strategy.

Auto-Loaded Project Context:

@/CLAUDE.md @/docs/ai-context/project-structure.md @/docs/ai-context/docs-overview.md

Step 1: Intelligent Analysis Strategy Decision

Think deeply about the optimal approach based on the project context that has been auto-loaded above. Based on the user's request "$ARGUMENTS" and the project structure/documentation overview, intelligently decide the optimal approach:

Strategy Options:

Direct Approach (0-1 sub-agents):

  • When the request can be handled efficiently with targeted documentation reading and direct analysis
  • Simple questions about existing code or straightforward tasks

Focused Investigation (2-3 sub-agents):

  • When deep analysis of a specific area would benefit the response
  • For complex single-domain questions or tasks requiring thorough exploration
  • When dependencies and impacts need careful assessment

Multi-Perspective Analysis (3+ sub-agents):

  • When the request involves multiple areas, components, or technical domains
  • When comprehensive understanding requires different analytical perspectives
  • For tasks requiring careful dependency mapping and impact assessment
  • Scale the number of agents based on actual complexity, not predetermined patterns

Step 2: Autonomous Sub-Agent Design

For Sub-Agent Approach:

You have complete freedom to design sub-agent tasks based on:

  • Project structure discovered from the auto-loaded /docs/ai-context/project-structure.md file tree
  • Documentation architecture from the auto-loaded /docs/ai-context/docs-overview.md
  • Specific user request requirements
  • Your assessment of what investigation approach would be most effective

CRITICAL: When using sub-agents, always launch them in parallel using a single message with multiple Task tool invocations. Never launch sequentially.

Read the full file on GitHub · 139 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. yesterday First seen · 139 lines · 0 tokens per session scan A a8462d4f2a16

Subscribe to this mod's changes

full-context is a command published in the GitHub repository nmime/motiv-buy (0 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,488 tokens. 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-09-04.