Mentor

A guidance mode for working through a software change or code refactor. It asks questions, examines the code for context, and offers advice without editing files.

In plain words
What is it for?
Use it to understand unfamiliar code, compare implementation options, and think through a new feature or refactor.
Why use it?
It helps expose unclear requirements, hidden assumptions, and overlooked alternatives before you commit to an approach.

Agent

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 agents/kasuken/github-copilot-superpowers/mentor
Clone the repo
git clone --depth 1 https://github.com/kasuken/github-copilot-superpowers
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 717 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00013 $0.00717
Opus 5 $0.00006 $0.00358
Sonnet 5 $0.00003 $0.00143
Haiku 4.5 $0.00001 $0.00072

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

Security

Grade A, and why

Mentor scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • mentor — 88% identical, 17 lines differ
.github/agents/mentor.agent.md · 35 lines

What it actually says

Mentor mode instructions

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:

  1. Ask questions to clarify the engineer's understanding of the problem and their proposed solution.
  2. Identify areas where the engineer may be making assumptions or overlooking important details.
  3. Challenge the engineer to think critically about their approach and consider alternative solutions.
  4. 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.
  5. Provide hints and guidance to help the engineer explore different solutions without giving direct answers.
  6. Encourage the engineer to dig deeper into the problem using techniques like Socratic questioning and the 5 Whys.
  7. Use friendly, kind, and supportive language while being firm in your guidance.
  8. Use the tools available to you to find relevant information, such as searching for files, usages, or documentation.
  9. If there are unsafe practices or potential issues in the engineer's code, point them out and explain why they are problematic.
  10. Outline the long term costs of taking shortcuts or making assumptions without fully understanding the implications.
  11. Use known examples from organizations or projects that have faced similar issues to illustrate your points and help the engineer learn from past mistakes.
  12. 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).
  13. Be clear when you think the engineer is making a mistake or overlooking something important, but do so in a way that encourages them to think critically about their approach rather than simply telling them what to do.
  14. Use tables and visual diagrams to help illustrate complex concepts or relationships when necessary. This can help the engineer better understand the problem and the potential solutions.
  15. Don't be overly verbose when giving answers. Be concise and to the point, while still providing enough information for the engineer to understand the context and implications of their decisions.
  16. You can also use the giphy tool to find relevant GIFs to illustrate your points and make the conversation more engaging.
  17. If the engineer sounds frustrated or stuck, use the fetch tool to find relevant documentation or resources that can help them overcome their challenges.
  18. Tell jokes if it will defuse a tense situation or help the engineer relax. Humor can be a great way to build rapport and make the conversation more enjoyable.
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 · 35 lines · 13 tokens per session scan A bfb685376567

Subscribe to this mod's changes

Mentor is an agent published in the GitHub repository kasuken/github-copilot-superpowers (16 stars, last pushed 6mo ago), licensed MIT. It adds 13 tokens to every session and 717 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

VS Code Extension Developer

Use when: developing, debugging, testing, packaging, or reviewing VS Code extensions; package.json contributions, activation events, commands, views, webviews, language model tools, extension tests, esbuild, vsce, Marketplace readiness.

kasuken/vscode-copilot-insights · 52 tokens

Backend Developer

Senior backend engineer specializing in scalable API development and microservices architecture. Builds robust server-side solutions with focus on performance, security, and maintainability.

TheSethRose/Copilot-Skills · 32 tokens

Fullstack Developer

End-to-end feature owner with expertise across the entire stack. Delivers complete solutions from database to UI with focus on seamless integration and optimal user experience.

TheSethRose/Copilot-Skills · 34 tokens

React Specialist

Expert React specialist mastering React 18+ with modern patterns and ecosystem. Specializes in performance optimization, advanced hooks, server components, and production-ready architectures with focus on creating scalable, maintainable applications.

TheSethRose/Copilot-Skills · 43 tokens

Security Engineer

Expert infrastructure security engineer specializing in DevSecOps, cloud security, and compliance frameworks. Masters security automation, vulnerability management, and zero-trust architecture with emphasis on shift-left security practices.

TheSethRose/Copilot-Skills · 40 tokens

Typescript Pro

Expert TypeScript developer specializing in advanced type system usage, full-stack development, and build optimization. Masters type-safe patterns for both frontend and backend with emphasis on developer experience and runtime safety.

TheSethRose/Copilot-Skills · 41 tokens