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.
npx skills add aiya000/dotfiles --skill apply-to-claude-md-home-rootgit clone --depth 1 https://github.com/aiya000/dotfilesWrote 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/skills/aiya000/dotfiles/apply-to-claude-md-home-root)<a href="https://agentmods.dev/skills/aiya000/dotfiles/apply-to-claude-md-home-root"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/apply-to-claude-md-home-root/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/skills/aiya000/dotfiles/apply-to-claude-md-home-root"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/apply-to-claude-md-home-root.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.00066 | $0.00571 |
| Opus 5 | $0.00033 | $0.00285 |
| Sonnet 5 | $0.00013 | $0.00114 |
| Haiku 4.5 | $0.00007 | $0.00057 |
Grade A, and why
apply-to-claude-md-home-root 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 5d 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.
What it actually says
apply-to-claude-md-home-root
Append durable, general-purpose information — not specific to any one project — to the user's global ~/.claude/CLAUDE.md.
Steps
-
Identify the information to add:
- If invoked with a specific excerpt (e.g. handed off from
apply-to-agents-md-git-root), use that - Otherwise, review the current conversation for information that is general-purpose (true across projects — e.g. a Claude Code / sandbox behavior, a tool quirk, a workflow or communication preference) and durable
- If nothing meets this bar, tell the user there's nothing worth recording globally and stop here
- If invoked with a specific excerpt (e.g. handed off from
-
Read
~/.claude/CLAUDE.md -
Secret scan the content before writing (see below)
-
Merge the new information into the most relevant existing section, or add a new section if none fits
- Keep it concise: the fact, and where non-obvious, why it matters
- Do not duplicate information already present
-
Write the updated file
-
Report to the user what was added and where
Secret Scan
Before writing, check the content for:
- API keys and tokens: strings starting with
ghp_,gho_,AKIA,sk-,xox, or matching-----BEGIN.*PRIVATE KEY - Variables with sensitive names holding a value: patterns like
API_KEY=,_SECRET=,_TOKEN=,PASSWORD= - Hardcoded absolute home paths:
/Users/<name>/or/home/<name>/(prefer~) - Personal or organizational proper nouns that could identify specific individuals or organizations
If any of the above are found, use AskUserQuestion to present:
- "Save as-is" — proceed despite the finding
- "Fix then save" — cancel so the user can fix it first
- "Cancel" — abort without writing
Only proceed if the user selects "Save as-is", or if nothing suspicious was found.
Does Not
- Add project-specific information — that belongs in the project's
AGENTS.mdinstead - Rewrite or reorganize unrelated existing sections
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.
- 5d ago First seen · 51 lines · 66 tokens per session scan A 5ee6a3f9c7f0
apply-to-claude-md-home-root is a skill published in the GitHub repository aiya000/dotfiles (19 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 571 once invoked, about $0.0003 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-09-06.
Other skills, from other repositories
restart__pull_request
A pull-request restart workflow for replacing a messy review with a new pull request containing one clean commit and a summary of the earlier discussion.
rescue__pull_request_review
An automated workflow for handling GitHub pull-request review comments, applying requested code changes, committing them, and pushing them back.
submit__pull_request
An automated pull-request submission workflow. A pull request is a request for a code change to be reviewed and merged; this workflow writes its explanation, creates it, watches its automated checks, and fixes failed checks.
write__pull_request
A workflow for writing a pull request description, the explanation attached to a proposed code change for review. It analyses the changes and commit history.
monitor__ci_status
An automated monitor for GitHub Actions, the service that runs checks such as tests after code changes. It watches all checks after a pull request or a push to a pull-request branch and can invoke a failure-recovery process.
monitor__pull_request_conflict
An automated check for GitHub pull requests, which are proposed code changes awaiting review or merging.