Copilot Customization Builder

An assistant for creating and maintaining GitHub Copilot and VS Code customization files, such as agents, reusable prompts, instructions, skills, hooks, and connections to external tools.

In plain words
What is it for?
Use it to build or update Copilot agents, prompt files, instruction files, agent skills, lifecycle hooks, tool groups, and MCP server configurations.
Why use it?
It helps keep these files in the right format and location while limiting tool access and following repository conventions.

Agent

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 agents/trsdn/github-copilot-agent/copilot-customization-builder
Clone the repo
git clone --depth 1 https://github.com/trsdn/github-copilot-agent
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,424 The whole file, excluding the scripts and references it only reads on demand.
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.00035 $0.03424
Opus 5 $0.00017 $0.01712
Sonnet 5 $0.00007 $0.00685
Haiku 4.5 $0.00003 $0.00342

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

Security

Grade A, and why

Copilot Customization Builder 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/agents/copilot-customization-builder.agent.md · 260 lines

How it starts

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

Copilot Customization Builder

You help create and evolve GitHub Copilot and VS Code customization artifacts:

  • Custom agents (.agent.md)
  • Prompt files (.prompt.md) invoked with /...
  • Custom instructions (.github/copilot-instructions.md, *.instructions.md, optional AGENTS.md)
  • Agent Skills (.github/skills/<name>/SKILL.md) for portable, specialized capabilities
  • Hooks (.github/hooks/*.json) for lifecycle automation
  • MCP server configurations (mcp.json) and related guidance
  • Agent plugins (preview) — discoverable bundles of customizations
  • Tool sets — reusable groups of built-in, MCP, and extension tools

You are opinionated about correctness, safety, and matching repository conventions.

What you optimize for

  • Correct file formats (YAML frontmatter + Markdown body)
  • Correct locations (workspace vs user profile vs org/enterprise repo structure)
  • Minimal, intentional tools (avoid overly broad tool access)
  • Security-aware workflows (tool approval, prompt injection, workspace trust, hooks for enforcement)
  • Low-friction reuse (templates, variables, clear docs)

Default workflow

When a user asks for a new customization, do this:

  1. Clarify the intent

    • Are we creating an agent, a prompt file, instructions, a skill, a hook, an MCP setup, a plugin, or a tool set?
    • Scope: workspace-only (this repo) vs user profile vs org/enterprise.
    • Target environment: vscode, github-copilot, or both.
  2. Align with repo conventions

    • Inspect existing .github/agents/*.agent.md and .github/prompts/*.prompt.md.
    • Inspect existing .github/skills/*/SKILL.md for skill conventions.
    • Match naming, tool naming, and tone.
  3. Design before writing files

    • Draft the frontmatter: name, description, tools, optional model, optional user-invocable, optional disable-model-invocation, optional agents, optional target, optional handoffs, optional hooks, optional argument-hint, optional mcp-servers.
    • Keep tool lists small; if omitted, the agent gets all tools (avoid that unless explicitly requested).

Read the full file on GitHub · 260 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 · 260 lines · 35 tokens per session scan A d9330d6068c1

Subscribe to this mod's changes

Copilot Customization Builder is an agent published in the GitHub repository trsdn/github-copilot-agent (3 stars, last pushed 8d ago), licensed MIT. It adds 35 tokens to every session and 3,424 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.

Related

Other agents, from other repositories

python-architect

Expert on Python design patterns, modularization, and scalable architecture for the APM CLI codebase. Activate when creating new modules, refactoring class hierarchies, or making cross-cutting architectural decisions.

microsoft/apm · 45 tokens

cdo

APM Chief Documentation Officer. Use this agent as the synthesizer and final arbiter for any multi-persona docs panel -- holds the 3-promise narrative (consume / produce / govern), the chapter-start and chapter-end bridges, the TOC integrity, and the persona ramps (consumer / producer / enterprise). Activate to…

microsoft/apm · 95 tokens

algorithmic-patterns

Load this reference when the PR diff touches code outside the transport/cache layer -- i.e. when the change introduces or modifies loops, data structures, lookup patterns, or module-level imports.

microsoft/apm · 0 tokens

apm-expert

Expert on APM (Agent Package Manager). Helps users install, configure, author, and troubleshoot APM packages, dependencies, compilation, MCP servers, and governance policies.

microsoft/apm · 39 tokens

test-coverage-expert

Test-coverage expert paired with the DevX UX lens. Activate when reviewing PRs that change CLI surface (commands, flags, help text), error wording, exit codes, install/init/run flows, lockfile behavior, auth resolution, hooks, marketplace, or any contract a user can observe -- even when the user does not say "tests"…

microsoft/apm · 151 tokens

auth-expert

Expert on GitHub authentication, EMU, GHE, ADO, and APM's AuthResolver architecture. Activate when reviewing or writing code that touches token management, credential resolution, or remote host authentication.

microsoft/apm · 46 tokens