# Ljg QA

> Ljg QA is an open-source agent skill for knowledge and memory. Turns an article, paper or book into a chain of pointed questions with answers. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/lijigang/ljg-skills/tree/master/skills/ljg-qa
- **Repository:** https://github.com/lijigang/ljg-skills
- **GitHub stars:** 7,834
- **License:** MIT
- **Skill name:** ljg-qa
- **Collection:** https://github.com/lijigang/ljg-skills
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-01

## About

ljg-qa reads a piece of writing and pulls out the author's reasoning as a sequence of questions, each one answered in a fixed structure. Instead of a summary, the output is a chain where each question follows from the previous answer, so a reader can retrace how the author arrived at their conclusions.

Each answer is built in four parts: a one-line conclusion, a compact symbolic summary of the relationship (written in plain text and simple symbols rather than math), the reasoning step that leads there, and the conditions under which the idea stops holding. The skill also includes guidance on avoiding textbook-style questions and reordering material by logical dependency rather than section order.

The workflow fetches a URL or reads a local file such as a PDF, then writes Markdown output to a notes folder using a dated file name. It also sends a local notification request at the start of the run. Input can be a link, a file path or pasted text.

## When your agent uses it

> 信息提问机。给一篇文章/论文/书，把核心观点抽成 Q-A 对——Question 切要害，不教科书；Answer 简洁清晰，有形式化收口，逻辑链完整。读者顺 Q 链走过，每个 A 砸下一枚钉子，复现作者整套推理。Use when user says '问答', 'Q&A', 'QA', '提问', '抽取问题', '/ljg-qa', or shares an article/paper/book and asks for Q-A extraction. Triggers when the user wants ideas extracted not as a summary but as a sequence of incisive questions with answered. NOT FOR FAQ generation, glossary creation, or comprehension quizzes — this is intellectual scaffolding, not study aids.

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

## Features

- **Argument-driven questions:** Questions target why a solution holds, what it trades off, its costs and where it fails.
- **Four-part answers:** Each answer gives a conclusion, a symbolic relationship, the reasoning step and its limits.
- **Dependency-ordered chain:** Questions are sequenced so each one naturally leads to the next, not by section order.
- **Markdown note output:** Results are written as Markdown files with dated names into a notes directory.
- **Anti-FAQ guardrails:** Built-in rules steer away from definition questions, glossaries and comprehension quizzes.

## Good for

- Extract the core reasoning chain from a long essay
- Turn a research paper into incisive questions and answers
- Summarize a book's ideas as a sequence of pointed Q&A
- Pull the tradeoffs and limits out of a technical article

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

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### How does the skill get triggered?

It triggers when the user says terms such as Q&A, QA, extract questions, or the /ljg-qa command, or shares an article, paper or book and asks for Q-A extraction.

### What does Ljg QA produce?

A Markdown note containing a chain of questions, each followed by a four-part answer, saved to a notes folder with a dated file name.

### Does Ljg QA generate FAQs or quizzes?

No. The skill explicitly excludes FAQ generation, glossary creation and comprehension quizzes.

### What inputs does Ljg QA accept?

A URL, a local file such as a PDF, or pasted text. For PDFs it reads the document using page parameters.

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

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

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Ljg QA?

The closest alternatives to Ljg QA are Ljg read, Ljg learn, Wiki QA, Ljg paper and Ljg is.

## Where this comes from

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

## Alternatives

- [Ljg read](https://ai-powered.com/skills/ljg-read): Ljg read is an open-source agent skill for knowledge and memory.
- [Ljg learn](https://ai-powered.com/skills/ljg-learn): Ljg learn is an open-source agent skill for knowledge and memory.
- [Wiki QA](https://ai-powered.com/skills/wiki-qa): Wiki QA is an open-source agent skill for knowledge and memory.
- [Ljg paper](https://ai-powered.com/skills/ljg-paper): Ljg paper is an open-source agent skill for knowledge and memory.
- [Ljg is](https://ai-powered.com/skills/ljg-is): Ljg is is an open-source agent skill for knowledge and memory.
- [Ljg relationship](https://ai-powered.com/skills/ljg-relationship): Ljg relationship is an open-source agent skill for knowledge and memory.
- [Research question](https://ai-powered.com/skills/research-question): Research question is an open-source agent skill for knowledge and memory.
- [Ljg map](https://ai-powered.com/skills/ljg-map): Ljg map is an open-source agent skill for knowledge and memory.

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