sensei copilot-instructions.md

sensei copilot-instructions.md is an instructions file for GitHub Copilot from spboyer/sensei. It costs 582 tokens per session, scanned A, original, MIT.

A repository guide for Sensei, a coding-agent skill that checks and improves SKILL.md front-matter compliance. SKILL.md is the file containing an agent skill’s runtime instructions.

In plain words
What is it for?
Use it when authoring or reviewing agent skills. It helps maintain SKILL.md metadata, route users with clear trigger phrases, organize supporting documents, and run the project’s validation tools.
Why use it?
It separates operational instructions from human documentation and sets rules for descriptions, references, examples, and token or scoring checks.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/spboyer/sensei/copilot-instructions.svg)](https://agentmods.dev/instructions/spboyer/sensei/copilot-instructions)
Your own site
<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>
Per session 582 This file is loaded in full into every session.
When invoked 582 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.00582 $0.00582
Opus 5 $0.00291 $0.00291
Sonnet 5 $0.00116 $0.00116
Haiku 4.5 $0.00058 $0.00058

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

Security

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.

.github/copilot-instructions.md · 55 lines

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.md focused 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.md at about 500 tokens; hard limit is 5000 tokens.
  • Keep references/*.md near 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: and FOR 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.

Read the full file on GitHub · 55 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. 4d ago First seen · 55 lines · 582 tokens per session scan A fe9583ed6753

Subscribe to this mod's changes

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.