create-docs

create-docs is a command for Claude Code from nmime/motiv-buy. It costs 0 tokens per session (3,011 once invoked), scanned A, original, MIT.

You are working on the current project. The user has requested to create or regenerate documentation with the arguments: "$ARGUMENTS".

Command for Claude Code

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/create-docs
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 create-docs

README.md
[![agentmods](https://agentmods.dev/badge/commands/nmime/motiv-buy/create-docs.svg)](https://agentmods.dev/commands/nmime/motiv-buy/create-docs)
Your own site
<a href="https://agentmods.dev/commands/nmime/motiv-buy/create-docs"><img src="https://agentmods.dev/badge/commands/nmime/motiv-buy/create-docs.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 3,011 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 $0.00000 $0.03011
Opus 5 $0.00000 $0.01505
Sonnet 5 $0.00000 $0.00602
Haiku 4.5 $0.00000 $0.00301

Measured today against content hash 533e592cd3b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-docs 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 today.

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/create-docs.md · 364 lines

How it starts

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

You are working on the current project. The user has requested to create or regenerate documentation with the arguments: "$ARGUMENTS"

Auto-Loaded Project Context:

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

CRITICAL: AI-Optimized Documentation Principles

All documentation must be optimized for AI consumption and future-proofing:

  • Structured & Concise: Use clear sections, lists, and hierarchies. Provide essential information only.
  • Contextually Complete: Include necessary context, decision rationale ("why"), and cross-references.
  • Pattern-Oriented: Make architectural patterns, conventions, and data flow explicit.
  • Modular & Scalable: Structure for partial updates and project growth.
  • Cross-references: Link related concepts with file paths, function names, and stable identifiers

Step 1: Analyze & Strategize

Using the auto-loaded project context, analyze the user's request and determine the optimal documentation strategy.

1.1. Parse Target & Assess Complexity

Action: Analyze $ARGUMENTS to identify the target_path and its documentation tier.

Target Classification:

  • Tier 3 (Feature-Specific): Paths containing /src/ and ending in /CONTEXT.md
  • Tier 2 (Component-Level): Paths ending in component root /CONTEXT.md

Complexity Assessment Criteria:

  • Codebase Size: File count and lines of code in target directory
  • Technology Mix: Diversity of languages and frameworks (Python, TypeScript, etc.)
  • Architectural Complexity: Dependency graph and cross-component imports
  • Existing Documentation: Presence and state of any CLAUDE.md files in the area

1.2. Select Strategy

Think deeply about this documentation generation task and strategy based on the auto-loaded project context. Based on the assessment, select and announce the strategy.

Strategy Logic:

  • Direct Creation: Simple targets (< 15 files, single tech, standard patterns)
  • Focused Analysis: Moderate complexity (15-75 files, 2-3 techs, some novel patterns)
  • Comprehensive Analysis: High complexity (> 75 files, 3+ techs, significant architectural depth)

Read the full file on GitHub · 364 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. today First seen · 364 lines · 0 tokens per session scan A 533e592cd3b0

Subscribe to this mod's changes

create-docs 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 3,011 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.