Skip to content
Skill

Ljg teach

Teaches a concept through choices and surprises before naming it

Ljg teach is an open-source agent skill for productivity. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
7.8K
Last commit
License
MIT
Listing updated

Similar skills

About Ljg teach

ljg-teach is a Chinese-language teaching method for an agent. Instead of starting with a definition, the agent sets up a short scenario that fits the learner's apparent level, asks for a choice with a reason, and then lets the scenario move one step forward so that the old mental model stops explaining the result. Only after the learner's reasoning has been mirrored back does the agent name the underlying structure, and then it tests the idea again in a differently worded scenario.

The skill also sets rules for fairness: a surprise must follow from the information already given, failures are not invented, and value disagreements are separated from factual predictions rather than presented as a single correct answer. Sessions run one question at a time, and the learner can ask to change scenario, get a hint, reveal the explanation, or stop at any point.

The skill is plain instructions with no scripts or extra files. It works through the conversation itself and does not write notes or files unless asked.

When your agent uses it

用体验而不是定义来教授概念、原理或检验观点:先给与学习者认知水平相称的局面,让其选择,再用公平的意外显化认知缺口,结构化后才命名,并以迁移局面循环复测。USE WHEN 用户调用 '/ljg-teach'、说 '用情境教我'、'别先讲答案'、'通过案例让我学会',或希望通过选择与反馈理解一个概念或观点。NOT FOR 直接定义查询(用 ljg-is/ljg-word)、八维概念解剖(用 ljg-learn)、伴读文本(用 ljg-read)。

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (8 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the ljg-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add lijigang/ljg-skills
/plugin install ljg-skills@ljg-skills

Or copy only this skill to ~/.claude/skills/ljg-teach:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ljg-teach &&
cp -R "$tmp/skills/ljg-teach" ~/.claude/skills/ljg-teach &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/ljg-teach inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/ljg-teach to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ljg-teach &&
cp -R "$tmp/skills/ljg-teach" ~/.agents/skills/ljg-teach &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/ljg-teach inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/ljg-teach to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ljg-teach &&
cp -R "$tmp/skills/ljg-teach" ~/.cursor/skills/ljg-teach &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/ljg-teach inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/lijigang/ljg-skills.git --path skills/ljg-teach

Or copy the folder to ~/.gemini/skills/ljg-teach yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ljg-teach:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ljg-teach &&
cp -R "$tmp/skills/ljg-teach" ~/.copilot/skills/ljg-teach &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/ljg-teach inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/lijigang/ljg-skills.git

Then copy ljg-skills/skills/ljg-teach into your agent's skills folder as ljg-teach. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Scenario-first teaching
Starts with a decision-making situation matched to the learner's current understanding rather than a definition.
Fair surprise steps
Moves the scenario forward one step so that the learner's old assumption is exposed without tricks or invented failures.
Naming after structure
Introduces the concept name only after the learner has seen the underlying structure in their own reasoning.
Transfer testing
Re-tests understanding with a different surface story to check whether the new model is actually used.
Learner control
Supports commands to change scenario, give a hint, reveal the answer, continue, or stop.
Concept and claim checks
Works for learning a concept or testing a claim, separating facts, value weights and constraints.

Good for

  • Teach me opportunity cost through a decision without giving me the definition first
  • Test whether the claim that transparency always builds trust holds up
  • Walk me through sunk cost with a scenario and let me choose
  • Explain a principle by letting me make a choice and then giving feedback

Ljg teach FAQ

How do I trigger Ljg teach?

Invoke it with /ljg-teach, or ask in phrases such as 'teach me with a scenario', 'don't give me the answer first', or 'teach me through examples'.

Does Ljg teach need any tools or scripts?

No. It is a single SKILL.md with no scripts, and no tools are specified in its frontmatter.

Does Ljg teach create files or notes?

No. The skill states it does not write files, notes or courses unless the user asks for them.

Which skills should I use for direct definitions?

The skill says direct definition lookups should use ljg-is or ljg-word, full concept breakdowns should use ljg-learn, and companion reading of texts should use ljg-read.

How do I install Ljg teach in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ljg-teach to use it in all your projects, or to .claude/skills/ljg-teach in one project. Or install the ljg-skills plugin, which includes it: /plugin marketplace add lijigang/ljg-skills, then /plugin install ljg-skills@ljg-skills.

Does Ljg teach run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Ljg teach?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Ljg teach?

The closest alternatives to Ljg teach are Ljg explain, Ljg analogy, Ljg structure, Ljg think and Ljg writes.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from lijigang/ljg-skills

  1. Finds a vivid analogy that maps a relationship from a familiar scene onto your topic

    • Open source
    • 7.8K GitHub stars
    • Productivity
  2. Scans yesterday's AI chats for a thinking blind spot and pairs it with a WeRead chapter

    • Open source
    • 7.8K GitHub stars
    • Productivity
  3. Explains a whole book's threads, turns and ending for readers who have not read it

    • Open source
    • 7.8K GitHub stars
    • Productivity
  4. Turns a business description into a nine-block Business Model Canvas card

    • Open source
    • 7.8K GitHub stars
    • Productivity
  5. Turns text into PNG cards, long reads, full-text layouts, comics or whiteboards

    • Open source
    • 7.8K GitHub stars
    • Design and media
  6. Builds annotated classical Chinese chapter sheets with word notes and a chapter reading

    • Open source
    • 7.8K GitHub stars
    • Files and documents