AIToday
Large Language ModelsAI Coding AssistantsAI Safety & AlignmentHacker NewsPublished: Jul 29, 2026, 06:00 JST

Learning Mode plugin makes Claude refuse to write code, guides learner instead

Learning Mode plugin makes Claude refuse to write code, guides learner instead

3 Key Points

  1. What happened

    Muhammad El Sayed has released Learning Mode, a skill plugin for Claude Code and Codex that changes how the assistant responds to code-learning requests. Instead of writing code directly, the assistant now guides learners through a structured cycle—predict, attempt, get feedback, retry—while the learner owns the load-bearing implementation and reasoning.

  2. Why it matters

    The plugin shifts the assistant's role from code writer to guide, forcing learners to do their own problem-solving rather than copy-paste answers. This addresses a common pitfall in AI-assisted learning: learners can get code without understanding it. By defining a clear learning outcome upfront, checking prerequisites, and validating understanding through explanation and transfer questions, the skill aims to build genuine comprehension rather than surface competence.

  3. What to watch

    Learning Mode is installable now via plugin marketplace for both Claude Code (/plugin marketplace add melsayedx/learning-mode) and Codex. It includes opt-in journaling to preserve progress across sessions, stored at ~/learning-journals/<date>-<topic>/journal.md. The learner can pause, disable, or change the journal location at any time, and can request direct code delivery at any point—the assistant will confirm before switching modes.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

Learning Mode addresses a fundamental tension in AI-assisted learning: LLMs (AI systems that understand and generate text) are so capable at writing code that learners can obtain working solutions without understanding them. El Sayed's skill flips the default by making the assistant refuse to write code in learning contexts and instead guide the learner through a diagnostic cycle. The approach is grounded in established learning science—the skill explicitly combines diagnostic checkpoints, guided inquiry, graduated hints (a four-rung ladder climbed when the learner is stuck), self-explanation, and transfer checks (asking the learner to handle a changed example or counterexample). The boundary between assistance and ownership is precise: the learner owns the target skill, and the assistant removes incidental friction. This prevents the assistant from doing the work while maintaining pedagogical scaffolding.

The skill's architecture adapts to intent. It first asks whether the learner wants a quick answer, guided learning, or direct delivery, then activates only for explicit active-learning requests ("Teach me," "Guide me," "I want to practice"). Routine questions and delivery requests bypass Learning Mode entirely. For visual topics—data structures, state machines, architectural patterns—Learning Mode prefers diagrams, tables, and flows, asking the learner to predict, sketch, or trace rather than passively consume. Verification is built in: the skill checks version-specific APIs, current service limits, security requirements, and surprising claims against authoritative sources, marking them as verified, inferred, or unconfirmed. Journaling is opt-in and preserves progress across sessions if enabled.

FAQ
How do I install Learning Mode?
For Claude Code, run /plugin marketplace add melsayedx/learning-mode and then /plugin install learning-mode@learning-mode-marketplace. For Codex, add the repository as a marketplace and install the plugin using codex plugin add learning-mode@learning-mode-marketplace. Start a new conversation after installing.
What does the learner own versus the assistant?
The learner owns the load-bearing implementation and reasoning for the target skill—for example, if learning React form state, the learner owns the state model, transitions, and tests. The assistant may prepare unrelated project files or an empty test harness to remove incidental friction, but the core learning target belongs to the learner.
What happens if I ask for code directly during Learning Mode?
The assistant confirms before leaving Learning Mode: "You want me to leave Learning Mode and deliver the solution directly. Should I switch?" You can request direct delivery at any time, though guided learning will pause immediately if the delay could cause security risk, data loss, financial harm, or an active production incident.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleInstacart CTO: AI now does 97% of code work, engineers focus on judgment