github-copilot-superpowers copilot-agent.instructions.md

Instructions for a GitHub Copilot agent setup, including which instruction files have priority and how work should be delegated, implemented, and checked.

In plain words
What is it for?
Use them when maintaining or operating this Copilot agent setup, especially when handling subagents, user approvals, builds, tests, and other verification.
Why use it?
They reduce conflicts between repository rules and make the agent’s execution order and response requirements explicit.

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/kasuken/github-copilot-superpowers/copilot-agent
Clone the repo
git clone --depth 1 https://github.com/kasuken/github-copilot-superpowers

Made for: GitHub Copilot.

Per session 2,285 This file is loaded in full into every session.
When invoked 2,285 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.02285 $0.02285
Opus 5 $0.01143 $0.01143
Sonnet 5 $0.00457 $0.00457
Haiku 4.5 $0.00229 $0.00229

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

Security

Grade A, and why

github-copilot-superpowers copilot-agent.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 yesterday.

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/instructions/copilot-agent.instructions.md Β· 227 lines

How it starts

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

Copilot Agent Instructions

🎯 INSTRUCTION HIERARCHY

⚠️ subagents.instructions.md is the SINGLE SOURCE OF TRUTH (SSOT) and has HIGHEST PRIORITY.

Priority order when conflicts occur:

  1. subagents.instructions.md (SSOT) - Orchestrator delegation rules, absolute restrictions, Context Package contract
  2. copilot-agent.instructions.md (this file) - Developer runbook & quality standards
  3. task-direction-approval.instructions.md - User approval for direction changes
  4. taming-copilot.instructions.md - User-facing output format
  5. Other domain-specific instructions

Core principle: Delegation > Direct Execution

πŸ“‹ Execution Order vs Priority

Priority (INSTRUCTION HIERARCHY) = Which rule wins when there's a conflict Execution Order = What happens first in the workflow sequence

Execution Order (Workflow Sequence)

  1. Sequential-thinking: Analyze problem (orchestrator executes directly - this is thinking, not I/O)
  2. SSOT rules apply: All investigation I/O β†’ delegate to subagent
  3. Terminal verification: build/test/lint (orchestrator executes directly)

Note: Sequential-thinking is a thinking tool, not I/O. It runs BEFORE delegation rules apply.

β›” MANDATORY RESPONSE TEMPLATE (EVERY REQUEST)

Execution order: Invoke Sequential-thinking β†’ Display this template. See "DEVELOPER RUNBOOK - 6 PHASES" below for details.

⚠️ INTEGRITY CHECK: The status below MUST reflect ACTUAL delegations/tool calls made in THIS response. Marking βœ… without proper execution is a CRITICAL VIOLATION equivalent to lying to the user.

EVERY response MUST start with:

πŸ› οΈ **PREFLIGHT CHECK**
- [βœ…/❌] Sequential-thinking MCP: {Executed by orchestrator - reason}
- [βœ…/❌] **SSOT Tool Gate**: Check SSOT before every tool call
- [βœ…/⏭️] Delegation status: {Yes - task description / Skip - reason}
  - [βœ…/⏭️] Serena MCP: {Delegated via subagent / Skip - reason} [Context Package: .copilot/docs/X.md]
  - [βœ…/⏭️] Context7 MCP: {Delegated via subagent / Skip - reason} [Context Package: .copilot/docs/X.md]
  - [βœ…/⏭️] GitHub MCP: {Delegated via subagent / Skip - reason} [Context Package: .copilot/docs/X.md]

Read the full file on GitHub Β· 227 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. yesterday First seen Β· 227 lines Β· 2,285 tokens per session scan A cb30c0a8f32d

Subscribe to this mod's changes

github-copilot-superpowers copilot-agent.instructions.md is an instructions file published in the GitHub repository kasuken/github-copilot-superpowers (16 stars, last pushed 6mo ago), licensed MIT. It adds 2,285 tokens to every session, about $0.0114 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.

Related

Other instructions, from other repositories

Project Guidelines

VS Code extension project guidelines for GitHub Copilot Insights. Covers project shape, code style, VS Code extension rules, build and test, and repository discipline.

kasuken/vscode-copilot-insights Β· 835 tokens

Repo Validation Workflow

Use when: changing, validating, testing, or reviewing this VS Code extension repository. Covers npm compile, lint, test harness, Electron test caveats, and build output.

kasuken/vscode-copilot-insights Β· 265 tokens

copilot-guide copilot-instructions.md

Instructions for nishanil/copilot-guide, covering copilot-guide β€” copilot instructions, what this repo is, contribution conventions, style rules and what not to change.

nishanil/copilot-guide Β· 679 tokens

pt-ai-context platform-group.instructions.md

Instructions for osinfra-io/pt-ai-context, covering platform group instructions, ignored directories, workspace overview, platform architecture and code quality principles.

osinfra-io/pt-ai-context Β· 5,135 tokens

Copilot-Skills copilot-instructions.md

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.

TheSethRose/Copilot-Skills Β· 6,199 tokens

Copilot-Skills kraken-analyst.instructions.md

Instructions for TheSethRose/Copilot-Skills, covering kraken analyst instructions, core capabilities, public api features (no authentication required), private api features (requires api keys) and default behaviors.

TheSethRose/Copilot-Skills Β· 3,385 tokens