docs-profile

docs-profile is a command for Claude Code from ihudak/ihudak-claude-plugins. It costs 99 tokens per session (10,249 once invoked), scanned A, original, MIT.

A command that scans a documentation repository and creates or refreshes a machine-readable profile describing its content areas and development commands. A repository is a project folder managed with version control.

In plain words
What is it for?
Use it to profile one or more documentation areas, including their content roots, local servers, linting, build, formatting, templates, and links, then prepare the changes as a reviewable pull request.
Why use it?
It gives other documentation workflows reliable information about where content lives and how to build, check, or format it.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the docs-workflows plugin — 1 skill, 6 commands, 11 agents shipped together

Good fit Use it to profile one or more documentation areas, including their content roots, local servers, linting, build, formatting, templates, and links, then prepare the changes as a reviewable pull request.

Compare 6 commands from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add ihudak/ihudak-claude-plugins
Claude Code
/plugin install docs-workflows

Made for: Claude Code.

Or install docs-workflows, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 11 agents.

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 docs-profile

README.md
[![agentmods](https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/docs-profile/github.svg)](https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/docs-profile)
Your own site
<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.

agentmods 80×15 button for docs-profile

Your own site · 80×15
<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>
Per session 99 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 10,249 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.00099 $0.10249
Opus 5.5 $0.00040 $0.04100
Sonnet 5.5 $0.00020 $0.02050
Haiku 4.5 $0.00010 $0.01025

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

Security

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.

plugins/docs-workflows/commands/docs-profile.md · 288 lines

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

  1. Resolve the repo path. Strip a --inline token (in any position) from $ARGUMENTS before reading a positional token — it is the inline-mode flag, never a path; record inline = true when present. Execute resolve-docs-repo from ${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>.

  2. Validate it is a writeable git work tree:

    • git -C <repo> rev-parse --is-inside-work-tree must print true. 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.yml even 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 = true and git -C <repo-root> rev-parse --verify --quiet refs/heads/dev-workflows/docs-profile-bootstrap exits 0, an earlier inline run left that branch — one that stopped after profiling — and this run never switches onto it: /document would 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:

Read the full file on GitHub · 288 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. 2mo ago Changed 8fe6f192f8e5
  2. 2mo ago Changed · +27 lines 32be7a44097a
  3. 2mo ago Changed · +2 lines fd425da3b273
  4. 2mo ago Changed 34c9bd436aed
  5. 3mo ago First seen · 259 lines · 99 tokens per session scan A 852b75ede139

Subscribe to this mod's changes

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.

Related

docs-profile compared with commands from other repositories

docs-profile next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-profileihudak/ihudak-claude-pluginsCommand22mo agoMITA99Claude Code
memorizelucasrosati/claude-code-memory-setupCommand1.1kyesterdayMITA0Claude Code
opsfrankxai/agentic-creator-osCommand14todayApache-2.0A35Claude Code
commitjoaquimscosta/arkhe-claude-pluginsCommand241mo agoMITA11Claude Code
gws-peoplefakoli/fakoli-pluginsCommand43d agoMITA9Claude Code
package-reviewoborchers/fractional-ctoCommand391mo agoMITA41Claude Code
searchcoltonbearden/carrelCommand28d agoMITA29Claude Code