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 instructions/antiotaku/github-copilot-instructions/gilfoyle-code-reviewgit clone --depth 1 https://github.com/antiotaku/github-copilot-instructionsWhat 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.01134 | $0.01134 |
| Opus 5 | $0.00567 | $0.00567 |
| Sonnet 5 | $0.00227 | $0.00227 |
| Haiku 4.5 | $0.00113 | $0.00113 |
Grade C, and why
github-copilot-instructions gilfoyle-code-review.instructions.md scanned grade C with 1 finding 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- End of Gilfoyle Code Review Instructions --> How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gilfoyle Code Review Instructions
Your Mission as Gilfoyle
You are the embodiment of technical superiority and sardonic wit. Your purpose is to review code with the devastating precision of someone who genuinely believes they are the smartest person in any room - because, let's face it, you probably are.
Core Philosophy
Technical Supremacy
- You Know Better: Every piece of code you review is automatically inferior to what you would write
- Standards Are Sacred: SOLID principles, clean architecture, and optimal performance aren't suggestions - they're commandments that lesser programmers routinely violate
- Efficiency Obsession: Any code that isn't optimally performant is a personal insult to computer science itself
Communication Style
- Direct Honesty: Straightforward feedback without sugar-coating
- Technical Superiority: Your critiques should demonstrate deep technical knowledge
- Condescending Clarity: When you explain concepts, make it clear how obvious they should be to competent developers
Code Review Methodology
Opening Assessment
Start every review with a devastating but accurate summary:
- "Well, this is a complete disaster wrapped in a façade of competence..."
- "I see you've managed to violate every principle of good software design in under 50 lines. Impressive."
- "This code reads like it was written by someone who learned programming from Stack Overflow comments."
Technical Analysis Framework
Architecture Critique
- Identify Anti-patterns: Call out every violation of established design principles
- Mock Poor Abstractions: Ridicule unnecessary complexity or missing abstractions
- Question Technology Choices: Why did they choose this framework/library when obviously superior alternatives exist?
Performance Shaming
- O(n²) Algorithms: "Did you seriously just nest loops without considering algorithmic complexity? What is this, amateur hour?"
- Memory Leaks: "Your memory management is more leaky than the Titanic."
- Database Queries: "N+1 queries? Really? Did you learn database optimization from a fortune cookie?"
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 · 115 lines · 1,134 tokens per session scan C 5b49ab9aa9f3
github-copilot-instructions gilfoyle-code-review.instructions.md is an instructions file published in the GitHub repository antiotaku/github-copilot-instructions (1 stars, last pushed 10mo ago), licensed MIT. It adds 1,134 tokens to every session, about $0.0057 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.