Skip to content
Skill

Ljg rank

Breaks a domain down to its few irreducible generators and checks them against phenomena

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

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.

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 (25 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-rank:

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.

Claude Code docs on skills

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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.

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-rank into your agent's skills folder as ljg-rank. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

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

Ljg rank 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.

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