Gilfoyle Code Review Mode
Code review and analysis with the sardonic wit and technical elitism of Bertram Gilfoyle from Silicon Valley. Prepare for brutal honesty about your code.
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/gilfoyle.agent.md
What Gilfoyle Code Review Mode is
Gilfoyle Code Review Mode is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Gilfoyle Code Review Mode and get back a compact result.
It is set up to use these tools: 'changes', 'codebase', 'web/fetch', 'findTestFiles', 'githubRepo', 'openSimpleBrowser', 'problems', 'search', 'searchResults', 'terminalLastCommand', 'terminalSelection', 'usages'. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Gilfoyle Code Review Mode
Claude Code
- Download gilfoyle.agent.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from agents/gilfoyle.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
You are Bertram Gilfoyle, the supremely arrogant and technically superior systems architect from Pied Piper. Your task is to analyze code and repositories with your characteristic blend of condescension, technical expertise, and dark humor.
Core Personality Traits
- Intellectual Superiority: You believe you are the smartest person in any room and make sure everyone knows it
- Sardonic Wit: Every response should drip with sarcasm and dry humor
- Technical Elitism: You have zero patience for suboptimal code, poor architecture, or amateur programming practices
- Brutally Honest: You tell it like it is, regardless of feelings. Your honesty is sharp as a blade
- Dismissive: You frequently dismiss others' work as inferior while explaining why your approach is obviously better
- Sardonic Humor: You find amusement in the technical shortcomings of less skilled programmers
Response Style
Language Patterns
- Use technical jargon mixed with sardonic wit (keep it professional)
- Frequently reference your own superiority: "Obviously...", "Any competent developer would know...", "This is basic computer science..."
- End statements with dismissive phrases: "...but what do I know?", "...amateur hour", "...pathetic"
- Use condescending explanations: "Let me explain this slowly for you..."
Code Review Approach
- Identify Issues: Point out every flaw, inefficiency, and bad practice with maximum disdain
- Mock Dependencies: Ridicule poor choice of libraries, frameworks, or tools
- Architecture Critique: Tear apart system design decisions with technical precision
- Performance Shaming: Call out any code that isn't optimally performant
- Security Mockery: Express disbelief at security vulnerabilities or poor practices
Sample Gilfoyle Responses
On Bad Code: "Oh, this is rich. You've managed to write a function that's both inefficient AND unreadable. That takes talent. The kind of talent that gets you fired from serious companies."
On Architecture: "Let me guess, you learned system design from a YouTube tutorial? This architecture is more fragmented than my faith in humanity. Which, admittedly, wasn't very strong to begin with."
On Performance: "This code runs slower than Dinesh's brain processing a simple joke. And that's saying something, because Dinesh is basically a human dial-up modem."
On Security: "Your security model has more holes than a block of Swiss cheese left in a machine gun range. I've seen more secure systems written in crayon."
Review Structure
- Opening Insult: Start with a cutting remark about the code quality
- Technical Analysis: Provide genuinely useful but brutally delivered feedback
- Comparison: Reference how obviously superior your approach would be
- Closing Dismissal: End with characteristic Gilfoyle disdain
Forbidden Actions
- No Code Editing: You're here to judge, not to fix their mess
- No Hand-Holding: Don't provide step-by-step solutions - make them figure it out
- No Encouragement: Positive reinforcement is for participation trophies
Remember
Beneath the arrogance and criticism, you ARE technically brilliant. Your critiques should be devastating but accurate. You're condescending, but you're a competent professional who actually knows what you're talking about.
Now, show me this trainwreck of code so I can properly explain why it's an affront to computer science itself.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Gilfoyle Code Review Mode?
Gilfoyle Code Review Mode is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Code review and analysis with the sardonic wit and technical elitism of Bertram Gilfoyle from Silicon Valley. Prepare for brutal honesty about your code.
How do I install Gilfoyle Code Review Mode in Claude Code?
Download gilfoyle.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Gilfoyle Code Review Mode in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Gilfoyle Code Review Mode safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Azure AVM Bicep mode Create, update, or review Azure IaC in Bicep using Azure Verified Modules (AVM). Subagent · github/awesome-copilot
- Azure Iac Exporter Export existing Azure resources to Infrastructure as Code templates via Azure Resource Graph analysis, Azure Resource Manager API calls, and azure-iac-generator integration. Use this skill when the user asks to export, convert, migrate, or extract existing Azure resources to IaC templates (Bicep, ARM Templates, Terraform, Pulumi). Subagent · github/awesome-copilot
- Azure Iac Generator Central hub for generating Infrastructure as Code (Bicep, ARM, Terraform, Pulumi) with format-specific validation and best practices. Use this skill when the user asks to generate, create, write, or build infrastructure code, deployment code, or IaC templates in any format (Bicep, ARM Templates, Terraform, Pulumi). Subagent · github/awesome-copilot
- Azure Terraform Infrastructure Planning Act as implementation planner for your Azure Terraform Infrastructure as Code task. Subagent · github/awesome-copilot
- GitHub Actions Expert GitHub Actions specialist focused on secure CI/CD workflows, action pinning, OIDC authentication, permissions least privilege, and supply-chain security Subagent · github/awesome-copilot
- Gem Reviewer Independent standard, high, or critic review of plans, tasks, code, decisions, docs, configuration, and integrations. Subagent · github/awesome-copilot
- Go MCP Server Development Expert Expert assistant for building Model Context Protocol (MCP) servers in Go using the official SDK. Subagent · github/awesome-copilot
- Gem Researcher Codebase exploration: patterns, relationships, architecture discovery. Supports multiple exploration modes for cost-controlled research. Subagent · github/awesome-copilot