# Ljg structure

> Ljg structure is an open-source agent skill for productivity. Finds the recurring underlying structure in a problem and stress-tests its causal claims. 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-structure
- **Repository:** https://github.com/lijigang/ljg-skills
- **GitHub stars:** 7,834
- **License:** MIT
- **Skill name:** ljg-structure
- **Collection:** https://github.com/lijigang/ljg-skills
- **Categories:** [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-01

## About

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 普通摘要、单个类比、事实查询或已有明确唯一解的执行题。

## 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-structure)
- [License: MIT](https://github.com/lijigang/ljg-skills/tree/HEAD/skills/ljg-structure)

## Features

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

## 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-structure`:

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

### Codex

Copy the skill folder to `~/.agents/skills/ljg-structure` 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-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.

### Cursor

Copy the skill folder to `~/.cursor/skills/ljg-structure` 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-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.

### 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-structure
```

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

### VS Code

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

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

### Other agents

Get the folder:

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

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

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

## Alternatives

- [Ljg rank](https://ai-powered.com/skills/ljg-rank): Ljg rank is an open-source agent skill for productivity.
- [Ljg analogy](https://ai-powered.com/skills/ljg-analogy): Ljg analogy is an open-source agent skill for productivity.
- [Ljg constraint](https://ai-powered.com/skills/ljg-constraint): Ljg constraint is an open-source agent skill for productivity.
- [Ljg explain](https://ai-powered.com/skills/ljg-explain): Ljg explain is an open-source agent skill for productivity.
- [Ljg think](https://ai-powered.com/skills/ljg-think): Ljg think is an open-source agent skill for productivity.
- [Ljg writes](https://ai-powered.com/skills/ljg-writes): Ljg writes is an open-source agent skill for productivity.
- [Ljg roundtable](https://ai-powered.com/skills/ljg-roundtable-lijigang): Ljg roundtable is an open-source agent skill for productivity.
- [Ljg teach](https://ai-powered.com/skills/ljg-teach): Ljg teach is an open-source agent skill for productivity.

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