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 bengous/claude-code-plugins/plugin install repo-bootstrapWrote 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/bengous/claude-code-plugins/submodule-setup)<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/submodule-setup"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/submodule-setup/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/bengous/claude-code-plugins/submodule-setup"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/submodule-setup.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.01117 |
| Opus 5.5 | $0.00026 | $0.00447 |
| Sonnet 5.5 | $0.00013 | $0.00223 |
| Haiku 4.5 | $0.00007 | $0.00112 |
Grade A, and why
submodule-setup 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 7d 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Submodule Setup
Result:
parent-repo/
├── src/
├── docs/ <- submodule (always present)
└── exports/ <- submodule (always present)
Reference material
This skill is phase-driven and the phase bodies are long. Load what the current step needs rather than reading everything up front:
| File | Read it when |
|---|---|
references/phases.md |
Running any phase — full bodies for Phases 0-10 and Finalization |
references/protocols.md |
You need the manual-intervention handoff format, state-file schema, or default escalation rules |
references/troubleshooting.md |
A phase fails or a submodule misbehaves |
references/decision-rationale.md |
The user asks why submodules over alternatives |
Templates live in assets/, helper scripts in scripts/, both under this skill's
base directory; references/phases.md names it <skill>.
Prerequisites
"${CLAUDE_PLUGIN_ROOT}/skills/submodule-setup/scripts/validate-prerequisites.sh"
Required:
- GitHub CLI (
gh) installed and authenticated - Git 2.x+
- Repository with push access
- Ability to create fine-grained PAT
- The secret-pane plugin loaded (
/plugin marketplace add bengous/claude-code-plugins#main, then/plugin install secret-pane@bengous-plugins): Phase 3 collects the PAT through its masked box, never through the chat
Phase 0: Backup → Phase 1: Parameters → Phase 2: Create Repos → Phase 3: PAT/Secrets
↓
Phase 10: Validate ← Phase 9: Docs ← Phase 8: Hooks ← Phase 7: Scripts ← Phase 6: Actions
↑
Phase 5: Add Submodules ← Phase 4: Migrate (conditional)
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/notify-dependent.yml 1.9 KB
- assets/notify-parent.yml 1.6 KB
- assets/README-template.md 1.5 KB
- assets/update-submodules-push.yml 3.5 KB
- assets/update-submodules.yml 2.4 KB
- references/decision-rationale.md 8.1 KB
- references/phases.md 26 KB
- references/protocols.md 3.9 KB
- references/troubleshooting.md 9.9 KB
- scripts/check-nested-repos.sh 4.2 KB runs code
- scripts/create-backup.sh 4.9 KB runs code
- scripts/setup-dev.sh 7.8 KB runs code
- scripts/test-scripts.sh 4.7 KB runs code
- scripts/validate-prerequisites.sh 4.8 KB runs code
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.
- 7d ago Changed 47c01d0e1349
- 1mo ago Changed · +1 lines 287b69461cfd
- 2mo ago Changed · -5 lines 1fec7870ea82
- 2mo ago Changed · +1 lines e637dc56381c
- 2mo ago First seen · 121 lines · 66 tokens per session scan A 6b10bbf7c5f7
submodule-setup is a skill published in the GitHub repository bengous/claude-code-plugins (6 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 1,117 once invoked, about $0.0003 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-09-03.
submodule-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| submodule-setupbengous/claude-code-plugins | Skill | 6 | today | MIT | A | 66 | Claude Code |
| flow-next-landgmickel/flow-next | Skill | 735 | yesterday | MIT | A | 35 | Claude Code, Codex |
| flow-next-worktree-kitgmickel/flow-next | Skill | 735 | yesterday | MIT | A | 43 | Claude Code, Codex |
| development-workflowathola/claude-night-market | Skill | 358 | today | MIT | A | 20 | Claude Code |
| stepwise-task-executionmakifbaysal/tasktrooper | Skill | 123 | yesterday | Apache-2.0 | A | 33 | Claude Code, Codex |
| retroRune-kit/rune | Skill | 96 | yesterday | MIT | A | 57 | Claude Code |
| github-clizhinjs/zhin | Skill | 136 | today | MIT | A | 30 | Claude Code, Codex |