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 agentmods add skills/varutasu/agent-pipeline/bootstrap-agent-contextnpx skills add varutasu/agent-pipeline --skill bootstrap-agent-contextgit clone --depth 1 https://github.com/varutasu/agent-pipelineWrote 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/varutasu/agent-pipeline/bootstrap-agent-context)<a href="https://agentmods.dev/skills/varutasu/agent-pipeline/bootstrap-agent-context"><img src="https://agentmods.dev/badge/skills/varutasu/agent-pipeline/bootstrap-agent-context.svg" alt="Measured on agentmods" 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 | $0.00262 | $0.11236 |
| Opus 5 | $0.00131 | $0.05618 |
| Sonnet 5 | $0.00052 | $0.02247 |
| Haiku 4.5 | $0.00026 | $0.01124 |
Grade A, and why
bootstrap-agent-context 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 4d 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 — 637 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bootstrap Agent Context
Drafts a three-layer system so AI agents can orient and execute consistently across repos. Never commits, never pushes, never auto-runs roles. Every artifact is a draft for the user.
The three layers
| Layer | What it ships | Always loaded? | Per-repo? |
|---|---|---|---|
| L1 — Context | AGENTS.md, .cursor/rules/, .cursor/skills/, schema map |
Yes (rules are glob-scoped) | Yes |
| L2 — Roles | 9 .cursor/agents/role-*.md files defining the pipeline subagents |
Loaded on invocation | Yes |
| L3 — Pipeline | CI workflows, PR template, CODEOWNERS, .convoys/ folder, optional flag wrapper, optional worktree helper |
Repo infra; runs on PRs | Yes (stack-specific) |
L1 stands alone (validated -53% conversation tokens in colab). L2 stands alone (you can run roles manually with no CI). L3 stands alone (you can run CI without roles). Together they form the idea-to-feature pipeline.
Hard rules
- Never overwrite an existing file blindly. Always read first, propose a diff, and ask before replacing.
- Never commit, push, or run
git add. Stop after files are written so the user can review the diff. - Templates are starting points. Tailor them to the repo. If a template doesn't fit, omit or rewrite it.
- Line budgets (each line must pass: "would removing this cause a mistake the agent wouldn't otherwise make?"):
AGENTS.md≤120 lines- Always-apply rules (
alwaysApply: true): ≤80 lines per file AND ≤80 lines combined across all always-apply rules - Glob-scoped rules: ≤120 lines per file (these only load when matching files are open, so they cost less; spend the headroom on documenting coexisting patterns honestly)
- Each L2 role file: ≤100 lines
- Each skill: ≤200 lines
- Going over budget is allowed when justified (e.g. documenting two coexisting patterns that the agent will keep mixing up otherwise) — call it out in the hand-off so the user can choose to tighten
- Never auto-spawn other roles. L2 roles hand off by message to the user, not by invoking siblings. Human gates are non-negotiable.
What ships with it
60 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.
- templates/L1-context/agent-context-manifest.yml.template 1.6 KB
- templates/L1-context/agent-context-readme.md.template 2.6 KB
- templates/L1-context/AGENTS.md.template 3.3 KB
- templates/L1-context/api-routes.mdc.template 1.8 KB
- templates/L1-context/auth-patterns.mdc.template 1.6 KB
- templates/L1-context/convoy-planning.mdc.template 1.5 KB
- templates/L1-context/generate-schema-map.ts 11 KB runs code
- templates/L1-context/model-routing.mdc.template 1.9 KB
- templates/L1-context/no-go-zones.mdc 2.2 KB
- templates/L1-context/prisma-schema-map.mdc.template 1.7 KB
- templates/L1-context/prisma.mdc.template 1.8 KB
- templates/L1-context/security-baseline.mdc.template 1.6 KB
- templates/L1-context/validation.md.template 2.8 KB
- templates/L2-roles/role-a11y-auditor.md 3.9 KB
- templates/L2-roles/role-architect.md 11 KB
- templates/L2-roles/role-conductor.md 7.7 KB
- templates/L2-roles/role-design-system-auditor.md 4.6 KB
- templates/L2-roles/role-doc-writer.md 4.4 KB
- templates/L2-roles/role-ia-architect.md 3.0 KB
- templates/L2-roles/role-implementer.md 8.6 KB
- templates/L2-roles/role-reviewer.md 5.0 KB
- templates/L2-roles/role-security-auditor.md 3.0 KB
- templates/L2-roles/role-ui-designer.md 3.7 KB
- templates/L2-roles/role-ux-reviewer.md 5.1 KB
- templates/L3-pipeline/_common/agent-context-drift.yml.template 6.6 KB
- templates/L3-pipeline/_common/convoy-metrics-gate.yml.template 4.4 KB
- templates/L3-pipeline/_common/convoys-readme.md.template 5.5 KB
- templates/L3-pipeline/_common/forbidden-patterns.yml.template 2.4 KB
- templates/L3-pipeline/_common/log-convoy-event.sh 4.3 KB runs code
- templates/L3-pipeline/_common/npm-audit-gate.yml.template 1.4 KB
- templates/L3-pipeline/_common/pre-push-gh-account.sh.template 2.1 KB
- templates/L3-pipeline/_common/PULL_REQUEST_TEMPLATE.md.template 1.5 KB
- templates/L3-pipeline/_common/wt.sh 1.3 KB runs code
- templates/L3-pipeline/nextjs-prisma-cloudbuild/cloudbuild-ci.yaml.template 4.2 KB
- templates/L3-pipeline/nextjs-prisma-cloudbuild/CODEOWNERS.template 1.6 KB
- templates/L3-pipeline/nextjs-prisma-cloudbuild/flags-index.ts.template 2.5 KB
- templates/L3-pipeline/nextjs-prisma-cloudbuild/pr-health-rollup.yml.template 4.7 KB
- templates/L3-pipeline/nextjs-prisma-cloudbuild/README.md 5.2 KB
- templates/L3-pipeline/nextjs-prisma-coolify/ci.yml.template 2.9 KB
- templates/L3-pipeline/nextjs-prisma-coolify/CODEOWNERS.template 1.6 KB
- templates/L3-pipeline/nextjs-prisma-coolify/flags-index.ts.template 2.5 KB
- templates/L3-pipeline/nextjs-prisma-coolify/playwright-smoke.spec.ts.template 1.2 KB
- templates/L3-pipeline/nextjs-prisma-coolify/pr-health-rollup.yml.template 4.7 KB
- templates/L3-pipeline/nextjs-prisma-coolify/README.md 4.1 KB
- templates/L3-pipeline/nextjs-prisma-vercel/ci.yml.template 2.9 KB
- templates/L3-pipeline/nextjs-prisma-vercel/CODEOWNERS.template 1.6 KB
- templates/L3-pipeline/nextjs-prisma-vercel/flags-index.ts.template 2.5 KB
- templates/L3-pipeline/nextjs-prisma-vercel/playwright-smoke.spec.ts.template 1.2 KB
- templates/L3-pipeline/nextjs-prisma-vercel/pr-health-rollup.yml.template 5.0 KB
- templates/L3-pipeline/nextjs-prisma-vercel/preview-smoke.yml.template 2.5 KB
- templates/L3-pipeline/nextjs-prisma-vercel/README.md 4.3 KB
- templates/L3-pipeline/nextjs-prisma-vercel/visual-diff.yml.template 2.7 KB
- templates/L3-pipeline/nextjs-prisma/ci.yml.template 2.5 KB
- templates/L3-pipeline/nextjs-prisma/CODEOWNERS.template 1.6 KB
- templates/L3-pipeline/nextjs-prisma/flags-index.ts.template 2.5 KB
- templates/L3-pipeline/nextjs-prisma/playwright-smoke.spec.ts.template 1.2 KB
- templates/L3-pipeline/nextjs-prisma/pr-health-rollup.yml.template 4.3 KB
- templates/L3-pipeline/nextjs-prisma/preview-smoke.yml.template 2.5 KB
- templates/L3-pipeline/nextjs-prisma/README.md 2.6 KB
- templates/L3-pipeline/nextjs-prisma/visual-diff.yml.template 2.6 KB
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.
- 4d ago First seen · 637 lines · 262 tokens per session scan A fee783ecd7f4
bootstrap-agent-context is a skill published in the GitHub repository varutasu/agent-pipeline (2 stars, last pushed 26d ago), licensed MIT. It adds 262 tokens to every session and 11,236 once invoked, about $0.0013 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-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…