# Ljg map

> Ljg map is an open-source agent skill for knowledge and memory. Turns a text into a formal knowledge map of its concepts, criteria and conditional links. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/lijigang/ljg-skills/tree/master/skills/ljg-map
- **Repository:** https://github.com/lijigang/ljg-skills
- **GitHub stars:** 7,834
- **License:** MIT
- **Skill name:** ljg-map
- **Collection:** https://github.com/lijigang/ljg-skills
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-01

## About

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 普通摘要、逐段改写、地理地图或单独的公式证明。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/lijigang/ljg-skills/tree/HEAD/skills/ljg-map)
- [License: MIT](https://github.com/lijigang/ljg-skills/tree/HEAD/skills/ljg-map)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
gemini skills install https://github.com/lijigang/ljg-skills.git --path skills/ljg-map
```

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Ljg learn](https://ai-powered.com/skills/ljg-learn): Ljg learn is an open-source agent skill for knowledge and memory.
- [Ljg read](https://ai-powered.com/skills/ljg-read): Ljg read is an open-source agent skill for knowledge and memory.
- [Ljg relationship](https://ai-powered.com/skills/ljg-relationship): Ljg relationship is an open-source agent skill for knowledge and memory.
- [Ljg is](https://ai-powered.com/skills/ljg-is): Ljg is is an open-source agent skill for knowledge and memory.
- [Ljg word](https://ai-powered.com/skills/ljg-word): Ljg word is an open-source agent skill for knowledge and memory.
- [Ljg mechanism](https://ai-powered.com/skills/ljg-mechanism): Ljg mechanism is an open-source agent skill for knowledge and memory.
- [Connect](https://ai-powered.com/skills/connect-onebrain-ai): Connect is an open-source agent skill for knowledge and memory.
- [Ljg paper](https://ai-powered.com/skills/ljg-paper): Ljg paper is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/ljg-map
