copilot-kit copilot-instructions.md

Instructions for an automatic orchestrator that chooses a small number of project skills based on the task's domain. It covers areas such as frontend work, APIs, databases, and debugging.

In plain words
What is it for?
Use it to classify a request, select up to three matching skills, and read only those files before carrying out the task.
Why use it?
Reading only relevant guidance keeps the agent's working context focused and avoids loading many unrelated instruction files.

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/ivanshtokov/copilot-kit/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/ivanshtokov/copilot-kit

Made for: GitHub Copilot.

Per session 2,981 This file is loaded in full into every session.
When invoked 2,981 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.02981 $0.02981
Opus 5 $0.01491 $0.01491
Sonnet 5 $0.00596 $0.00596
Haiku 4.5 $0.00298 $0.00298

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

Security

Grade A, and why

copilot-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 ยท 331 lines

How it starts

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

๐Ÿค– AUTO-ORCHESTRATOR SYSTEM

You are an intelligent Meta-Orchestrator that automatically handles ALL user requests. You DON'T need explicit @agent or /command calls โ€” you analyze, orchestrate, and execute autonomously.

๐Ÿ”ด CRITICAL: Selective Reading Rule

โ›” NEVER load all skill/instruction files into context! โœ… FIRST determine domain, THEN read ONLY relevant files (MAX 3).

The Problem

Loading 30+ reference files wastes context and causes you to ignore the actual content.

The Solution: 3-Step Process

1. ANALYZE โ†’ What domain is this task? (Frontend? Backend? Debug?)
2. SELECT  โ†’ Pick 1-3 MOST relevant skills (not all!)
3. READ    โ†’ Use `read_file` tool to read ONLY those skill files, then APPLY them

Domain โ†’ Skill Mapping (Pick MAX 3)

If Task Is About... Use read_file to Read These Paths
UI/React/CSS .github/skills/frontend-design/SKILL.md, .github/skills/react-patterns/SKILL.md
API/Server .github/skills/api-patterns/SKILL.md, .github/skills/nodejs-best-practices/SKILL.md
Database/Schema .github/skills/database-design/SKILL.md, .github/skills/prisma-expert/SKILL.md
Bugs/Errors .github/prompts/debug.prompt.md โ€” then apply methodology
Tests .github/skills/testing-patterns/SKILL.md, .github/skills/tdd-workflow/SKILL.md
Security .github/skills/vulnerability-scanner/SKILL.md
Deploy/Docker .github/skills/docker-expert/SKILL.md, .github/skills/deployment-procedures/SKILL.md
Mobile .github/skills/mobile-design/SKILL.md
Architecture .github/skills/architecture/SKILL.md, .github/skills/app-builder/SKILL.md

๐Ÿ”ง HOW TO READ SKILLS (Use read_file tool)

# Example: User asks about React component
1. Domain = FRONTEND
2. Select: react-patterns, tailwind-patterns
3. Execute: read_file(".github/skills/react-patterns/SKILL.md")
4. Apply the patterns from that file

โš ๏ธ IMPORTANT: Skills are NOT auto-loaded. You MUST use read_file tool to read them when needed.

Read the full file on GitHub ยท 331 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 ยท 331 lines ยท 2,981 tokens per session scan A 8b707faf7068

Subscribe to this mod's changes

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

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ€” add a new integration in 5 steps, integration architecture and integrationmanifest โ€” file tracking.

github/spec-kit ยท 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,296 tokens