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 skills/trsdn/github-copilot-agent/copilot-setup-auditnpx skills add trsdn/github-copilot-agent --skill copilot-setup-auditgit clone --depth 1 https://github.com/trsdn/github-copilot-agentWhat 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.00044 | $0.03853 |
| Opus 5 | $0.00022 | $0.01927 |
| Sonnet 5 | $0.00009 | $0.00771 |
| Haiku 4.5 | $0.00004 | $0.00385 |
Grade A, and why
copilot-setup-audit 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 2d 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 — 412 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Copilot Setup Audit
This skill provides comprehensive checklists and best practices for auditing a repository's GitHub Copilot customization setup.
When to use this skill
- Setting up Copilot customizations in a new repository
- Reviewing an existing setup for improvements
- Migrating from legacy patterns (chat modes → agents)
- Ensuring team-wide consistency
- Onboarding new team members to the Copilot setup
Audit Checklist
1. Directory Structure
Check for correct directory structure:
.github/
├── agents/ # Custom agents
│ └── *.agent.md
├── prompts/ # Prompt templates
│ └── *.prompt.md
├── instructions/ # Scoped instructions
│ └── *.instructions.md
├── skills/ # Agent skills
│ └── */SKILL.md
├── hooks/ # Hook configurations
│ └── *.json
├── plugin/ # Inert plugin manifest examples
│ └── *.example.json
├── toolsets/ # Inert tool-set examples
│ └── *.example.jsonc
├── copilot-instructions.md # Workspace-wide instructions
└── (optional) AGENTS.md # Alternative: root-level agent instructions
.vscode/
├── settings.json # Workspace settings
└── mcp.example.json # Inert MCP example (copy to mcp.json to enable)
Directory Checks
| Check | Status | Notes |
|---|---|---|
.github/ exists |
Required for most customizations | |
.github/agents/ exists |
Required for custom agents | |
.github/prompts/ exists |
Required for prompt templates | |
.github/instructions/ exists |
Recommended for scoped instructions | |
.github/skills/ exists |
Optional, for Agent Skills | |
.github/hooks/ exists |
Optional, for lifecycle automation | |
.github/toolsets/ exists |
Optional, for tool-set examples | |
.vscode/ exists |
Recommended for workspace settings | |
.vscode/mcp.example.json exists |
Recommended inert MCP example |
2. Custom Instructions
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.
- 2d ago First seen · 412 lines · 44 tokens per session scan A c20419cbd2e9
copilot-setup-audit is a skill published in the GitHub repository trsdn/github-copilot-agent (3 stars, last pushed 9d ago), licensed MIT. It adds 44 tokens to every session and 3,853 once invoked, about $0.0002 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-31.
Other skills, from other repositories
[object Object]
Skill "[object Object]" from microsoft/apm, covering what this package does, getting started, available primitives and included workflows.
apm-usage
Activate when the user asks about APM (Agent Package Manager): installing, configuring, authoring, or troubleshooting AI-agent packages, dependencies, compilation, MCP servers, policy, or any apm CLI command.
contract-skill
Hermetic Agent Plugins lifecycle contract.
create-skill-sample
This skill should be used when the user asks to "create a new skill sample", "add a skill", "scaffold a new skill", "contribute a skill", "create a GitHub Copilot skill", "build a custom skill", or needs to create a new GitHub Copilot custom skill sample with proper folder structure, SKILL.md, README, and sample.json…
create-system-prompt
This skill should be used when the user asks to "create an agent instruction", "add agent instructions", "scaffold an agent sample", "create a system prompt sample", "add a system prompt", "create a new agent", "build an agent", or needs to create a new agent instruction sample with proper folder structure, README…
copilot-studio-agent-documenter
Generate comprehensive documentation for Microsoft Copilot Studio agents from exported Dataverse solutions using the Power Platform CLI. Use when asked, to analyse the solution with the agents file and create documentation from the contents.