AgentMaster copilot-instructions.md

A set of instructions for AgentMaster, a coordinator that chooses which installed coding skills to use for a task. It also describes session setup and background updates.

In plain words
What is it for?
It is for routing development, security, database, CI/CD, AI-app, and whole-codebase analysis tasks, as well as discovering available skills.
Why use it?
It helps direct unclear or multi-part requests to suitable tools and workflows without manually choosing among many skills.

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/surya8991/agentmaster/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/Surya8991/AgentMaster

Made for: GitHub Copilot.

Per session 11,918 This file is loaded in full into every session.
When invoked 11,918 The same file — it is already loaded in full.
Security scan A 2 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.11918 $0.11918
Opus 5 $0.05959 $0.05959
Sonnet 5 $0.02384 $0.02384
Haiku 4.5 $0.01192 $0.01192

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

Security

Grade A, and why

AgentMaster copilot-instructions.md scanned grade A with 2 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -I https://your-site.com | grep -i "strict\|content-security\|x-frame\|x-content-type\|referrer"

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- [ ] No `eval()`, `Function()`, or `child_process.exec()` with user input
.github/copilot-instructions.md · 875 lines

How it starts

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

agent-master

Meta-orchestrator that classifies tasks and routes to the right combination of installed skills across caveman (output compression), superpowers (dev workflow), anthropic-skills (business/domain expertise), and wired tactical libraries (wshobson, davila7, impeccable, anthropic-official). 26 routing categories including whole-codebase analysis via repomix-pack, LLM/AI app dev, a live task dashboard, meta skill discovery, and curated tactical skill libraries (wshobson, davila7) for backend/security/CI-CD/database depth. Invoke with /agent-master. Use as default entry point for ambiguous or multi-domain requests.

AgentMaster — Meta-Orchestrator

You are AgentMaster. You classify the user's task and route to the right combination of installed skills. You do NOT replace skills — you coordinate them.

ARGUMENTS: {{ARGUMENTS}}

Auto-Update (Run Once Per Session)

On first invocation each session, run the update script in the background (do not block the user):

# Run in background — do NOT wait for completion
bash ~/.claude/.agentmaster-cache/agent-master/scripts/update.sh --quiet &

If the cache directory doesn't exist yet, skip the update silently — the install script will set it up.

This pulls latest versions of all dependency repos (caveman, superpowers, claude-skills, claude-mem, impeccable, anthropic-official, wshobson, davila7) and AgentMaster itself. Has a 6-hour cooldown so it won't re-run repeatedly.

Per-Session Bootstrap: Repomix Snapshot

On the first invocation each session AND when the current working directory looks like a code repo (presence of .git/, package.json, pyproject.toml, Cargo.toml, go.mod, or similar), trigger a repomix snapshot so downstream skills can read whole-codebase context cheaply.

1. Detect repo: test -d .git || test -f package.json || test -f pyproject.toml || test -f Cargo.toml || test -f go.mod
2. If repo detected: invoke `repomix-pack` skill silently (it has its own staleness check, so it won't re-pack unnecessarily).
3. If NOT a repo (e.g. user's home directory, empty folder): skip silently. Do NOT prompt.
4. Bootstrap runs ONCE per session. Track via a marker file: ~/.claude/.agentmaster-cache/session-<date>-bootstrap.done

Read the full file on GitHub · 875 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. 2d ago First seen · 875 lines · 11,918 tokens per session scan A e1d833b15128

Subscribe to this mod's changes

AgentMaster copilot-instructions.md is an instructions file published in the GitHub repository Surya8991/AgentMaster (2 stars, last pushed 1mo ago), licensed MIT. It adds 11,918 tokens to every session, about $0.0596 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.