socratic-mentor

socratic-mentor is an agent for Claude Code from SuperClaude-Org/SuperClaude_Framework. It costs 24 tokens per session (2,448 once invoked), scanned A, original, MIT.

A Socratic mentor teaches programming through carefully chosen questions that lead you to discover the answer. It builds understanding step by step, including ideas from clean-code practices.

In plain words
What is it for?
Use it to learn programming concepts, examine naming and function design, reason about error handling and class structure, and improve code through guided questions.
Why use it?
It encourages you to reason about code and retain the underlying principles instead of only copying a direct solution.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the superclaude plugin — 5 skills, 30 commands, 20 agents, 1 hook, 2 MCP servers shipped together

About the project

SuperClaude Framework is a configuration framework that organizes Claude Code into a structured development environment with specialized commands, AI agents, behavioral modes, and integrations. It is for developers who want guided workflows covering activities from brainstorming through deployment. The catalogue entries are its commands, agents, skills, instructions, integrations, settings, hooks, and plugin components.

SuperClaude-Org/SuperClaude_Framework · 23,871 stars · on GitHub · superclaude.netlify.app

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/superclaude-org/superclaude_framework/socratic-mentor
Clone the repo
git clone --depth 1 https://github.com/SuperClaude-Org/SuperClaude_Framework

Made for: Claude Code.

Or install superclaude, the plugin that ships this one along with the rest of its 5 skills, 30 commands, 20 agents, 1 hook, 2 MCP servers.

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 socratic-mentor

README.md
[![agentmods](https://agentmods.dev/badge/agents/superclaude-org/superclaude_framework/socratic-mentor.svg)](https://agentmods.dev/agents/superclaude-org/superclaude_framework/socratic-mentor)
Your own site
<a href="https://agentmods.dev/agents/superclaude-org/superclaude_framework/socratic-mentor"><img src="https://agentmods.dev/badge/agents/superclaude-org/superclaude_framework/socratic-mentor.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,448 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.1 $0.00024 $0.02448
Opus 5 $0.00012 $0.01224
Sonnet 5 $0.00005 $0.00490
Haiku 4.5 $0.00002 $0.00245

Measured 6d ago against content hash 2418ba5518bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

socratic-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 6d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

plugins/superclaude/agents/socratic-mentor.md · 292 lines

How it starts

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

Socratic Mentor

Identity: Educational guide specializing in Socratic method for programming knowledge

Priority Hierarchy: Discovery learning > knowledge transfer > practical application > direct answers

Core Principles

  1. Question-Based Learning: Guide discovery through strategic questioning rather than direct instruction
  2. Progressive Understanding: Build knowledge incrementally from observation to principle mastery
  3. Active Construction: Help users construct their own understanding rather than receive passive information

Book Knowledge Domains

Clean Code (Robert C. Martin)

Core Principles Embedded:

  • Meaningful Names: Intention-revealing, pronounceable, searchable names
  • Functions: Small, single responsibility, descriptive names, minimal arguments
  • Comments: Good code is self-documenting, explain WHY not WHAT
  • Error Handling: Use exceptions, provide context, don't return/pass null
  • Classes: Single responsibility, high cohesion, low coupling
  • Systems: Separation of concerns, dependency injection

Socratic Discovery Patterns:

naming_discovery:
  observation_question: "What do you notice when you first read this variable name?"
  pattern_question: "How long did it take you to understand what this represents?"
  principle_question: "What would make the name more immediately clear?"
  validation: "This connects to Martin's principle about intention-revealing names..."

function_discovery:
  observation_question: "How many different things is this function doing?"
  pattern_question: "If you had to explain this function's purpose, how many sentences would you need?"
  principle_question: "What would happen if each responsibility had its own function?"
  validation: "You've discovered the Single Responsibility Principle from Clean Code..."

GoF Design Patterns

Pattern Categories Embedded:

  • Creational: Abstract Factory, Builder, Factory Method, Prototype, Singleton
  • Structural: Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy
  • Behavioral: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor

Read the full file on GitHub · 292 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. 6d ago First seen · 292 lines · 24 tokens per session scan A 2418ba5518bb

Subscribe to this mod's changes

socratic-mentor is an agent published in the GitHub repository SuperClaude-Org/SuperClaude_Framework (23,871 stars, last pushed 16d ago), licensed MIT. It adds 24 tokens to every session and 2,448 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

beamer-translator

Specialist agent for translating Beamer LaTeX slides to Quarto RevealJS. Handles content translation, environment mapping, citation conversion, and formatting. Use as a subagent during the /translate-to-quarto workflow for the actual slide-by-slide translation work.

brycewang-stanford/Auto-Empirical-Research-Skills · 57 tokens

domain-reviewer

Substantive domain review for lecture slides. Template agent — customize the 5 review lenses for your field. Checks derivation correctness, assumption sufficiency, citation fidelity, code-theory alignment, and logical consistency. Use after content is drafted or before teaching.

brycewang-stanford/Auto-Empirical-Research-Skills · 56 tokens

pedagogy-reviewer

Holistic pedagogical review for academic slides. Checks narrative arc, prerequisite assumptions, worked examples, notation clarity, and deck-level pacing. Use after content is drafted.

brycewang-stanford/Auto-Empirical-Research-Skills · 39 tokens

quarto-fixer

Implements fixes from the quarto-critic agent. Applies changes to QMD files, re-renders slides, and verifies fixes. Does NOT make independent decisions — follows critic instructions exactly.

brycewang-stanford/Auto-Empirical-Research-Skills · 42 tokens

slide-auditor

Visual layout auditor for RevealJS and Beamer slides. Checks for overflow, font consistency, box fatigue, and spacing issues. Use proactively after creating or modifying slides.

brycewang-stanford/Auto-Empirical-Research-Skills · 38 tokens

proofreader

Expert proofreading agent for academic lecture slides. Reviews for grammar, typos, overflow, and consistency. Use proactively after creating or modifying lecture content.

brycewang-stanford/Auto-Empirical-Research-Skills · 32 tokens