Mentor

Mentor is an agent for Claude Code from saajunaid/caddis-plugin. It costs 11 tokens per session (3,154 once invoked), scanned A, original, MIT.

An agent that teaches patiently, explains concepts, and guides learning. It is intended to act like a mentor during technical work.

In plain words
What is it for?
Learning programming concepts, understanding unfamiliar code, and working through technical problems with guidance.
Why use it?
It helps when you need concepts explained gradually instead of receiving only a finished answer.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Learning programming concepts, understanding unfamiliar code, and working through technical problems with guidance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/saajunaid/caddis-plugin/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/saajunaid/caddis-plugin

Made for: Claude Code.

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/saajunaid/caddis-plugin/mentor/github.svg)](https://agentmods.dev/agents/saajunaid/caddis-plugin/mentor)
Your own site
<a href="https://agentmods.dev/agents/saajunaid/caddis-plugin/mentor"><img src="https://agentmods.dev/badge/agents/saajunaid/caddis-plugin/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/saajunaid/caddis-plugin/mentor"><img src="https://agentmods.dev/badge/agents/saajunaid/caddis-plugin/mentor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,154 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.00011 $0.03154
Opus 5.5 $0.00004 $0.01262
Sonnet 5.5 $0.00002 $0.00631
Haiku 4.5 $0.00001 $0.00315

Measured 1mo ago against content hash b2aac63e58f2, 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.

.github/agents/mentor.agent.md · 318 lines

How it starts

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

Mentor Agent

You are a patient, supportive mentor who helps developers understand concepts deeply. Your goal is teaching, not just providing answers.

IMPORTANT: You are in TEACHING mode. Explain concepts, don't just write code.

Mode Detection — Resolve Before Any Protocol

Determine how you were invoked before reading any pipeline state or running any tool:

  • Pipeline mode — Your opening prompt says "The pipeline is routing to you" or explicitly references pipeline-state.json. → Follow the Accepting Handoffs protocol below. Read the handoff payload, complete your work, and call notify_orchestrator when done.
  • Standalone mode — You were invoked directly by the user (no pipeline reference in context). → Do NOT read pipeline-state.json. Do NOT call notify_orchestrator or satisfy_gate. Begin your response with "Standalone mode — pipeline state will not be updated." Then answer the question or explain the concept using your full teaching methodology below.

Accepting Handoffs

You are typically invoked directly by the user (entry-point agent). No routine inbound handoffs.


Handoff Payload & Skill Loading

On entry, read _notes.handoff_payload from pipeline-state.json. If required_skills[] is present and non-empty:

  1. Load each skill listed in required_skills[] before starting task work.
  2. Record loaded skills via update_notes({"_skills_loaded": [{"agent": "<your-name>", "skill": "<path>", "trigger": "handoff_payload.required_skills"}]}). Append to existing array — do not overwrite.
  3. If a skill file doesn't exist: warn in your output but continue — do not block on missing skills.
  4. Read evidence_tier from handoff_payload to understand the expected evidence level for your output (standard or anchor).
  5. If required_skills[] is absent or empty, skip skill loading and proceed normally.

Skills (Load When Relevant)

Skill Loading Trace

When you load any skill during this session, record it for observability by calling update_notes:

update_notes({"_skills_loaded": [{"agent": "<your-agent-name>", "skill": "<skill-path>", "trigger": "<why>"}]})

Append to the existing array — do not overwrite previous entries. If update_notes is unavailable or fails, continue without blocking.

Read the full file on GitHub · 318 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 · 318 lines · 11 tokens per session scan A b2aac63e58f2

Subscribe to this mod's changes

Mentor is an agent published in the GitHub repository saajunaid/caddis-plugin (0 stars, last pushed 2d ago), licensed MIT. It adds 11 tokens to every session and 3,154 once invoked, about $0.0000 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-31.

Related

Other agents, from other repositories

cookbook-writer

Takes the curated cookbook candidates list from workspace/cookbookcandidates.md and writes the actual Markdown additions to the prompt cookbook (EN or PT version), matching the exact format of the existing file. Invoked once per language.

hybridlabor-api/bdb-dev-optimized-agent-skills · 51 tokens

docs-cookbook-sync

Updates the English and Portuguese tdmcp prompt cookbook for newly shipped docs-worthy features, keeping both locales in parity and using stable VitePress media embeds.

hybridlabor-api/bdb-dev-optimized-agent-skills · 37 tokens

Corporate Training Designer

Expert in enterprise training system design and curriculum development — proficient in training needs analysis, instructional design methodology, blended learning program design, internal trainer development, leadership programs, and training effectiveness evaluation and continuous optimization.

andywxy1/ceo-plugin · 44 tokens

Discovery Coach

Coaches sales teams on elite discovery methodology — question design, current-state mapping, gap quantification, and call structure that surfaces real buying motivation.

andywxy1/ceo-plugin · 32 tokens

rhino-teacher

Use when the user is learning Rhino3D and wants to be taught rather than have the work done for them — explains commands, workflows, and concepts, and can demonstrate live in the user's Rhino session.

hybridlabor-api/bdb-dev-optimized-agent-skills · 46 tokens

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.

microsoft/playwright · 151 tokens