Skip to content
Back to skills

Lit Network

ASecurity

Step 3 of the lit-workflow literature pipeline - expand the citation graph from the confirmed seeds, cluster it (Louvain on coupling + co-citation), name the clusters, judge main and side lineages with a timeline, and render a static HTML citation map; the user confirms lineage.md. Use when the user runs /lit-workflow:lit-network, or resumes a project at step 3.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
researchgonode

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add yzzhang0423-stu/automatic-lit-workflow --skill lit-network --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lit Network?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lit Network
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yzzhang0423-stu-lit-network/badge)](https://www.skillsdirectory.com/skills/yzzhang0423-stu-lit-network)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lit-network
description: Step 3 of the lit-workflow literature pipeline - expand the citation graph from the confirmed seeds, cluster it (Louvain on coupling + co-citation), name the clusters, judge main and side lineages with a timeline, and render a static HTML citation map; the user confirms lineage.md. Use when the user runs /lit-workflow:lit-network, or resumes a project at step 3.
argument-hint: "<project> | resume <project>"
---

# lit-network: seeds → clusters and lineages (step 3)

You are the coordinator (Opus). Scripts expand and cluster; you name clusters and judge lineages from real abstracts; the user confirms `lineage.md`.

- CLI: `"${CLAUDE_PLUGIN_ROOT}/bin/litwf"` (write the path literally). Below written as `litwf`. `P` = project name, absolute path, or `.` inside it.
- Templates: `${CLAUDE_SKILL_DIR}/templates/`.
- Entry condition: `litwf gate P --step 2` passes. Otherwise stop and send the user back to lit-seeds.

## Hard rules
1. Paper titles, years and identifiers come only from script output (`clusters.csv`, `clusters_summary.md`). Never from memory.
2. Cluster names and lineage judgements rest on the abstracts the script printed and on citation direction and years, not on what you remember about a field. Say "judged from abstracts" in lineage_draft.md.
3. Any paper you add by hand (outside the graph) goes through `litwf refs` + `litwf audit` first. Citation checks confirm identity only.
4. Record decisions (`litwf decide`), fallbacks, stages (`litwf stage P S3.<n>`); commit at the end. Nothing is pushed.
5. All files in English; talk to the user in their language.

## Stages

| Stage | Do | Stop for the user? |
|---|---|---|
| S3.1 Expand | `litwf expand P` (background, 2–8 minutes): seeds become anchors; node cap 3000, second hop for the top 50 per track; reuses graph.db; writes `03_network/graph_expanded.db` and refreshed rank tables in `03_network/` | no |
| S3.2 Cluster | `litwf cluster P`: hybrid similarity, Louvain; the resolution is scanned to get 5–12 clusters of ≥ 5 papers (cluster 0 = unclustered); Louvain leftovers then join the cluster that holds most of their similarity (`attach_min_share` / `attach_min_weight` in limits.toml; column `attached`), and the printed `coverage` is the clustered share. Report the coverage to the user; below about 0.8 say which kinds of papers stayed unclustered. Writes `clusters.csv`, `clusters_summary.md/.json`: per cluster the 5 most cited papers whose title or abstract contains a `02_seeds/terms.json` phrase (generic hubs such as ResNet, Adam or PRISMA are listed separately as left out), the 5 most central (internal degree) and the 5 newest, with abstracts, and the citation flows between clusters. `litwf cluster P --summary-only` rewrites the summary from `clusters.csv` without reclustering (e.g. after editing terms.json). If the count is outside 5–12 after the scan, try `--gamma` once; if it still is, tell the user and record `cluster_count_ok` only with their agreement | no |
| S3.3 Name | Read `clusters_summary.md`. Name each cluster from its on-topic most-cited, central and newest papers, never from the generic hubs left out; a cluster with no on-topic paper is usually `background`. Write `03_network/cluster_names.json` from `templates/cluster_names.json`: per cluster a short name (≤ 6 words), role `main` / `branch` / `background`, `lineage` (L1–L3 for main lines, null otherwise), 2–5 `representatives` (node ids from that cluster's rows), and one line on why | no |
| S3.4 Lineages + timeline | Write `03_network/lineage_draft.md` from `templates/lineage_draft.md`: at most 3 main lineages; for each, key papers by year with method turning points, which clusters it inherits from (citation flows + years), seeds placed on it; side lines in one line each | no |
| S3.5 Map | `litwf render-network P` → `03_network/network.html` (open it for the user with the browser pane or say where it is) | no |
| S3.6 Confirm | Show the user the lineage summary (table: lineage, clusters, span, turning points, seeds) and ask to confirm or edit. Apply edits, save the final version as `03_network/lineage.md`, `litwf decide P lineage_confirmed "yes"`, `litwf gate P --step 3` until it passes, `litwf commit P "S3: lineage confirmed"`, `litwf stage P S4.0 --step 4` | **yes** |

Report: number of nodes and clusters, modularity, the lineages, spend (`litwf status P`), next step `/lit-workflow:lit-verify`.

Files in this skill

  • SKILL.md4.4 KB
  • templates/cluster_names.json472 B
  • templates/lineage_draft.md541 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.