# Ljg rank

> Ljg rank is an open-source agent skill for productivity. Breaks a domain down to its few irreducible generators and checks them against phenomena. 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-rank
- **Repository:** https://github.com/lijigang/ljg-skills
- **GitHub stars:** 7,834
- **License:** MIT
- **Skill name:** ljg-rank
- **Collection:** https://github.com/lijigang/ljg-skills
- **Categories:** [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-01

## About

This skill takes a field or domain and works out the small set of independent forces that actually hold it up. It asks the agent to first name the unexamined baseliner assumptions of the domain, then dig downward layer by layer until no more basic generator can be asked for, and to confirm that the remaining generators can regenerate the original phenomena.

The method is built on a test of explanatory quality: a good explanation reaches beyond the cases it was built from and is hard to vary without breaking its predictions. The skill guides the agent through minimality, independence and these checks, and it steers away from forcing every structure into a three-layer stack or a 2x2 matrix when the real shape is different.

The output is a prose explanation in plain Chinese, with an ASCII diagram chosen to match the shape of the generators found. The skill also includes a step that saves the result as an org-mode note in a notes folder. It needs no scripts or external services, only the agent and a domain to analyze.

## When your agent uses it

> 给一个领域，找出背后真正撑着它的几根独立的力。十几个现象砍到不可再少的生成器——砍完能把现象一个个生回来，才算数。Use when user says '降秩', '找秩', '秩是什么', '这个领域靠什么撑着', '背后是什么', or wants to decompose any domain to its irreducible generators.

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

## Features

- **Baseline assumption check:** Surfaces the unquestioned starting premises a field rests on before decomposing it.
- **Layered generator digging:** Descends one layer at a time, treating each found layer as new ground until the root is reached.
- **Minimality and independence tests:** Removes candidate generators that can be dropped and checks that the rest stay distinct.
- **Explanatory quality checks:** Tests whether generators predict cases beyond the original list and resist arbitrary changes.
- **Structure-matched ASCII diagrams:** Picks a diagram type such as a layered section, feedback loop or coordinate grid to fit the found shape.
- **Chinese prose output:** Writes the decomposition as continuous Chinese prose and saves it as a dated org note.

## Good for

- Break down what really sustains a startup or industry into its core drivers
- Find the root forces behind a market or social trend
- Decompose a scientific or economic field into its irreducible principles
- Map the generators behind a domain and draw a diagram of how they relate

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

```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-rank &&
cp -R "$tmp/skills/ljg-rank" ~/.claude/skills/ljg-rank &&
rm -rf "$tmp"
```

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

```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-rank &&
cp -R "$tmp/skills/ljg-rank" ~/.copilot/skills/ljg-rank &&
rm -rf "$tmp"
```

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

## FAQ

### What triggers Ljg rank?

It triggers when the user says phrases such as 降秩, 找秩, 秩是什么, 这个领域靠什么撑着 or 背后是什么, or asks to decompose any domain into its irreducible generators.

### Does Ljg rank require scripts or tools?

No scripts are included. The skill's steps rely on the agent's reasoning and on running date commands to create a timestamp for the output file.

### Where does the output go?

The skill writes an org-mode file into a notes folder under the user's Documents directory, named with a timestamp and the domain, and reports the file path.

### What language does Ljg rank write in?

The skill instructs the agent to write natural Chinese prose and to avoid English-style sentence patterns.

### How do I install Ljg rank in Claude Code?

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

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

The closest alternatives to Ljg rank are Ljg structure, Ljg constraint, Ljg explain, Ljg writes and Ljg think.

## Where this comes from

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

## Alternatives

- [Ljg structure](https://ai-powered.com/skills/ljg-structure): Ljg structure 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 writes](https://ai-powered.com/skills/ljg-writes): Ljg writes 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 analogy](https://ai-powered.com/skills/ljg-analogy): Ljg analogy 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.
- [Ground](https://ai-powered.com/skills/ground-humanive): Ground is an open-source agent skill for productivity.

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