Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ihudak/ihudak-claude-plugins/plugin install dev-workflowsWrote 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.
[](https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/docs-profile)<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/docs-profile"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/docs-profile.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.05371 |
| Opus 5 | $0.00049 | $0.02686 |
| Sonnet 5 | $0.00020 | $0.01074 |
| Haiku 4.5 | $0.00010 | $0.00537 |
Grade A, and why
docs-profile 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.
How it starts
The opening of the file, as written. The whole thing — 259 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Profile the documentation repository: $ARGUMENTS
$ARGUMENTS is an optional repo path (default: the current working directory), optionally followed by --inline. The --inline token is passed when /document (keyed mode) invokes this flow inline (its Phase 0 case (c)); it switches this command to inline mode — see Phase 5 step 1, step 2, step 6, and Phase 6.
/docs-profile bootstraps or refreshes the machine-readable docs-profile that /document (keyed mode) consumes. It scans a documentation repository, synthesises a .dev-workflows/docs-profile.yml (and complementary CLAUDE.md guidance) that conforms to ${CLAUDE_PLUGIN_ROOT}/references/docs-profiles/docs-profile-schema.md, then writes the result as a reviewable PR — branch + commit + a drafted PR message. It never pushes or auto-merges.
The command is generic — it works on any docs repo. A repo publishing one documentation set gets a single spaces[] entry; a repo publishing several gets one entry per content root, plus the per-space dev-server and lint/build/format commands that go with them.
It does not re-specify changelog or owners rules. Those are owned by the docs-frontmatter skill (+ ${CLAUDE_PLUGIN_ROOT}/references/docs-profiles/changelog-guidelines.md, ${CLAUDE_PLUGIN_ROOT}/references/docs-profiles/default-owners.txt); the profile's frontmatter: fields are pointers only.
For one-off doc edits use direct mode; for keyed feature documentation use /document (keyed mode).
Phase 0 — Resolve and validate the target repo
-
Resolve the repo path. Take the first token of
$ARGUMENTSas the target path; if$ARGUMENTSis empty, default to the current working directory. Resolve it to an absolute path and record it as<repo>. Treat a--inlinetoken (in any position) as the inline-mode flag, not a path; recordinline = truewhen present. -
Validate it is a writeable git work tree:
git -C <repo> rev-parse --is-inside-work-treemust printtrue. If it errors or prints anything else, stop with the named error:NOT_A_GIT_WORKTREE: <repo> is not inside a git work tree.test -w <repo>must succeed. If not, stop with the named error:REPO_NOT_WRITEABLE: <repo> is not writeable.- Resolve and record the repo's git root:
git -C <repo> rev-parse --show-toplevel. All later detection and writes are relative to this root.
-
Detect docs-repo signals under the git root:
package.jsonwith any doc script (matching*:start,*:build,*:lint,docs:*,prettier),- a
.docstack/directory, - a
.vale.inifile, - any
*/_content/directory (e.g.cloud/_content,self-hosted/_content), - any
_snippets/directory.
If ≥ 1 signal is present → proceed silently to Phase 1. If 0 signals are present → ask before continuing:
"No documentation-repo signals detected under <repo> (checked: package.json doc scripts, .docstack/, .vale.ini, */_content/, _snippets/). Profile it anyway?" choices: ["Proceed — I confirm this is a docs repo (Recommended)", "Cancel — point me at a docs repo first"]Default = Proceed. On Cancel, stop and report.
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.
- today Changed 34c9bd436aed
- 5d ago First seen · 259 lines · 99 tokens per session scan A 852b75ede139
docs-profile is a command published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 5,371 once invoked, about $0.0005 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-31.
Other commands, from other repositories
battlecard
Create a sales-ready competitive battlecard — positioning, feature comparison, objection handling, and win strategies.
cloudflare-r2:presigned-url
Generate presigned URLs for secure client-side uploads or downloads.
sheet-report
Analyze a Numbers or Excel file and generate a report with charts.
pi-code-review
Adversarial code review via Codex — break confidence in changes, not validate them.
watch
You are executing the /hydra:watch command. Live monitoring of all background agents with real-time status updates.
infogenius
Research-First Image Generation - Facts → Visual Prompt → High-Quality Image.