
Ljg structure
Finds the recurring underlying structure in a problem and stress-tests its causal claims
Ljg structure 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 structure
This skill guides an agent through separating a topic from the deeper pattern it sits on, distinguishing a theme, a recurring underlying problem, an analogy and a causal structure. The agent is asked to express each key concept in plain language, map a single concrete example onto the abstract relationship, and then vary one condition to see where the model breaks down.
The workflow keeps the analysis light: one running example anchors the reasoning, one or two structure cards are kept, and the conclusion moves from a specific test result to a transferable rule that is then applied back to the original phenomenon. Multi-pattern combinations and cross-domain sources are only explored when the user explicitly asks for them.
The skill is written in Chinese and expects the user to supply the text or problem to analyze. Its output is a Markdown note saved to a dated file under a Context folder, unless the user asks for read-only analysis in the chat.
When your agent uses it
找出一段信息中母题级别的结构,把抽象关系展开回具体可见的现象,再用风洞检验关键因果与边界。USE WHEN user says '找结构', '母题是什么', '结构风洞', '背后的结构', '不要只做AB测试', or wants the generative mechanism beneath a problem. 仅当用户明确要求时展开跨域来源或多母题组合。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 2 files (19 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-skillsOr copy only this skill to ~/.claude/skills/ljg-structure:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ljg-structure &&
cp -R "$tmp/skills/ljg-structure" ~/.claude/skills/ljg-structure &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ljg-structure inside it instead.
Copy the skill folder to ~/.agents/skills/ljg-structure 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-structure &&
cp -R "$tmp/skills/ljg-structure" ~/.agents/skills/ljg-structure &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ljg-structure inside it instead.
Copy the skill folder to ~/.cursor/skills/ljg-structure 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-structure &&
cp -R "$tmp/skills/ljg-structure" ~/.cursor/skills/ljg-structure &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ljg-structure inside it instead.
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-structureOr copy the folder to ~/.gemini/skills/ljg-structure yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ljg-structure:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lijigang/ljg-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ljg-structure &&
cp -R "$tmp/skills/ljg-structure" ~/.copilot/skills/ljg-structure &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ljg-structure inside it instead.
Get the folder:
git clone --depth 1 https://github.com/lijigang/ljg-skills.gitThen copy ljg-skills/skills/ljg-structure into your agent's skills folder as ljg-structure. Agents that support SKILL.md read one folder per skill.
What it does
- Pattern identification
- Finds the recurring underlying dilemma behind a piece of information rather than just its surface subject.
- Causal structure mapping
- Lays out which factors act on which and in what order, using a relationship diagram with ASCII connectors.
- Boundary stress testing
- Changes one key condition in an example to see how predictions shift and where the model stops holding.
- Concept decoding
- Requires each load-bearing term to be explained in plain language with a visible marker.
- Transferable conclusions
- Turns the tested differences into a general rule and points back to the original phenomenon.
- Markdown note output
- Saves the analysis as a dated Markdown file with fixed top-level sections.
Good for
- Explain why a team discussion keeps being steered by the first speaker
- Find the underlying structure behind a recurring problem in a document
- Test whether a causal model still holds when one condition changes
- Analyze why an AI assistant focuses on local details and misses global anomalies
- Separate a topic from the mechanism that drives it before deciding on an approach
Ljg structure FAQ
When does Ljg structure trigger?
It is meant for requests such as finding structure, asking what the underlying pattern is, or asking for a structure wind tunnel. It is explicitly not for plain summaries, single analogies, fact lookups or tasks with one clear solution.
Does Ljg structure run any scripts?
No scripts are included. The skill consists of a SKILL.md instruction file and a workflow reference file.
Where does the output go?
By default the analysis is written to a dated Markdown file in a Context folder named after the topic. If the user asks for analysis only or read-only, the result is given in the chat without creating a file.
Does Ljg structure cover cross-domain sources?
Cross-domain source searching is only expanded when the user explicitly asks for it; otherwise the skill focuses on one anchor example.
How do I install Ljg structure in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ljg-structure to use it in all your projects, or to .claude/skills/ljg-structure 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 structure 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 structure?
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 structure?
The closest alternatives to Ljg structure are Ljg rank, Ljg analogy, Ljg constraint, Ljg explain and Ljg think.
Where this comes from
- Description: from the skill's own SKILL.md.
More from lijigang/ljg-skills

Finds a vivid analogy that maps a relationship from a familiar scene onto your topic
- Open source
- 7.8K GitHub stars
- Productivity

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

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

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

Turns text into PNG cards, long reads, full-text layouts, comics or whiteboards
- Open source
- 7.8K GitHub stars
- Design and media

Builds annotated classical Chinese chapter sheets with word notes and a chapter reading
- Open source
- 7.8K GitHub stars
- Files and documents