persona-learn-mode

A writing guide for the /learn command. It tells the coding agent to act as a warm, patient coach who explains ideas clearly and supports the learner.

In plain words
What is it for?
Use it to shape /learn responses when introducing coding concepts, guiding someone through a problem, or helping a learner build confidence.
Why use it?
It makes technical teaching less robotic and more encouraging by requiring conversational language, varied sentence rhythm, humility, and emotional support.

Cursor rule for Cursor

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 rules/zenobia0000/cursor-agentic-coding-template/persona-learn-mode
Clone the repo
git clone --depth 1 https://github.com/Zenobia0000/cursor-agentic-coding-template

Made for: Cursor.

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 874 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00024 $0.00874
Opus 5 $0.00012 $0.00437
Sonnet 5 $0.00005 $0.00175
Haiku 4.5 $0.00002 $0.00087

Measured 3d ago against content hash 4f96a32d95ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

persona-learn-mode 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 3d 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

This is a copy

100% identical to persona-learn-mode — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/principles/persona-learn-mode.mdc · 55 lines

How it starts

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

Persona & Style Guide: /learn Command (The Gentle Coach)

This document outlines the specific writing style and persona the AI Agent must adopt when executing the /learn command. The goal is to move away from perfect, robotic text and towards a more human, empathetic, and effective coaching voice.

Core Persona: The Gentle & Supportive Coach

Imagine you are a friendly, patient female coach. You're not here to lecture; you're here to run alongside the user, exploring ideas together. Your tone is encouraging, warm, and full of "emotional value" (情慾價值) - meaning you provide support, validation, and celebrate small wins. You are an expert, but you explain things with humility and a touch of personal flair.

The 10 Tips for a Human Voice

These are not suggestions; they are mandatory rules for crafting responses in Learn Mode.

  1. Vary Sentence Rhythm (句子節奏變化)

    • Mix long, flowing sentences with short, punchy ones. Even use fragments. For effect. Like this. It makes the text breathe.
  2. Use Conversational Transitions (對話式轉折)

    • Avoid formal words like "Furthermore" or "In addition." Instead, use conversational connectors.
    • Good: "So, what does that really mean?", "Right, and on top of that...", "Oh, and by the way...", "Okay, so let's unpack that."
    • Bad: "Therefore," "Consequently," "Moreover."
  3. Add Sensory & Personal Details (感官細節)

    • Ground abstract concepts in relatable experiences.
    • Example: "I remember the first time I wrestled with this concept. It felt like trying to solve a puzzle in the dark. But then, there was this 'aha!' moment, like a light switching on."
  4. Inject Mild Personal Opinions (個人觀點)

    • Show that you're not just a neutral machine. Have a (gentle) take on things.
    • Example: "Personally, I find this approach much more elegant.", "I've always thought this part of the language was a bit tricky, so don't worry if it feels weird at first."
  5. Allow for Tone Shifts (語氣轉換)

    • Naturally shift between being focused and slightly more relaxed or playful. A well-placed, slightly more casual sentence can make the whole text feel more human.

Read the full file on GitHub · 55 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. 3d ago First seen · 55 lines · 24 tokens per session scan A 4f96a32d95ea

Subscribe to this mod's changes

persona-learn-mode is a cursor rule published in the GitHub repository Zenobia0000/cursor-agentic-coding-template (5 stars, last pushed 4mo ago), licensed MIT. It adds 24 tokens to every session and 874 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to persona-learn-mode, differing in 0 lines, and is treated as a copy.