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.
npx agentmods add instructions/spboyer/sensei/copilot-instructionsgit clone --depth 1 https://github.com/spboyer/senseiWrote 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.
[](https://agentmods.dev/instructions/spboyer/sensei/copilot-instructions)<a href="https://agentmods.dev/instructions/spboyer/sensei/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/spboyer/sensei/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00582 | $0.00582 |
| Opus 5 | $0.00291 | $0.00291 |
| Sonnet 5 | $0.00116 | $0.00116 |
| Haiku 4.5 | $0.00058 | $0.00058 |
Grade A, and why
sensei 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Copilot Instructions
Follow AGENTS.md as the canonical contributor guidance for this repository. This file summarizes the highest-impact rules for GitHub Copilot and Copilot Coding Agent.
Project Context
This repository is Sensei, an Agent Skill that improves SKILL.md frontmatter compliance. The root SKILL.md is the runtime skill; README.md is human-facing documentation; references/ contains progressive-disclosure docs; scripts/ contains the TypeScript token/scoring CLI and optional GEPA evaluator.
Skill Authoring Rules
-
Keep
SKILL.mdfocused on operational instructions, not README-style documentation. -
Put detailed explanations, examples, and templates under
references/. -
Preserve Agent Skills frontmatter format:
--- name: skill-name description: "**WORKFLOW SKILL** - What the skill does. WHEN: \"trigger 1\", \"trigger 2\", \"trigger 3\". INVOKES: tools used. FOR SINGLE OPERATIONS: when to bypass." --- -
Prefer positive routing with
WHEN:/USE FOR:trigger phrases. -
Avoid
DO NOT USE FOR:in descriptions because it can contaminate skill routing. -
Keep description fields under 1024 characters.
-
Use inline double-quoted descriptions, not folded YAML scalars.
-
Use skill type prefixes consistently:
**WORKFLOW SKILL**,**UTILITY SKILL**, or**ANALYSIS SKILL**.
Token and Scoring Expectations
- Target
SKILL.mdat about 500 tokens; hard limit is 5000 tokens. - Keep
references/*.mdnear 2000 tokens or less. - Target Medium-High or High advisory score:
- Medium-High: trigger phrases with a concise description.
- High: Medium-High plus routing clarity such as
INVOKES:andFOR SINGLE OPERATIONS:.
Validation Commands
Run the narrowest relevant checks after changes:
npm run tokens -- check [paths...]
npm run tokens -- score .
npm test
Use npm run tokens -- count [paths...], npm run tokens -- suggest [paths...], or npm run tokens -- compare [refs...] when working on token budgets or optimization.
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.
- 4d ago First seen · 55 lines · 582 tokens per session scan A fe9583ed6753
sensei copilot-instructions.md is an instructions file published in the GitHub repository spboyer/sensei (55 stars, last pushed 3mo ago), licensed MIT. It adds 582 tokens to every session, about $0.0029 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-30.
Other instructions, from other repositories
copilot copilot-instructions.md
Copilot instructions for navikt/copilot, covering copilot instructions for navikt/copilot, repository overview, nav development standards, nav principles and nav tech stack.
copilot AGENTS.md
AGENTS.md instructions for navikt/copilot, covering agents.md for navikt/copilot, what this repo is, efficiency rule, standard commands and conventions.
SonarCloud-Skill-Agent-Guidance
Repository guidance for the SonarCloud/SonarQube findings management skill.
kasetto CLAUDE.md
Claude Code instructions for pivoshenko/kasetto, covering claude.md, what this repo is, commands, rust architecture and module map.
Copilot-Skills copilot-instructions.md
Copilot instructions for TheSethRose/Copilot-Skills, covering copilot instructions, find what you're looking for, get file context before editing, understand related code and orchestration default.
Copilot-Skills document-project.instructions.md
Auto-loaded guidance for generating project documentation across any codebase.