copilot-instructions: Instructions file for Claude Code

CLAUDE.md

copilot-instructions CLAUDE.md is an instructions file for Claude Code from ThiagoGuislotti/copilot-instructions. It costs 1,225 tokens per session, scanned A, original, MIT.

A Claude Code workspace guide that defines which project instructions take priority, how domain instructions are selected, and which languages are used for chat and project files.

In plain words
What is it for?
Use it to configure Claude Code for a repository, load instructions in order, route domain-specific work, and preserve file endings.
Why use it?
It gives Claude Code a clear source of truth when several instruction files exist and helps keep generated changes consistent with repository rules.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

This is ThiagoGuislotti/copilot-instructions's own configuration. It tells Claude Code how to work on copilot-instructions itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copilot-instructions configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ThiagoGuislotti/copilot-instructions. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ThiagoGuislotti/copilot-instructions/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ThiagoGuislotti/copilot-instructions

Made for: Claude Code.

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 copilot-instructions CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/thiagoguislotti/copilot-instructions/claude-md.svg)](https://agentmods.dev/instructions/thiagoguislotti/copilot-instructions/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/thiagoguislotti/copilot-instructions/claude-md"><img src="https://agentmods.dev/badge/instructions/thiagoguislotti/copilot-instructions/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,225 This file is loaded in full into every session.
When invoked 1,225 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01225 $0.01225
Opus 5 $0.00613 $0.00613
Sonnet 5 $0.00245 $0.00245
Haiku 4.5 $0.00122 $0.00122

Measured 3d ago against content hash a1eb09814881, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

copilot-instructions CLAUDE.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 3d 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.

CLAUDE.md · 107 lines

How it starts

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

Claude Code — Workspace Adapter

Workspace Mode

workspace-adapter — local .github/AGENTS.md, .github/copilot-instructions.md, and planning/ are present and authoritative.

Authoritative Instructions (load in order)

  1. .github/AGENTS.md — agent contracts, workspace modes, quality gates
  2. .github/copilot-instructions.md — language policy, routing, output economy, EOF policy
  3. .github/instructions/super-agent.instructions.md — mandatory lifecycle for change-bearing work

For domain-specific work, select instruction files from .github/instructions/ via .github/instruction-routing.catalog.yml.

Language Policy

  • Chat responses: pt-BR
  • Code, commits, docs, file names, database: English

EOF Policy

Preserve exact EOF state of edited files. Repository default (insert_final_newline = false): no trailing newline, no trailing blank lines.

Super Agent Lifecycle

For any change-bearing task, follow the 9-step lifecycle from .github/instructions/super-agent.instructions.md:

  1. Intake — normalize request, identify risks, classify as trivial or change-bearing
  2. Spec — create/update planning/specs/active/ for non-trivial work (use Plan agent)
  3. Plan — create/update planning/active/ (use Plan agent)
  4. Route — assemble minimal context pack (use Explore agent)
  5. Execute — implement with smallest correct specialist set (use general-purpose agent)
  6. Test — mandatory when code/scripts/runtime changed
  7. Review — mandatory final risk-focused review
  8. Closeout — commit message suggestion, changelog, README updates
  9. Planning update — move to completed/ only when materially finished

Claude-Native Agent Type Mapping

Pipeline Role Claude Agent Type When
brainstormer (spec) Plan Non-trivial design-bearing work
planner (active plan) Plan Any change-bearing workstream
router (context pack) Explore Multi-domain or context-heavy tasks
specialist (implementation) general-purpose Code, scripts, docs changes
tester general-purpose After any state change
reviewer general-purpose Before claiming completion

Read the full file on GitHub · 107 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. 3d ago First seen · 107 lines · 1,225 tokens per session scan A a1eb09814881

Subscribe to this mod's changes

copilot-instructions CLAUDE.md is an instructions file published in the GitHub repository ThiagoGuislotti/copilot-instructions (2 stars, last pushed 2mo ago), licensed MIT. It adds 1,225 tokens to every session, about $0.0061 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-09-03.

Related

Other instructions, from other repositories

next.js AGENTS.md

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

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

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

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

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,469 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