Skip to content
Skill

Ljg map

Turns a text into a formal knowledge map of its concepts, criteria and conditional links

Ljg map is an open-source agent skill for knowledge and memory. 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 map

This skill reads a document through the knowledge view of a Chinese learning-theory framework and draws a map of the concepts it uses, the criteria that tell cases apart, and the conditions under which relations hold. The layout follows the text's own structure rather than a fixed template, so branching, overlapping categories or feedback loops are drawn as they appear in the source.

Each node is meant to carry a plain-language definition, a short formula where useful and a concrete example, while arrows are labelled by type such as definition, classification, causation or inference. Gaps in the source, such as missing criteria or examples, are marked rather than filled in, and any added teaching examples are kept apart from the author's claims. Output is delivered in the conversation as Markdown, Mermaid diagrams and readable formulas unless the user asks for something else.

The skill is written in Chinese and expects a document or file path as input. It runs no scripts and needs no external tools beyond the agent's own reading and drawing abilities.

When your agent uses it

以《学习观》的知识观洞察用户文稿,提炼概念、判别依据与有条件的联结,按文稿自身的关系绘制通俗的形式化知识地图;每个节点都有白话定义、短公式和具体语义,图形不预设层级。USE WHEN 用户调用 /ljg-map,或要求把文章、笔记、讲稿画成形式化地图、思考地形图、概念判别与关系图。NOT FOR 普通摘要、逐段改写、地理地图或单独的公式证明。

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 4 files (16 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-map:

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/ljg-map 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-map &&
cp -R "$tmp/skills/ljg-map" ~/.agents/skills/ljg-map &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/ljg-map 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-map &&
cp -R "$tmp/skills/ljg-map" ~/.cursor/skills/ljg-map &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/ljg-map 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-map

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/ljg-map 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-map into your agent's skills folder as ljg-map. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Concept node mapping
Identifies the key concepts in a text and gives each a plain-language definition.
Typed relationship arrows
Distinguishes definition, classification, causation, analogy and feedback links on the map.
Conditional link analysis
States the conditions under which a relation between concepts holds.
Short formula notation
Attaches compact formulas to nodes while keeping the notation readable.
Gap marking
Flags missing criteria or examples in the source instead of inventing them.
Text-driven layout
Builds the diagram from the document's own structure rather than a fixed template.

Good for

  • Map the concepts and distinguishing criteria in a long essay
  • Draw a relationship diagram from lecture notes
  • Visualise how the ideas in an article connect and under what conditions
  • Turn a set of study notes into a formal concept map
  • Explain the key conditional links in a technical paper

Ljg map FAQ

What triggers Ljg map?

It runs when the user invokes /ljg-map or asks to draw an article, note or lecture as a formal map, concept discrimination diagram or relationship graph.

Does Ljg map rewrite or summarise the source text?

No. It is meant for mapping structure and relations, not for ordinary summaries or paragraph-by-paragraph rewriting.

Does Ljg map need scripts or external tools?

The skill includes no scripts and sets no allowed tools; it works from the text it is given.

Where is the output delivered?

By default the map is returned in the conversation as Markdown, Mermaid and readable formulas, and it does not save or publish files unless asked.

How do I install Ljg map in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ljg-map to use it in all your projects, or to .claude/skills/ljg-map 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 map 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 map?

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 map?

The closest alternatives to Ljg map are Ljg learn, Ljg read, Ljg relationship, Ljg is and Ljg word.

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