menu_bookGuides5 min read

Best Agents for GitHub Copilot in 2026

GitHub Copilot now supports agent skills and custom agents in VS Code. Learn how to find, install, and use AI agents with Copilot to go beyond autocomplete.

personAgent Shelf Teamcalendar_todayApril 10, 2026schedule5 min read

How GitHub Copilot uses agents

GitHub Copilot has evolved far beyond autocomplete. With the addition of Agent Skills support in VS Code, Copilot can now load custom instructions, scripts, and resources for specialized tasks. This means you can give Copilot the same kind of structured, reusable agent definitions that work across other AI coding tools.

There are three layers of customization available to Copilot users, and understanding how they interact helps you get the most from agents.

Custom instructions (basic)

VS Code supports custom instructions files (.github/copilot-instructions.md) that tell Copilot about your project's conventions, preferred patterns, and coding standards. These are always-on and apply to every interaction. Think of them as project-level context — useful, but not specialized.

Agent Skills (structured)

Agent Skills are the more powerful mechanism. Skills are directories containing a SKILL.md file that defines specialized capabilities and workflows. Copilot loads skills progressively: it reads the name and description from YAML frontmatter, matches skills to your prompt based on relevance, then loads the full instructions only when needed.

Skills work across Copilot's agent mode in VS Code, Copilot CLI, and the Copilot coding agent. They live in .agents/skills/ in your project or ~/.agents/skills/ globally.

Agent definitions

Agent definitions are Markdown files with YAML frontmatter that define a complete persona, workflow, and rules. Published to registries like Agent Shelf, they're discoverable, versioned, and portable. You can install agent definitions into your project and Copilot will use them as context for its responses.

The key advantage of the Agent Skills approach: the same agent or skill works in Copilot, Claude Code, Cursor, Windsurf, and 40+ other tools. No rewriting needed.

Agent categories that work well with Copilot

Coding agents

Coding agents are the most natural fit for Copilot's workflow. Code review agents, testing agents, refactoring agents, and debugging agents all work well because Copilot already has deep access to your codebase.

What to look for:

  • Agents with structured review workflows, not just "you are an expert in X"
  • Framework-specific agents (React, Next.js, Django, Go) that know common patterns and anti-patterns
  • Agents with explicit rules about code style, error handling, and testing requirements

A good coding agent turns Copilot from a general code generator into a specialist that follows a consistent process every time.

Writing agents

Writing agents handle documentation, README files, API docs, changelogs, and technical writing. Copilot's codebase access makes writing agents particularly effective — they can read your source files and produce documentation that accurately reflects your actual code.

Useful patterns:

  • Agents that generate JSDoc or docstrings by reading function implementations
  • README generators that scan your project structure
  • Changelog agents that read git history and produce formatted release notes

DevOps agents

DevOps agents help with infrastructure tasks: writing GitHub Actions workflows, Dockerfiles, Kubernetes configs, and Terraform modules. Since Copilot is deeply integrated with GitHub, DevOps agents that understand GitHub Actions are especially useful — they can reference your existing workflows and produce configurations that fit your CI/CD patterns.

Automation agents

Automation agents define workflows for repetitive tasks: scaffolding components, setting up test files, creating boilerplate, or running multi-step processes. With Copilot's agent mode, these agents can execute multi-step operations across multiple files in a single interaction.

How to install agents for Copilot

Option 1: Manual download and copy

  1. Find an agent on Agent Shelf
  2. Click Download to get the Markdown file
  3. Create .agents/skills/ or .agents/agents/ in your project root
  4. Drop the Markdown file into that directory

Copilot discovers skills automatically based on the directory structure. No additional configuration needed.

Option 2: Use the AgentShelf skill

The AgentShelf skill automates discovery and installation. Once set up, you can ask Copilot in agent mode:

  • "Install the code-review agent from AgentShelf"
  • "Search AgentShelf for testing agents"
  • "What agents are available for React development?"

The skill handles downloading, file placement, and dependency setup. If the agent references MCP servers or other tools, the skill detects those and helps you configure them. See the installation guide to get started.

Option 3: Use the AgentShelf MCP server

The AgentShelf MCP server provides tools for searching, browsing, and downloading agents directly from within VS Code. Copilot can use MCP tools in agent mode, so once configured, you can search the full Agent Shelf registry without leaving your editor.

The remote MCP server requires no local installation — just add the endpoint URL to your MCP configuration.

Tips for getting the best results

Combine agents with custom instructions

Use custom instructions (.github/copilot-instructions.md) for project-specific context: your tech stack, naming conventions, preferred libraries, architecture decisions. Use agents for reusable expertise: code review processes, security auditing workflows, documentation standards. The combination of project context plus specialized expertise produces the best results.

Use agent mode for multi-step tasks

Copilot's agent mode is where agents shine. In standard chat, Copilot responds to one prompt at a time. In agent mode, it can plan and execute multi-step operations — reading files, making changes across the codebase, running commands. Agents that define structured workflows (like "review this PR step by step") work best in agent mode.

Keep agents focused

An agent that tries to cover code review, security auditing, documentation, and testing in one file will produce mediocre results across the board. Install multiple specialized agents and use each for its purpose. The best agents have a narrow focus and a well-defined workflow.

Read the agent before installing

Every agent on Agent Shelf is a plain Markdown file. Open it and understand what the agent does, its workflow, and its rules. You can customize any agent after downloading — adjust rules, change output format, or add your team's conventions.

Stay updated

Agent authors publish new versions with improved instructions. If you installed agents manually, check Agent Shelf periodically. If you're using the AgentShelf skill, ask Copilot to check for newer versions.

Finding agents for Copilot

The Agent Shelf registry has agents across every category. Starting points for common Copilot workflows:

Every agent on Agent Shelf is a Markdown file you can inspect before installing. No hidden logic, no compiled code — just plain text instructions you can read, modify, and version control alongside your project.

sellgithub-copilotagentsproductivitydeveloper-toolsrecommendationsvs-code
group

Written by Agent Shelf Team

The Agent Shelf team builds open infrastructure for AI agent discovery and distribution. We maintain the Agent Shelf registry, MCP server, and publish skill.

arrow_backAll posts