ljg-structure

Extracts transferable causal structures from problems and stress-tests them against condition changes.

7.3k|818|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/lijigang/ljg-skills --skill ljg-structure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ljg-structure
Source: https://github.com/lijigang/ljg-skills/tree/main/skills/ljg-structure
Command: npx skills add https://github.com/lijigang/ljg-skills --skill ljg-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When facing a confusing problem, people often stop at surface topics or loose analogies without uncovering the underlying mechanism. This Skill finds the recurring motif beneath a problem, distills the causal structure that generates it, and internally stress-tests that structure against changed conditions so the conclusion states both a transferable rule and its boundaries.

Core Features & Use Cases

  • Motif Extraction: Strips domain-specific names from a problem and rewrites it as a plain-language relational question that survives cross-domain substitution.
  • Structure Cards with ASCII Diagrams: Produces one or two structure cards covering concept, relation, and example mapping, plus a pure-ASCII relation diagram when multiple structures interact (serial, parallel, nested, checks-and-balances, or feedback).
  • Internal Wind-Tunnel Calibration: Changes one key condition on the same example to find where the model breaks, then delivers a two-part conclusion (concrete stress test, then abstract rule) with evidence boundaries stated once.
  • Use Case: Ask why team discussions always get anchored by the first speaker; the Skill identifies the motif of early information gaining interpretive authority, maps the causal structure, and shows how the prediction changes when speaking order or information source changes.

Quick Start

Ask the AI to find the structure behind a problem you describe, for example by saying "find the structure behind why our meetings always get anchored by the first opinion".

Frequently Asked Questions about ljg-structure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the underlying structure of a complex problem?

Describe the problem and ask for its structure. The Skill strips domain-specific names, rewrites the issue as a plain-language relational question (the motif), then distills one or two causal structure cards showing who affects whom under what conditions.

What is the difference between a topic, a motif, and a structure?

A topic names what the information is about, a motif is a recurring fundamental dilemma phrased in plain words, and a structure is the causal skeleton that remains after removing domain vocabulary. The Skill keeps these three strictly separate during analysis.

When should I not use structural motif analysis?

Avoid it for pure factual queries, execution tasks with one determined procedure, or inputs lacking an identifiable dilemma. In high-risk domains like medicine or law, structures can generate hypotheses but cannot replace domain-specific evidence.

What output format does the structure analysis produce?

It writes an org-mode file to ~/Context with exactly four top-level headings: input, motif, structure, and conclusion, roughly 800-1500 Chinese characters. If you request analysis only or read-only mode, the same content is returned directly in the conversation.

How does the wind-tunnel step validate a structural model?

The wind tunnel runs internally: it locks a baseline prediction on the same example, changes one key condition, and observes how the prediction shifts. Only the most discriminating condition change, boundary, and revision signal appear in the final conclusion.