claude-context-os: Command for Claude Code

.claude/commands/process-doc.md

process-doc is a command for Claude Code from Arkya-AI/claude-context-os. It costs 0 tokens per session (186 once invoked), scanned A, original, MIT.

A document-processing command that turns an input file into a structured summary using a predefined template.

In plain words
What is it for?
Use it to create source summaries for project documents and record what is clear, missing or still needs follow-up.
Why use it?
It reduces the work of finding exact figures, decisions, conditions and unresolved questions in a document, while keeping the original file organised in an archive.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is Arkya-AI/claude-context-os's own configuration. It tells Claude Code how to work on claude-context-os 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 claude-context-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Arkya-AI/claude-context-os. 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/Arkya-AI/claude-context-os/main/.claude/commands/process-doc.md
Clone the repo
git clone --depth 1 https://github.com/Arkya-AI/claude-context-os

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 process-doc

README.md
[![agentmods](https://agentmods.dev/badge/commands/arkya-ai/claude-context-os/process-doc/github.svg)](https://agentmods.dev/commands/arkya-ai/claude-context-os/process-doc)
Your own site
<a href="https://agentmods.dev/commands/arkya-ai/claude-context-os/process-doc"><img src="https://agentmods.dev/badge/commands/arkya-ai/claude-context-os/process-doc/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 process-doc

Your own site · 80×15
<a href="https://agentmods.dev/commands/arkya-ai/claude-context-os/process-doc"><img src="https://agentmods.dev/badge/commands/arkya-ai/claude-context-os/process-doc.svg" alt="Reviewed on agentmods" width="80" 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 186 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.00000 $0.00186
Opus 5.5 $0.00000 $0.00074
Sonnet 5.5 $0.00000 $0.00037
Haiku 4.5 $0.00000 $0.00019

Measured 1mo ago against content hash 31a1ac33e757, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

process-doc 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 1mo 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/commands/process-doc.md · 14 lines

What it actually says

Process an input document into a structured source summary.

Steps:

  1. Read templates/claude-templates.md and find the Source Document Summary template (Template 1). Use the Light Source Summary if this is a small project (under 5 sessions), Full Source Summary otherwise.
  2. Read the document at: $ARGUMENTS
  3. Extract all information into the template format. Pay special attention to:
    • EXACT numbers — do not round or paraphrase
    • Requirements in IF/THEN/BUT/EXCEPT format
    • Decisions with rationale and rejected alternatives
    • Open questions marked as OPEN, ASSUMED, or MISSING
  4. Write the summary to ./docs/summaries/source-[filename].md.
  5. Move the original document to ./docs/archive/.
  6. Tell me: what was extracted, what's unclear, and what needs follow-up.
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. 1mo ago First seen · 14 lines · 0 tokens per session scan A 31a1ac33e757

Subscribe to this mod's changes

process-doc is a command published in the GitHub repository Arkya-AI/claude-context-os (295 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 186 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-08-30.

Related

Other commands, from other repositories

telegram-to-notebook

A command that imports a Telegram chat export into NotebookLM, Google's tool for asking questions about uploaded sources. It can organize forum chats by discussion topic and keep text, code, PDFs, and documents while filtering media such as stickers and GIFs.

CreatmanCEO/notebooklm-claude-workflows · 0 tokens

spreadsheet-audit

Perform a 6-step audit of an Excel spreadsheet for formula correctness, formatting consistency, data integrity, boss-auditable simplicity, and spec compliance. Uses the excel-screenshot MCP server tools — no Excel installation required.

intellegix/intellegix-code-agent-toolkit · 0 tokens

orchestrate

Do this task as an orchestrator. The aim is the same result at a fraction of the cost: in a long session, every token in this conversation is re-read on each later request, while a subagent's reading is discarded when it returns. The plugin's subagents run on Haiku 5.5, about 40× cheaper per token than Opus 5.5.

egorfedorov/claude-context-optimizer · 0 tokens

sonarqube

Analyze SonarCloud quality issues for a specific PR.

FlorianBruniaux/claude-code-plugins · 14 tokens

execute

Execute the next available tracked task with TDD, pre-commit validation, PR creation, AI code review, and issue tracker bridge sync.

skullninja/coco-workflow · 28 tokens

plan-start

5-phase planning command: PRD analysis, design review, technical decisions, dynamic research team, metrics. Produces a complete implementation plan + ADRs before any code is written.

FlorianBruniaux/claude-code-plugins · 39 tokens