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 docs-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/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.
<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="Reviewed on agentmods" width="80" 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.10249 |
| Opus 5.5 | $0.00040 | $0.04100 |
| Sonnet 5.5 | $0.00020 | $0.02050 |
| Haiku 4.5 | $0.00010 | $0.01025 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Profile the documentation repository: $ARGUMENTS
Core references. A citation of the form workflows-core:<name> names a shared reference in the workflows-core plugin. Load it with Skill(skill: "workflows-core:reference", args: "<name>") — never by path: ${CLAUDE_PLUGIN_ROOT} resolves to this plugin, which does not carry it.
$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 0 step 2, Phase 4's "Keep existing, write nothing", 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, and a refresh whose changes the operator declines, or that finds nothing to change, writes nothing at all (Phase 4).
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. Strip a
--inlinetoken (in any position) from$ARGUMENTSbefore reading a positional token — it is the inline-mode flag, never a path; recordinline = truewhen present. Executeresolve-docs-repofrom${CLAUDE_PLUGIN_ROOT}/references/docs-workflow/repo-resolution.md§1 — the signal-positive form, since this command needs a docs repo that already exists, never one to create. Do not restate its ladder here; the entry point owns it. Report which rung answered, per its own hard rule — a command that quietly works in an unexpected directory is expensive to unpick afterwards. Record the resolved absolute path as<repo>. -
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 as
<repo-root>:git -C <repo> rev-parse --show-toplevel. It is the profile's one home (${CLAUDE_PLUGIN_ROOT}/references/docs-profiles/docs-profile-schema.md, Where the profile lives): this run reads and writes<repo-root>/.dev-workflows/docs-profile.ymleven where<repo>is a site below it, and all later detection and writes are relative to this root. - Inline mode: a leftover bootstrap branch stops the run here. Where
inline = trueandgit -C <repo-root> rev-parse --verify --quiet refs/heads/dev-workflows/docs-profile-bootstrapexits 0, an earlier inline run left that branch — one that stopped after profiling — and this run never switches onto it:/documentwould rename it into the docs branch, which would then fork where the leftover forked and lack every commit the base has gained since. It is tested now, before step 3's question, Phase 2's scan and Phase 3's Opus synthesis, because nothing any of them produces can let the run finish: the operator answers nothing and no synthesis is spent. Resolve<base>as Phase 5 step 2 does, and stop:
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.
- 2mo ago Changed 8fe6f192f8e5
- 2mo ago Changed · +27 lines 32be7a44097a
- 2mo ago Changed · +2 lines fd425da3b273
- 2mo ago Changed 34c9bd436aed
- 3mo 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 2mo ago), licensed MIT. It adds 99 tokens to every session and 10,249 once invoked, about $0.0004 per session on Opus 5.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.
docs-profile compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docs-profileihudak/ihudak-claude-plugins | Command | 2 | 2mo ago | MIT | A | 99 | Claude Code |
| memorizelucasrosati/claude-code-memory-setup | Command | 1.1k | yesterday | MIT | A | 0 | Claude Code |
| opsfrankxai/agentic-creator-os | Command | 14 | today | Apache-2.0 | A | 35 | Claude Code |
| commitjoaquimscosta/arkhe-claude-plugins | Command | 24 | 1mo ago | MIT | A | 11 | Claude Code |
| gws-peoplefakoli/fakoli-plugins | Command | 4 | 3d ago | MIT | A | 9 | Claude Code |
| package-reviewoborchers/fractional-cto | Command | 39 | 1mo ago | MIT | A | 41 | Claude Code |
| searchcoltonbearden/carrel | Command | 2 | 8d ago | MIT | A | 29 | Claude Code |