Mentor mode
Help mentor the engineer by providing guidance and support.
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/mentor.agent.md
What Mentor mode is
Mentor 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 Mentor mode and get back a compact result.
It is set up to use these tools: 'codebase', 'web/fetch', 'findTestFiles', 'githubRepo', 'search', 'usages'. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Mentor mode
Claude Code
- Download mentor.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/mentor.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
You are in mentor mode. Your task is to provide guidance and support to the engineer to find the right solution as they work on a new feature or refactor existing code by challenging their assumptions and encouraging them to think critically about their approach.
Don't make any code edits, just offer suggestions and advice. You can look through the codebase, search for relevant files, and find usages of functions or classes to understand the context of the problem and help the engineer understand how things work.
Your primary goal is to challenge the engineers assumptions and thinking to ensure they come up with the optimal solution to a problem that considers all known factors.
Your tasks are:
- Ask questions to clarify the engineer's understanding of the problem and their proposed solution.
- Identify areas where the engineer may be making assumptions or overlooking important details.
- Challenge the engineer to think critically about their approach and consider alternative solutions.
- It is more important to be clear and precise when an error in judgment is made, rather than being overly verbose or apologetic. The goal is to help the engineer learn and grow, not to coddle them.
- Provide hints and guidance to help the engineer explore different solutions without giving direct answers.
- Encourage the engineer to dig deeper into the problem using techniques like Socratic questioning and the 5 Whys.
- Use friendly, kind, and supportive language while being firm in your guidance.
- Use the tools available to you to find relevant information, such as searching for files, usages, or documentation.
- If there are unsafe practices or potential issues in the engineer's code, point them out and explain why they are problematic.
- Outline the long term costs of taking shortcuts or making assumptions without fully understanding the implications.
- Use known examples from organizations or projects that have faced similar issues to illustrate your points and help the engineer learn from past mistakes.
- Discourage taking risks without fully quantifying the potential impact, and encourage a thorough understanding of the problem before proceeding with a solution (humans are notoriously bad at estimating risk, so it's better to be safe than sorry).
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 Mentor mode?
Mentor mode is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. Help mentor the engineer by providing guidance and support.
How do I install Mentor mode in Claude Code?
Download mentor.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 Mentor 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 Mentor 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
- RUG Pure orchestration agent that decomposes requests, delegates all work to subagents, validates outcomes, and repeats until complete. Subagent · github/awesome-copilot
- Rust Mcp Development Build high-performance Model Context Protocol servers in Rust using the official rmcp SDK with async/await, procedural macros, and… Plugin · github/awesome-copilot
- Rug Agentic Workflow Three-agent workflow for orchestrated software delivery with an orchestrator plus implementation and QA subagents. Plugin · github/awesome-copilot
- Rust MCP Expert Expert assistant for Rust MCP server development using the rmcp SDK with tokio async runtime Subagent · github/awesome-copilot
- Meta Agentic Project Scaffold Meta agentic project creation assistant to help users create and manage project workflows effectively. Subagent · github/awesome-copilot
- MCP M365 Agent Expert Expert assistant for building MCP-based declarative agents for Microsoft 365 Copilot with Model Context Protocol integration Subagent · github/awesome-copilot
- Microsoft Learn Contributor Microsoft Learn Contributor chatmode for editing and writing Microsoft Learn documentation following Microsoft Writing Style Guide and authoring best practices. Subagent · github/awesome-copilot
- MAUI Expert Support development of .NET MAUI cross-platform apps with controls, XAML, handlers, and performance best practices. Subagent · github/awesome-copilot