copilot-setup-audit

copilot-setup-audit is a skill for Claude Code from trsdn/github-copilot-agent. It costs 44 tokens per session (3,853 once invoked), scanned A, original, MIT.

A repository audit for GitHub Copilot customization files and their setup. It checks items such as agents, prompts, instructions, skills, hooks, and tool configurations.

In plain words
What is it for?
Use it when setting up Copilot in a repository, reviewing an existing setup, migrating older chat modes, or improving team-wide consistency.
Why use it?
It reveals missing files, misplaced configuration, outdated patterns, and consistency or best-practice issues in a team setup.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it when setting up Copilot in a repository, reviewing an existing setup, migrating older chat modes, or improving team-wide consistency.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trsdn/github-copilot-agent/copilot-setup-audit
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.

Any agent
npx skills add trsdn/github-copilot-agent --skill copilot-setup-audit
Clone the repo
git clone --depth 1 https://github.com/trsdn/github-copilot-agent

Made for: Claude Code.

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 copilot-setup-audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trsdn/github-copilot-agent/copilot-setup-audit"><img src="https://agentmods.dev/badge/skills/trsdn/github-copilot-agent/copilot-setup-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,853 The whole file, excluding the scripts and references it only reads on demand.
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.00044 $0.03853
Opus 5.5 $0.00018 $0.01541
Sonnet 5.5 $0.00009 $0.00771
Haiku 4.5 $0.00004 $0.00385

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

Security

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 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/skills/copilot-setup-audit/SKILL.md · 412 lines

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

Read the full file on GitHub · 412 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 First seen · 412 lines · 44 tokens per session scan A c20419cbd2e9

Subscribe to this mod's changes

copilot-setup-audit is a skill published in the GitHub repository trsdn/github-copilot-agent (3 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 3,853 once invoked, about $0.0002 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

Other skills, from other repositories

code-review-csharp

Perform structured code reviews of C# source code covering naming conventions, performance, security, readability, and .NET best practices. Trigger phrases include "review this C# code", "check my C# for best practices", "analyze this C# class", "find issues in my C# code".

pnp/copilot-prompts · 66 tokens

self-awareness-review

Reviews a given week of your OWN Teams meetings, chats, and sent emails to surface moments where you may have misread social signals or come across as passive-aggressive, curt, sarcastic, or dismissive — returning the exact quote, how it likely landed, and a kinder rewrite. Private self-reflection coaching for the…

pnp/copilot-prompts · 202 tokens

audit

Audits recent work against its Definition of Done and project patterns. Runs the test suite, compares code against the spec, and reports PASS / PARTIAL / FAIL. Also runs the Critical Gate — a safety scan of the diff for destructive or dangerous operations. Generates an incremental prompt pack for any gaps found. With…

pe-menezes/vibeflow · 93 tokens

stats

Compiles statistics from audit reports: PASS/PARTIAL/FAIL rates, most violated patterns, most failing DoD checks, and quality trends over time. Output is chat-only (no file created). Use after running several audits to spot quality patterns and improvement areas.

pe-menezes/vibeflow · 55 tokens

vibeflow-stats

Compiles statistics from audit reports: PASS/PARTIAL/FAIL rates, most violated patterns, most failing DoD checks, and quality trends. Use after running several audits to spot improvement areas.

pe-menezes/vibeflow · 46 tokens

commit

Create well-formatted Git commits with conventional commit messages. Use this skill when the user wants to create a commit.

aidyou/chatspeed · 25 tokens