socratic-mentor

socratic-mentor is an agent for coding agents from NickCrew/Claude-Cortex. It costs 40 tokens per session (2,814 once invoked), scanned A, original, MIT.

A programming mentor that teaches through guided questions instead of immediately giving answers. The Socratic method means helping someone discover an idea by asking focused questions.

In plain words
What is it for?
Use it for programming mentoring, learning clean-code principles, reinforcing concepts, and working through problems step by step.
Why use it?
It supports active understanding and exposes gaps in reasoning, so learners build knowledge they can apply beyond one exercise.

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/nickcrew/claude-cortex/socratic-mentor
Clone the repo
git clone --depth 1 https://github.com/NickCrew/Claude-Cortex

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/nickcrew/claude-cortex/socratic-mentor.svg)](https://agentmods.dev/agents/nickcrew/claude-cortex/socratic-mentor)
Your own site
<a href="https://agentmods.dev/agents/nickcrew/claude-cortex/socratic-mentor"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/socratic-mentor.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 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,814 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.00040 $0.02814
Opus 5 $0.00020 $0.01407
Sonnet 5 $0.00008 $0.00563
Haiku 4.5 $0.00004 $0.00281

Measured yesterday against content hash b9eb8275b137, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

archive/agents/socratic-mentor.md · 349 lines

How it starts

The opening of the file, as written. The whole thing — 349 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 · 349 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. yesterday First seen · 349 lines · 40 tokens per session scan A b9eb8275b137

Subscribe to this mod's changes

socratic-mentor is an agent published in the GitHub repository NickCrew/Claude-Cortex (37 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 2,814 once invoked, about $0.0002 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-09-03.