agent-context-kit copilot-instructions.md

Repository instructions for coding assistants, including project rules, development commands, workflows, and team roles.

In plain words
What is it for?
Use it to guide feature work, bug fixes, reviews, deployments, type checks, linting, tests, and synchronization of generated AI files.
Why use it?
It gives an assistant a shared way to work in the codebase and lists the checks required after changes.

Instructions file for GitHub Copilot

Install

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.

agentmods
npx agentmods add instructions/marcecandil/agent-context-kit/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/MarceCandil/agent-context-kit

Made for: GitHub Copilot.

Per session 2,208 This file is loaded in full into every session.
When invoked 2,208 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02208 $0.02208
Opus 5 $0.01104 $0.01104
Sonnet 5 $0.00442 $0.00442
Haiku 4.5 $0.00221 $0.00221

Measured 2d ago against content hash 0ab0375d9d9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-context-kit copilot-instructions.md 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 2d 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.

.github/copilot-instructions.md · 332 lines

How it starts

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

Copilot Instructions


AGENTS

AGENTS.md

How to work in this repo (required)

  • Read ai/AI.md and ai/constitution.md first.
  • If any requirement is unclear, ask for clarification or inspect the codebase. Do not guess.
  • Prefer small, reviewable diffs. Keep changes scoped.

Commands (edit to match your project)

  • Install: pnpm install
  • Dev: pnpm dev
  • Typecheck: pnpm typecheck
  • Tests: pnpm test
  • Lint: pnpm lint
  • Sync AI files: pnpm sync:ai

Verification (run after changes)

After making changes, verify your work:

  1. pnpm typecheck — must pass
  2. pnpm lint — must pass
  3. pnpm test — must pass
  4. pnpm sync:ai && git diff --exit-code — generated files must stay in sync

Workflows (Windsurf/Cascade or manual)

  • Feature: ai/workflows/feature-dev.md
  • Bugfix: ai/workflows/bug-fix.md
  • PR Review: ai/workflows/pr-review.md
  • Deploy: ai/workflows/deploy.md

Roles

  • Tech Lead: ai/roles/tech-lead.md
  • Dev: ai/roles/dev.md
  • QA: ai/roles/qa.md
  • DevOps: ai/roles/devops.md

AI Map

AI Hub (Project Map)

This repository uses a small “role + workflow” operating model.

Non-negotiables

  • Follow ai/constitution.md (quality, safety, repo conventions).
  • If you are uncertain, stop and ask. Do not invent requirements.
  • Prefer minimal diffs and incremental steps.

Repo essentials

  • Project commands/setup: AGENTS.md
  • Reusable skills/knowledge: ai/skills/*
  • Native Windsurf skills: .windsurf/skills/ (SKILL.md format)

How to run work

Choose a workflow:

  • Feature work: ai/workflows/feature-dev.md
  • Bug fix: ai/workflows/bug-fix.md
  • PR review: ai/workflows/pr-review.md
  • Deploy/release: ai/workflows/deploy.md

Choose a role (to frame how you think):

  • Tech Lead: ai/roles/tech-lead.md
  • Dev: ai/roles/dev.md
  • QA: ai/roles/qa.md
  • DevOps: ai/roles/devops.md

What to do first in any task

  1. Restate goal + constraints
  2. Identify files/modules to touch
  3. Draft a plan (3–8 steps)
  4. Execute step-by-step, verifying with commands/tests

Read the full file on GitHub · 332 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. 2d ago First seen · 332 lines · 2,208 tokens per session scan A 0ab0375d9d9d

Subscribe to this mod's changes

agent-context-kit copilot-instructions.md is an instructions file published in the GitHub repository MarceCandil/agent-context-kit (2 stars, last pushed 7mo ago), licensed MIT. It adds 2,208 tokens to every session, about $0.0110 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.