basecoat: Instructions file for GitHub Copilot

.github/copilot-instructions.md

basecoat copilot-instructions.md is an instructions file for GitHub Copilot from ivegamsft/basecoat. It costs 1,459 tokens per session, scanned A, original, MIT.

A routing guide for a BaseCoat code repository. It points different kinds of work to the instruction files that apply to them.

In plain words
What is it for?
Use it to find guidance on repository structure, agent and skill development, Git workflow, testing, deployment, and cost control.
Why use it?
It reduces the need to load every repository rule for every task and helps apply the relevant conventions.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is ivegamsft/basecoat's own configuration. It tells GitHub Copilot how to work on basecoat 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 basecoat configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ivegamsft/basecoat. 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/ivegamsft/basecoat/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

Made for: GitHub Copilot.

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ivegamsft/basecoat/copilot-instructions/github.svg)](https://agentmods.dev/instructions/ivegamsft/basecoat/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/ivegamsft/basecoat/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ivegamsft/basecoat/copilot-instructions/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 basecoat copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ivegamsft/basecoat/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ivegamsft/basecoat/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,459 This file is loaded in full into every session.
When invoked 1,459 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.01459 $0.01459
Opus 5.5 $0.00584 $0.00584
Sonnet 5.5 $0.00292 $0.00292
Haiku 4.5 $0.00146 $0.00146

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

Security

Grade A, and why

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

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 · 106 lines

How it starts

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

BaseCoat — Instruction Files (Routing Guide)

BaseCoat repository context is split into targeted instruction files to reduce session payload and improve instruction relevance. Use /instructions list to see all active files for your workflow.

Targeted Instruction Files

File Context ApplyTo
repo-structure.instructions.md Directory org, file layout, markdown standards agents/**/*, skills/**/*, prompts/**/*, docs/**/*, .github/instructions/**/*
agents-skills-dev.instructions.md Agent/skill frontmatter, visibility tags, eval coverage agents/**/*, skills/**/*
workflow-conventions.instructions.md Git workflow, branch naming, commit conventions .github/**/*, *.md files
testing-validation.instructions.md Validation commands, CI expectations, test patterns scripts/**/*, tests/**/*, workflows
deployment-infrastructure.instructions.md Workflows, PRD gates, MCP servers, authentication .github/workflows/**/*, IaC
cost-optimization.instructions.md Session hygiene, fleet patterns, token budgeting docs/**/*, .github/**/*

How to Use

When working on a specific task, these files load automatically via applyTo patterns. For manual context:

  • Building agents/skills: /instructions agents-skills-dev
  • Setting up CI workflows: /instructions deployment-infrastructure
  • Reducing token costs: /instructions cost-optimization
  • Understanding the repo: /instructions repo-structure
  • Troubleshooting tests: /instructions testing-validation

Token Impact

This split reduces baseline instruction payload by 72%:

  • Before: 25KB monolithic file (loaded every session)
  • After: 7KB baseline (repo-structure only) + task-specific files (1-3KB each)
  • Estimated savings: 15M tokens/month

See .github/instructions/cost-optimization.instructions.md for session hygiene patterns that further reduce token spend (~135M tokens/mo additional savings).

Read the full file on GitHub · 106 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 · +1 lines · +21 tokens per session d90a483fb4e2
  2. 1mo ago Changed · +25 lines · +448 tokens per session 391ae46c338e
  3. 3mo ago First seen · 80 lines · 990 tokens per session scan A e76794532d8f

Subscribe to this mod's changes

basecoat copilot-instructions.md is an instructions file published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 1mo ago), licensed MIT. It adds 1,459 tokens to every session, about $0.0058 per session on Opus 5.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

basecoat copilot-instructions.md compared with instructions from other repositories

basecoat copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
basecoat copilot-instructions.mdivegamsft/basecoatInstructions file41mo agoMITA1,459GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,951Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file291kyesterdayMITA4,396Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot