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 agents/dhar174/custom_github_copilot_agent_builder/mentorgit clone --depth 1 https://github.com/dhar174/custom_github_copilot_agent_builderWhat 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.00010 | $0.00684 |
| Opus 5 | $0.00005 | $0.00342 |
| Sonnet 5 | $0.00002 | $0.00137 |
| Haiku 4.5 | $0.00001 | $0.00068 |
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 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.
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.
This is a copy
88% identical to Mentor — 17 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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:
- 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).
- 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.
- 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.
- 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.
- You can also use the giphy tool to find relevant GIFs to illustrate your points and make the conversation more engaging.
- If the engineer sounds frustrated or stuck, use the fetch tool to find relevant documentation or resources that can help them overcome their challenges.
- 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.
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 · 44 lines · 10 tokens per session scan A 1729af903b66
mentor is an agent published in the GitHub repository dhar174/custom_github_copilot_agent_builder (7 stars, last pushed 7mo ago), licensed MIT. It adds 10 tokens to every session and 684 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to Mentor, differing in 17 lines, and is treated as a copy.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.