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.
git clone --depth 1 https://github.com/b33eep/claude-code-setupWrote 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/b33eep/claude-code-setup/add-custom)<a href="https://agentmods.dev/commands/b33eep/claude-code-setup/add-custom"><img src="https://agentmods.dev/badge/commands/b33eep/claude-code-setup/add-custom/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/b33eep/claude-code-setup/add-custom"><img src="https://agentmods.dev/badge/commands/b33eep/claude-code-setup/add-custom.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.00000 | $0.00783 |
| Opus 5.5 | $0.00000 | $0.00313 |
| Sonnet 5.5 | $0.00000 | $0.00157 |
| Haiku 4.5 | $0.00000 | $0.00078 |
Grade D, and why
add-custom scanned grade D with 2 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 3mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
version=$(cat ~/.claude/custom/VERSION 2>/dev/null || echo "0") Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf ~/.claude/custom How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Custom Modules
Add a custom module repository (company or personal) to claude-code-setup.
Usage
/add-custom <git-url>
Tasks
-
Validate URL format
- Accept:
git@...orhttps://... - Reject: plain
http://(insecure) - If invalid, show error and expected formats
- Accept:
-
Check if ~/.claude/custom already exists
- If exists and is a git repo:
- Get current remote:
git -C ~/.claude/custom remote get-url origin - If same URL: skip clone, run
git pullinstead - If different URL: warn and abort
- Get current remote:
- If exists but NOT a git repo: warn and abort
- If doesn't exist: proceed with clone
- If exists and is a git repo:
-
Clone repository
git clone <url> ~/.claude/custom -
Read VERSION and update installed.json
- Read
~/.claude/custom/VERSION(if exists) - Update
~/.claude/installed.json:# Only if VERSION exists and installed.json exists if [[ -f ~/.claude/custom/VERSION ]] && [[ -f ~/.claude/installed.json ]]; then version=$(cat ~/.claude/custom/VERSION 2>/dev/null || echo "0") jq --arg v "$version" --arg u "<url>" \ '.custom_version = ($v | tonumber) | .custom_url = $u' \ ~/.claude/installed.json > tmp && mv tmp ~/.claude/installed.json fi - If VERSION doesn't exist, skip (legacy custom repo without versioning)
- Read
-
Show available modules
- Count skills in
~/.claude/custom/skills/ - Count MCP servers in
~/.claude/custom/mcp/ - Display: "Found X skills, Y MCP servers"
- Display: "Custom version: vX" (if VERSION exists)
- Count skills in
-
Hint next step
- "Run /claude-code-setup to select and install modules"
Output
Success (new clone):
Cloned custom modules from <url>
Custom version: v1
Found:
- 3 skills
- 2 MCP servers
Run /claude-code-setup to select and install modules.
Success (existing, pulled):
Custom repo already configured. Pulled latest changes.
Custom version: v2 (was v1)
Found:
- 3 skills
- 2 MCP servers
Run /claude-code-setup to install new modules.
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.
- 3mo ago First seen · 122 lines · 0 tokens per session scan D 669e10b341d9
add-custom is a command published in the GitHub repository b33eep/claude-code-setup (58 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 783 tokens. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
add-custom compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-customb33eep/claude-code-setup | Command | 58 | 1mo ago | MIT | D | 0 | Claude Code |
| addressHigorAlves/orc | Command | 7 | 3d ago | MIT | A | 26 | Claude Code |
| releaseHigorAlves/orc | Command | 7 | 3d ago | MIT | A | 24 | Claude Code |
| startHigorAlves/orc | Command | 7 | 3d ago | MIT | A | 43 | Claude Code |
| ccc-forkKevinZai/commander | Command | 6 | today | MIT | A | 46 | Claude Code |
| ccc-multi-repoKevinZai/commander | Command | 6 | today | MIT | A | 48 | Claude Code |
| ccc-parallelKevinZai/commander | Command | 6 | today | MIT | A | 36 | Claude Code |