agent-harness-plugins copilot-instructions.md

Project guidance for GitHub Copilot, an AI coding assistant, covering how to review changes and follow repository conventions. It treats command and skill files as instructions for AI agents rather than ordinary shell scripts.

In plain words
What is it for?
Use it when an AI assistant is reviewing pull requests or changing plugins, skills, commands, workflows, and related project files in this repository.
Why use it?
It gives an AI assistant the project rules it needs to avoid incorrect review comments and inconsistent changes. It also explains conventions such as when versions should be updated and how commit references are handled.

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/cboone/agent-harness-plugins/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: GitHub Copilot.

Per session 2,940 This file is loaded in full into every session.
When invoked 2,940 The same file — it is already loaded in full.
Security scan C 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.02940 $0.02940
Opus 5 $0.01470 $0.01470
Sonnet 5 $0.00588 $0.00588
Haiku 4.5 $0.00294 $0.00294

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

Security

Grade C, and why

agent-harness-plugins copilot-instructions.md scanned grade C 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 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- **CI and local templates use `gh release download` for scrut installation**: Scrut is installed via `gh release download` from `facebookincubator/scrut` with a pinned version tag. The upstream install script is not use

Makes network callslowCapability

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

- **CI and local templates use `gh release download` for scrut installation**: Scrut is installed via `gh release download` from `facebookincubator/scrut` with a pinned version tag. The upstream install script is not use
.github/copilot-instructions.md · 55 lines

How it starts

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

GitHub Copilot Instructions

For full project conventions, see AGENTS.md in the repository root.

PR review

  • Version bumps are selective: Only plugins with actual code changes get version bumps. Do not flag missing version bumps on unchanged plugins.
  • PR descriptions may contain stale commit references: PR descriptions are often auto-generated from commit messages and may reference superseded commits. Do not flag discrepancies between PR description bullet points and the actual diff.
  • Done plans are historical records: Files in docs/plans/done/ are completed plan documents preserved for reference. They may not match the final implementation. Do not flag discrepancies between done plan content and the actual codebase.

Skill and command files are AI agent prompts

Files under commands/ directories and SKILL.md files inside skills/ directories are prompts consumed by an AI agent, not user-facing shell scripts.

  • Code blocks are agent instructions, not scripts: Code blocks in workflow steps are commands for the AI agent to execute and interpret; the agent reads command output directly and uses it programmatically. Do not suggest shell variable capture, output sanitization, or tr -d '\n' for commands whose output the agent handles natively.
  • Branch-name placeholders are not injection vectors: Branch names in skill templates are always sanitized by prior slugification steps, and git itself rejects shell metacharacters in branch names. Do not flag these placeholders as shell injection vulnerabilities.
  • Bare command names are documented placeholders: Bare command names like resolve-copilot-threads in code examples are documented placeholders for the script's quoted absolute path. A preamble in the "Script Setup" section explains this convention. Do not flag these as missing paths or broken commands.
  • TOOL_BIN is a documented placeholder: In SKILL.md files and reference templates, TOOL_BIN is a placeholder that gets replaced with a tool-specific environment variable name (for example BOPCA_BIN, MY_TOOL_BIN) during execution. The naming convention (binary name uppercased, hyphens to underscores, suffixed with _BIN) is documented in each skill's workflow steps and in the SCRUT.md reference guide. Do not flag TOOL_BIN as a literal variable name or suggest replacing it with <TOOL>_BIN syntax.
  • Pipeline-style directives are semantic, not literal: SKILL.md workflow steps are instructions for the agent, which reads command output and interprets it semantically. Directives like "filter SC3xxx codes from the output" mean the agent should ignore those codes when reporting results. Do not suggest adding shell filtering commands (grep -Ev, sed, awk) to skill instructions; the agent does not need pipeline-based filtering.
  • "Tool Overview" tables show simplified commands: SKILL.md files contain a "Tool Overview" table that shows each tool's basic command form for quick reference. Full invocations with all flags (--exclude, --check, etc.) appear in the corresponding workflow sections below the table. Do not flag the table entries as incomplete or inconsistent with the workflow commands.
  • Capitalized "NOT" in prohibitions is intentional emphasis: Some SKILL.md instructions use "Do NOT" instead of "Do not" for safety-critical prohibitions (for example, floating major version tags). The inconsistency with surrounding "Do not" phrasing is deliberate; the stronger emphasis signals higher-severity rules. Do not suggest normalizing these to sentence case.

Read the full file on GitHub · 55 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 · 55 lines · 2,940 tokens per session scan C 3211eb18fb4b

Subscribe to this mod's changes

agent-harness-plugins copilot-instructions.md is an instructions file published in the GitHub repository cboone/agent-harness-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 2,940 tokens to every session, about $0.0147 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.