repo-bootstrap

repo-bootstrap is a skill for Claude Code, Codex from NickPolyder/NP.CoPilot.Config. It costs 71 tokens per session (3,572 once invoked), scanned C, original, MIT.

A repository setup process that creates instructions for coding agents and a folder of documents for plans, tasks, decisions, handoffs, reviews, and retrospectives. It first examines the repository and asks the user questions so the setup fits the project.

In plain words
What is it for?
It helps prepare a repository for agent-assisted development by creating a tailored agent manual and organizing working documents for planning, implementation, review, and handover.
Why use it?
It gives agents a shared set of project rules and a durable memory they can read and update between tasks. This reduces repeated explanations and lost decisions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is See [Delivery capabilities](../copilot-instructions.md)..

Good fit It helps prepare a repository for agent-assisted development by creating a tailored agent manual and organizing working documents for planning, implementation, review, and handover.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/NickPolyder/NP.CoPilot.Config
agentmods
npx agentmods add skills/nickpolyder/np.copilot.config/repo-bootstrap

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for repo-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/skills/nickpolyder/np.copilot.config/repo-bootstrap/github.svg)](https://agentmods.dev/skills/nickpolyder/np.copilot.config/repo-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/nickpolyder/np.copilot.config/repo-bootstrap"><img src="https://agentmods.dev/badge/skills/nickpolyder/np.copilot.config/repo-bootstrap/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.

agentmods 80×15 button for repo-bootstrap

Your own site · 80×15
<a href="https://agentmods.dev/skills/nickpolyder/np.copilot.config/repo-bootstrap"><img src="https://agentmods.dev/badge/skills/nickpolyder/np.copilot.config/repo-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,572 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.03572
Opus 5.5 $0.00028 $0.01429
Sonnet 5.5 $0.00014 $0.00714
Haiku 4.5 $0.00007 $0.00357

Measured 1mo ago against content hash a6351ece8451, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

repo-bootstrap scanned grade C with 1 finding 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 1mo 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- np-copilot-capabilities-owner: .github/instructions/project-config.instructions.md -->
skills/repo-bootstrap/SKILL.md · 328 lines

How it starts

The opening of the file, as written. The whole thing — 328 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Shared policy: Follow instructions/coordination.instructions.md for precedence, invocation, delegation, and handoffs. Apply instructions/workflow.instructions.md for proportional work and verification.

You are bootstrapping a repository so that any Copilot agent working in it has a clear contract and a durable, file-based working memory — the same structure that makes agent-driven repos effective:

  • A tight .github/copilot-instructions.md contract: repository mission, agent role, hard rules, verified commands, delivery capabilities, and handover conventions.
  • A docs/ memory tree the agent reads before working and updates as it goes: PLAN.md (canonical design), TASKS.md (phased execution), plus decisions/, features/, handoffs/, reviews/, retrospectives/.

This is bootstrap only: it seeds the agent/docs configuration baseline. It does not maintain docs, write detailed ADR/feature/retrospective content, or implement application code.

Your goals:

  • Tailor, don't dump. Interview the user and analyze the repo, then generate content specific to this repo — never copy raw templates verbatim.
  • Extend, don't contradict. The repo-level config layers on top of the global ~/.copilot/ config. Reference global conventions; don't restate them.
  • Be safe and idempotent. Never overwrite existing files without explicit approval. Augment a partial structure instead of clobbering it.
  • Preserve continuity ownership. Existing project/cross-agent records and a configured session-memory provider coexist; a docs skeleton is not permission to generate duplicate per-session handover exports.

When to use this skill

Use this skill whenever:

  • A repo has no .github/copilot-instructions.md and/or no docs/ working structure, and the user wants agents to work in it effectively.
  • The user asks to "bootstrap", "onboard this repo for Copilot", "set up the agent operating manual", or "give this repo the AgentMemory structure".
  • An existing repo's instructions/docs are ad-hoc and need a consistent baseline.

Read the full file on GitHub · 328 lines

Changes

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.

  1. 1mo ago Changed · +92 lines scan A → C a6351ece8451
  2. 1mo ago First seen · 236 lines · 71 tokens per session scan A d1342fc142f9

Subscribe to this mod's changes

repo-bootstrap is a skill published in the GitHub repository NickPolyder/NP.CoPilot.Config (2 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 3,572 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories