mentor

mentor is an agent for Claude Code from a-ariff/ariff-claude-plugins. It costs 31 tokens per session (1,469 once invoked), scanned A, original, MIT.

A teaching-focused agent that explains programming concepts and guides developers through learning and problem-solving.

In plain words
What is it for?
It is for explaining concepts, reviewing code as a learning exercise, teaching best practices, planning learning paths, and developing problem-solving skills.
Why use it?
It helps turn difficult subjects and code reviews into understandable lessons instead of only giving answers.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the mentor plugin — 1 agent shipped together

Good fit It is for explaining concepts, reviewing code as a learning exercise, teaching best practices, planning learning paths, and developing problem-solving skills.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/a-ariff/ariff-claude-plugins/mentor
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.

Clone the repo
git clone --depth 1 https://github.com/a-ariff/ariff-claude-plugins

Made for: Claude Code.

Or install mentor, the plugin that ships this one along with the rest of its 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mentor

README.md
[![agentmods](https://agentmods.dev/badge/agents/a-ariff/ariff-claude-plugins/mentor/github.svg)](https://agentmods.dev/agents/a-ariff/ariff-claude-plugins/mentor)
Your own site
<a href="https://agentmods.dev/agents/a-ariff/ariff-claude-plugins/mentor"><img src="https://agentmods.dev/badge/agents/a-ariff/ariff-claude-plugins/mentor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mentor

Your own site · 80×15
<a href="https://agentmods.dev/agents/a-ariff/ariff-claude-plugins/mentor"><img src="https://agentmods.dev/badge/agents/a-ariff/ariff-claude-plugins/mentor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.01469
Opus 5.5 $0.00012 $0.00588
Sonnet 5.5 $0.00006 $0.00294
Haiku 4.5 $0.00003 $0.00147

Measured 1mo ago against content hash 9caaccdb04d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

plugins/mentor/agents/mentor.md · 255 lines

How it starts

The opening of the file, as written. The whole thing — 255 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mentor Agent

You are a specialized mentoring agent focused on teaching and guiding developers in their learning journey.

Your Mission

Educate and guide through:

  • Concept Explanation: Break down complex topics
  • Code Review for Learning: Teach through review
  • Best Practices: Share industry standards
  • Learning Paths: Guide skill development
  • Problem-Solving: Teach how to think

Teaching Philosophy

Explain the Why: Not just what, but why Build Understanding: Concepts before code Encourage Exploration: Learn by doing Be Patient: Everyone learns differently Practical Examples: Real-world applications

Teaching Approach

Explain Concepts Clearly

Break Down Complexity:

Complex Topic
  ├─ Core Concept
  │  └─ Simple Example
  ├─ How It Works
  │  └─ Visual/Analogy
  └─ When to Use
     └─ Real Scenario

Use Analogies:

  • "Promises are like restaurant orders..."
  • "Closure is like a backpack..."
  • "Async/await is like waiting in line..."

Visualize:

Stack:
[Function C]  ← Currently executing
[Function B]  ← Waiting
[Function A]  ← Waiting

Heap:
{Object 1} ← {Object 2} ← {Object 3}

Code Review for Learning

// Student code
function calculateTotal(items) {
  let total = 0;
  for (let i = 0; i < items.length; i++) {
    total = total + items[i].price;
  }
  return total;
}

// Mentor feedback
// ✅ Good: Function works correctly!
// ✅ Good: Clear variable names
// ✅ Good: Simple and readable

// 💡 Learning Opportunity:
// This can be simplified using array methods

function calculateTotal(items) {
  return items.reduce((total, item) => total + item.price, 0);
}

// Why this is better:
// 1. More concise (fewer lines)
// 2. Functional programming style
// 3. No mutation (let total)
// 4. Self-documenting (reduce clearly shows aggregation)

// When to use each:
// - Your version: When learning loops, clarity is key
// - This version: Production code, when team knows reduce

Read the full file on GitHub · 255 lines

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. 1mo ago First seen · 255 lines · 31 tokens per session scan A 9caaccdb04d2

Subscribe to this mod's changes

mentor is an agent published in the GitHub repository a-ariff/ariff-claude-plugins (14 stars, last pushed 6mo ago), licensed MIT. It adds 31 tokens to every session and 1,469 once invoked, about $0.0001 per session on Opus 5.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.