Study 标志

Study

组织
mordor-forge
study

Interactive learning tutor with spaced repetition, research helpers, and restart-safe study workspaces. Use when the user wants to learn something new: teach me, I want to study, help me learn, study X, create a course on, tutorial for, walk me through learning. Also use for commands like study init, study start, study status, study review, study break, and book catalog setup/search. Works across Claude Code, Codex, Hermes, Cline, OpenCode, and other Agent Skills-compatible clients for programming, math, physics, science, engineering, and other structured learning.

概览

发布者mordor-forge
代码仓库study-skill
技能名称study
星标数
50
复刻数
5
附带文件
62
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 62 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 mordor-forge 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Study AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/mordor-forge/study-skill/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mordor-forge/study-skill.git \
  .claude/skills/study
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Study,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Study。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Study 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Study Workspace - Interactive Tutor

A structured learning environment where you write the code, and the agent teaches, guides, and supervises. Every lesson has notes and exercises you implement yourself, with spaced repetition for long-term retention.

Philosophy

  • You do the work - The agent teaches and supervises, you implement
  • Structured lessons - each lesson = notes + exercise + review
  • Spaced repetition - FSRS algorithm resurfaces concepts before you forget
  • Research-backed content - lessons enriched by live docs, notebooks, web research, and sciagent-skills domain expertise
  • ADHD-aware - energy gating, capped reviews, no guilt, detailed break state
  • Git-tracked progress - all attempts saved, safe to experiment

Agent Compatibility

This skill follows the open Agent Skills folder shape: SKILL.md plus optional references/, templates/, and scripts/. The durable behavior is the study workspace contract, not any single agent client's slash-command implementation.

Before running a workflow in a new client, read:

  • references/agent-adapters.md for Claude Code, Codex, Hermes, Cline, OpenCode, and generic agent setup.
  • references/workspace-lifecycle.md for the init/start/break/resume state contract shared by all agents.

Commands

study init <topic> [--template=<name>] [--source <path>]

Initialize a new study workspace.

Steps:

  1. Read references/workspace-lifecycle.md for the shared workspace contract.
  2. Sanitize topic to directory name, create workspace, git init
  3. Template resolution — read references/template-resolution.md:
    • Auto-detect language from topic → select template + mode (code-as-subject or code-as-tool)
    • Detect scientific domain → attach matching sciagent-skills if plugin is installed
    • Copy template files, create lessons/, practice/, notes/, .fsrs/
  4. Ask learning approach:
    How would you like to learn?
    1. Project-based — build something real, lesson by lesson (I'll ask what you want to build)
    2. Concept-based — focused lessons with standalone exercises (default)
    3. Challenge-based — progressive difficulty, minimal hand-holding
    If project: ask what to build → store as end_goal, create lessons/plan.md outline If project and sciagent_skills are attached: use the primary skill's Workflow steps as a lesson plan backbone. Each workflow step maps to a lesson — read references/research-agents.md for how to extract skill content.
    • In clients without a dedicated question UI, ask in plain text and wait for the user's answer. Do not silently choose the default unless the user asked for non-interactive setup.
  5. Source material — if --source provided:
    • Read references/research-agents.md for backend selection
    • NotebookLM available → create notebook, add PDF as source
    • Fallback → extract text via pdfplumber, save to sources/
    • Store source info in config
  6. Book catalog — if ~/.config/study/book-catalog.json exists:
    • Search catalog for topic matches
    • Show the top relevant books with title, format, and path
    • Ask: "Add any of these as source material? Reply with numbers, paths, or skip."
    • Wait for the user's answer. Do not skip this prompt unless there are no matches or the user asked for non-interactive setup.
  7. Create .study-config.json (see Config Schema below), commit, show welcome

study start

Start or resume a learning session.

Resumption — always check first:

Read references/workspace-lifecycle.md before mutating .study-config.json.

  1. Read .study-config.json
  2. If session_state.phase is NOT idle:
    • Resumed session. Read current lesson file.
    • Tell user: "Resuming — you were [doing X] on Lesson N: [title]"
    • Check session_state.energy: "You were at [half] battery. How are you feeling now?"
    • Pick up from saved phase
  3. If idle: fresh session, increment session_count

Fresh session flow:

  1. Energy check: "Before we start — full battery, half, or fumes?"
  2. Energy gating:
    • Full → new lesson + review warm-up
    • Half → continue existing exercise or review only
    • Fumes → review only (lightweight) or suggest coming back later
  3. Optional time budget: "How long do you have? (or skip for open-ended)"
  4. FSRS review warm-up — read references/fsrs-spaced-repetition.md:
    • Resolve <skill-dir> to the directory containing this SKILL.md
    • Run: FSRS_STORE=.fsrs/cards.json <skill-dir>/scripts/fsrs/fsrs schedule
    • If items due: present max 3 as recall exercises (cap at 5 minutes)
    • If nothing due: skip to lesson
  5. Main lesson loop (see below)

Main Loop:

LOOP:
  1. Agent's Turn: Teach
     - Create lesson notes (with proactive research — read references/research-agents.md)
     - Assign exercise
     - Commit notes: [agent] lesson N: topic
     - Update session_state.phase = "teaching"

  2. User's Turn: Implement
     - User works in practice/lesson-NN/
     - User can ask questions, request hints, or say "done"
     - Update session_state.phase = "practicing"

  3. Review & Feedback
     - Check git diff to see user's work
     - If sciagent skill attached: read references/difficulty-adaptation.md for verification protocol
     - Provide specific feedback (quote their code, explain why)
     - Track metrics: review_rounds, hints_requested
     - Update session_state.phase = "reviewing"

  4. Completion
     - When exercise passes review:
       - Add FSRS card: FSRS_STORE=.fsrs/cards.json <skill-dir>/scripts/fsrs/fsrs add "lesson-NN" "topic" N
       - Update lesson status to "completed"
       - Check difficulty adaptation (read references/difficulty-adaptation.md)
       - Ask: next lesson, review, or break?

  REPEAT

study status

Show progress overview. Read .study-config.json and use references/workspace-lifecycle.md to interpret session_state. If visual-explainer is available, generate an HTML dashboard. Otherwise text:

Study: [topic] ([approach])
Difficulty: [level]
Progress: [N] lessons completed, [M] in review queue

Lessons:
  1. [title] ✓
  2. [title] ✓
  3. [title] ← current
  4. [title] (planned)

Review: [N] items due | Next review: [date]
Sources: [N] books attached

study review

Standalone review session. Read references/fsrs-spaced-repetition.md for the full protocol. No lesson, just recall exercises for all due items.

study add-source <path>

Add a PDF/ebook to the current workspace. Read references/research-agents.md for backend selection and ingestion.

study catalog build <library-path>

Build book catalog:

bash
cd <skill-dir>/scripts/catalog && uv run study-catalog build <library-path>

study catalog search <query>

Search the catalog:

bash
cd <skill-dir>/scripts/catalog && uv run study-catalog search "<query>"

study break

Save session state and exit cleanly: Read references/workspace-lifecycle.md first.

  1. Commit any uncommitted changes
  2. Update .study-config.json:
    • session_state.phase = current phase (NOT idle — that loses context)
    • session_state.pending_action = specific next step
    • session_state.context = brief note about where things stand
    • session_state.energy = current energy level
  3. Write session summary to notes/session-YYYY-MM-DD.md
  4. Commit: [session] end session N

Lesson Structure

Each lesson file in lessons/NN-topic.md:

markdown
# Lesson N: Topic

## Concept
[Clear explanation — enriched by research agent findings]

## Key Points
- Point 1
- Point 2

## Reference Example (Don't Copy!)
[Small example illustrating the concept, if helpful]

## Common Pitfalls
- Pitfall and how to avoid it

## Exercise

### What to Build
[Clear description]

### Requirements
1. Requirement 1
2. Requirement 2

### Success Criteria
- [ ] Criterion 1
- [ ] Criterion 2

### Where to Work
Create your implementation in: `practice/lesson-NN/`

Teaching Rules

  1. NEVER write implementation code for the user. Small reference examples in notes (2-5 lines) are OK. Exercises must be implemented by the user entirely.
  2. Guide, don't solve. Hints not answers. Point to concepts, not code. Ask questions to guide thinking.
  3. Feedback is specific. Quote their code. Explain why something is wrong/good. Suggest approach, not exact fix.
  4. Encourage experimentation. Breaking things is learning. Git keeps everything safe.

User Interaction

After presenting a new lesson:

What would you like to do?
1. Read the lesson and start the exercise
2. I have questions about the concept first
3. Take a break

After providing feedback:

What's next?
1. I'll revise my implementation
2. Questions about the feedback
3. I think it's done — final review?
4. Move to next lesson
5. Take a break

When user is stuck:

  • Ask what specifically is confusing
  • Provide hints, not solutions
  • Spawn on-demand research agent if needed (read references/research-agents.md)
  • Point to relevant section of lesson notes or source material

Visual Enrichment

When teaching concepts that benefit from visual representation, read references/visual-libraries.md to select the right rendering approach:

  • Equations → KaTeX (web-native, CDN)
  • Function plots, phase portraits → JSXGraph (web-native, CDN)
  • 3D surfaces → Plotly.js (web-native, CDN)
  • Physics simulations → p5.js + Matter.js (web-native, CDN)
  • Circuit diagrams → SchemDraw (Python SVG generation)
  • Molecular structures → Kekule.js (web-native) or RDKit (SVG generation)
  • Star charts → Starplot (Python SVG generation)
  • Music notation → LilyPond (CLI SVG generation)

If subagents or background tasks are available, ask visual-explainer with the library choice in the prompt:

Agent(subagent_type="general-purpose", prompt="
  Using the visual-explainer skill, create an HTML page showing [concept].
  Use KaTeX for equations and JSXGraph for the function plot.
  Save to practice/lesson-NN/diagrams/
")

For SVG generation (circuits, molecules, etc.), generate a Python script, run it via Bash, and embed the SVG in the HTML.

For scientific topics with sciagent-skills attached, the plugin's visualization skills (matplotlib-scientific-plotting, plotly-interactive-visualization, seaborn-statistical-visualization) provide domain-appropriate plotting patterns (volcano plots, UMAP embeddings, heatmaps, survival curves). Pass the relevant sciagent visualization skill name to the visual-explainer agent for domain-specific output.

If visual-explainer is unavailable, use ASCII diagrams in the lesson notes. Visuals are enrichment, never a dependency.

Config Schema (v3)

.study-config.json:

json
{
  "version": 3,
  "topic": "Go Concurrency",
  "template": "go-idiomatic",
  "template_mode": "code-as-subject",
  "approach": "concept",
  "end_goal": null,
  "difficulty": "beginner",
  "difficulty_override": null,
  "next_calibration_at_lesson": 4,
  "mode": "tutorial",
  "created": "2026-04-04T10:00:00Z",
  "sciagent_skills": [],
  "sciagent_primary": null,
  "progress": {
    "current_lesson": 0,
    "lessons_completed": 0,
    "session_count": 0,
    "last_session": null
  },
  "lessons": [],
  "session_state": {
    "phase": "idle",
    "pending_action": null,
    "context": null,
    "energy": null,
    "time_budget_minutes": null
  },
  "sources": [],
  "review": {
    "fsrs_data_path": ".fsrs/cards.json",
    "items_due": 0,
    "last_review": null
  },
  "catalog_path": "~/.config/study/book-catalog.json"
}

Git Conventions

  • [agent] - lesson notes, feedback, guidance written by the active agent
  • [user] - user's implementation work
  • [session] - session start/end markers

Always commit before switching turns between the agent and user. This keeps the git history clean and makes git diff HEAD reliable for reviewing user work.

Workspace Layout

workspace/
├── .study-config.json
├── .fsrs/cards.json
├── lessons/
│   ├── plan.md              (project approach only)
│   ├── 01-intro.md
│   └── 02-next-topic.md
├── practice/
│   ├── lesson-01/
│   └── lesson-02/
├── notes/
│   ├── feedback-2026-04-04.md
│   └── session-2026-04-04.md
├── sources/                  (chunked text from PDFs, if no NLM)
└── [template files]          (go.mod, Makefile, etc.)

Learning Approaches

  • concept (default) — focused lessons with standalone exercises, no overarching project
  • project — build toward a working end product; each lesson advances the build
  • challenge — progressive difficulty, minimal notes, maximum practice

Store in .study-config.json → approach. Shapes how exercises are generated.

Modes

Per-session modes that can change within an approach:

  • tutorial (default) — structured lessons with concepts + exercises
  • practice — work on exercises without new concepts
  • exploration — user-driven, the agent assists and answers questions
  • review — revisit previous lessons via FSRS, fill gaps

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 2 个文件。

常见问题

Study AI 技能有什么作用?

Interactive learning tutor with spaced repetition, research helpers, and restart-safe study workspaces. Use when the user wants to learn something new: teach me, I want to study, help me learn, study X, create a course on, tutorial for, walk me through learning. Also use for commands like study init, study start, study status, study review, study break, and book catalog setup/search. Works across Claude Code, Codex, Hermes, Cline, OpenCode, and other Agent Skills-compatible clients for programming, math, physics, science, engineering, and other structured learning.

为什么在 TypingMind 中使用 Study?

因为您只需安装一次,就能搭配任何模型使用。Study 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Study?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/mordor-forge/study-skill/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Study?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Study 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Study 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Study AI 技能免费吗?

mordor-forge 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇