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 Senavictors/bootstrap-agent-architecture-plugin --skill bootstrap-install-hookgit clone --depth 1 https://github.com/Senavictors/bootstrap-agent-architecture-pluginWrote 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/senavictors/bootstrap-agent-architecture-plugin/bootstrap-install-hook)<a href="https://agentmods.dev/skills/senavictors/bootstrap-agent-architecture-plugin/bootstrap-install-hook"><img src="https://agentmods.dev/badge/skills/senavictors/bootstrap-agent-architecture-plugin/bootstrap-install-hook/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/senavictors/bootstrap-agent-architecture-plugin/bootstrap-install-hook"><img src="https://agentmods.dev/badge/skills/senavictors/bootstrap-agent-architecture-plugin/bootstrap-install-hook.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.00138 | $0.01046 |
| Opus 5.5 | $0.00055 | $0.00418 |
| Sonnet 5.5 | $0.00028 | $0.00209 |
| Haiku 4.5 | $0.00014 | $0.00105 |
Grade A, and why
bootstrap-install-hook 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 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.
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 — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.
bootstrap-install-hook — guardrail anti-vazamento como hook de git real
Diferença central em relação ao guardrail de bootstrap-audit: aquele só bloqueia um commit/handoff que o próprio agente executa dentro da conversa. Este hook roda para qualquer git commit, inclusive um rodado manualmente pelo usuário num terminal separado, fora de qualquer sessão de IA. É por isso que é opt-in — mexe em .git/hooks/, que fica fora do que esta arquitetura normalmente toca.
Antes de instalar — avise o usuário sobre as limitações
Diga isso explicitamente antes de instalar, não depois:
.git/hooks/nunca é versionado pelo Git — mesmo que o script de lógica (.agents/scripts/pre-commit-guardrail.sh) seja commitado e chegue a outro desenvolvedor viagit clone, o hook em si (.git/hooks/pre-commit) não é ativado automaticamente nessa cópia nova. Cada pessoa que clonar o repositório precisa rodar esta skill (ou o passo manual equivalente) uma vez, na própria máquina.- É um filtro por padrões conhecidos via
grep(chave AWS, cabeçalho de chave privada,secret/token/password/api keyatribuídos) — não é uma solução completa de detecção de segredo. Falso negativo é possível para um segredo que não bate nenhum desses padrões; falso positivo é possível (raro, testado contra os casos comuns antes de entregar). git commit --no-verifysempre pula qualquer hook — isso é um comportamento do Git, não uma falha desta implementação. Documente isso para o usuário para que ele saiba que o hook não é uma garantia absoluta.
Procedimento
- Verifique se já existe um hook
pre-commitem.git/hooks/pre-commitno repositório do usuário.- Se não existir: crie
.agents/scripts/pre-commit-guardrail.sh(copiandoassets/pre-commit-guardrail.shdesta skill), dê permissão de execução (chmod +x), e crie.git/hooks/pre-commitcom um shim mínimo:
Dê permissão de execução também no shim.#!/usr/bin/env sh exec .agents/scripts/pre-commit-guardrail.sh - Se já existir (ex.: Husky, ou outro hook do próprio usuário): não sobrescreva. Copie
assets/pre-commit-guardrail.shpara.agents/scripts/pre-commit-guardrail.shmesmo assim, mas mostre ao usuário a linha exata que ele precisa adicionar ao hook existente (.agents/scripts/pre-commit-guardrail.sh || exit 1) e pergunte se quer que você edite o arquivo existente ou prefere fazer isso manualmente.
- Se não existir: crie
What ships with it
1 file 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.
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 · 38 lines · 138 tokens per session scan A a025c1363245
bootstrap-install-hook is a skill published in the GitHub repository Senavictors/bootstrap-agent-architecture-plugin (5 stars, last pushed 3mo ago), licensed MIT. It adds 138 tokens to every session and 1,046 once invoked, about $0.0006 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.
bootstrap-install-hook compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bootstrap-install-hookSenavictors/bootstrap-agent-architecture-plugin | Skill | 5 | 3mo ago | MIT | A | 138 | Claude Code |
| commit-messagexobotyi/cc-foundry | Skill | 23 | today | MIT | A | 23 | Claude Code |
| codingxobotyi/cc-foundry | Skill | 23 | today | MIT | B | 26 | Claude Code |
| autofix-prQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 142 | Claude Code |
| ax-extract-workflowsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 35 | Claude Code |
| work-unit-commitsGentleman-Programming/gentle-ai | Skill | 9.7k | yesterday | MIT | A | 31 | Claude Code, Codex |
| review-deltatirth8205/code-review-graph | Skill | 33k | 15d ago | MIT | A | 24 | Claude Code |