Skip to content
Skill

Lit pipeline

Local conventions for a materials-science literature pipeline: paths, journal tiers

Lit pipeline is an open-source agent skill for knowledge and memory. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Lit pipeline

This skill is a repository-specific guide for a literature workflow built around a local knowledge base. It records where run outputs are stored, the journal whitelist and tier rules, which sources are used for deduplication, the closing steps after ingest, and the gates that decide whether a new source card is complete. It points to a companion skill, lit-watch, for the step-by-step commands, so this file only covers the values and constraints specific to this library.

The guide tells the agent to run a daily health check before work, to keep generated artifacts in the tracked runs folder rather than the archive, and to treat exit codes from ingest as meaningful. It also covers a second-pass enrichment flow where an external model proposes structured claims that are validated against quoted evidence in the library before anything is written, and a PDF identity check that flags source cards whose DOI does not match the attached PDF's first pages.

It expects a local vault checkout with the tools directory and a Python environment, and it lists known pitfalls the maintainers encountered, such as configuration keys being dropped silently and hardcoded run roots.

When your agent uses it

本工具链 的文献流水线本地约定(库根路径、运行产物落点、期刊白名单与 tier 红线、去重源、收尾链路、建卡门禁、已知坑)。用户在本库内做「文献监控/盯刊/找新文献/补文献/lit-watch/把这批 PDF 收编/哪些还没提取/入库收尾」时使用;流程细节与全部命令见 skill `lit-watch`。

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 1 file (10 KB) on GitHub on 3 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 matsci-knowledge-base plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add cqxcrl/matsci-kb-kit
/plugin install matsci-knowledge-base@matsci-local

Or copy only this skill to ~/.claude/skills/lit-pipeline:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cqxcrl/matsci-kb-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/lit-pipeline &&
cp -R "$tmp/skills/lit-pipeline" ~/.claude/skills/lit-pipeline &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/lit-pipeline inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/lit-pipeline to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cqxcrl/matsci-kb-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/lit-pipeline &&
cp -R "$tmp/skills/lit-pipeline" ~/.agents/skills/lit-pipeline &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/lit-pipeline inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/lit-pipeline to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cqxcrl/matsci-kb-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/lit-pipeline &&
cp -R "$tmp/skills/lit-pipeline" ~/.cursor/skills/lit-pipeline &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/lit-pipeline 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/cqxcrl/matsci-kb-kit.git --path skills/lit-pipeline

Or copy the folder to ~/.gemini/skills/lit-pipeline yourself.

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cqxcrl/matsci-kb-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/lit-pipeline &&
cp -R "$tmp/skills/lit-pipeline" ~/.copilot/skills/lit-pipeline &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/lit-pipeline inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/cqxcrl/matsci-kb-kit.git

Then copy matsci-kb-kit/skills/lit-pipeline into your agent's skills folder as lit-pipeline. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Library path conventions
Defines the library root, the single config file, and where run outputs, state and downloads are stored.
Journal tier rules
Documents the journal whitelist, tier limits and the deduplication sources used during discovery.
Ingest gate semantics
Explains the exit codes of ingest and why a missing link count must be fixed by a person, not the tool.
Evidence-based enrichment
Describes a validated flow where proposed claims must cite quoted lines from existing library pages.
PDF identity checks
Covers a read-only check comparing card DOIs with the DOI printed on linked PDF first pages.
Closing pipeline steps
Lists the index, catalogue and finish commands to run after new literature is added.

Good for

  • Check the literature pipeline health before a daily monitoring run
  • Ingest a batch of downloaded PDFs into the knowledge base
  • Find which journal papers have not yet been extracted
  • Verify that source cards point to the correct PDF after a bulk download
  • Finish ingest by rebuilding indexes and logging operations

Lit pipeline FAQ

Does Lit pipeline replace the lit-watch skill?

No. It holds this library's specific conventions and limits, while the lit-watch skill documents the full workflow and commands.

Where should new run outputs be written?

Under the runs directory configured as raw/notes/lit-watch, not under the archive folder, which is excluded from git and Obsidian.

What happens when an ingest gate reports exit code 2?

The tool writes the gap to a report file but does not add links itself; a person must complete the missing links before treating the run as successful.

How do I install Lit pipeline in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/lit-pipeline to use it in all your projects, or to .claude/skills/lit-pipeline in one project. Or install the matsci-knowledge-base plugin, which includes it: /plugin marketplace add cqxcrl/matsci-kb-kit, then /plugin install matsci-knowledge-base@matsci-local.

Does Lit pipeline 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 Lit pipeline?

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 Lit pipeline?

The closest alternatives to Lit pipeline are Lit watch, Kb ingest batch, Literature survey, Literature search and Literature review.

Where this comes from

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

More from cqxcrl/matsci-kb-kit

  1. Runs batch ingest workflows for a materials-science knowledge base: ledger queries, batch

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  2. Runs health checks and batch fixes on a markdown knowledge base, with tiered lint modes

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  3. Interview-driven setup wizard that configures a literature library's research directions

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  4. Runs a serial, tick-based quality-check loop that flags numbers and claims missing from

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  5. Lets an agent answer questions from a local materials-science knowledge base with cited

    • Open source
    • 6 GitHub stars
    • Knowledge and memory
  6. Runs a reviewer-and-reviser loop on a literature review draft, checking claims against

    • Open source
    • 6 GitHub stars
    • Writing style