agentic/code/frameworks/research-complete/skills/corpus-index-build/SKILL.md
Render research-corpus markdown index views (by-topic, by-year, authors, citation-network, ...) from corpus state. As of
npx skillsauth add jmagly/aiwg corpus-index-buildInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Render the human-readable markdown index views for a research corpus — by-topic, by-year, authors, by-venue, by-method, by-model-size, training-pipeline, citation-network, by-author, by-org, by-bridge, unprofiled-hubs.
As of #1490,
aiwg index buildrenders these views natively. The former standalonebuild.pyhas been retired; the JSON graph index and the markdown views are now produced by a single command, in one process, from one config (.aiwg/aiwg.config, #1491). There is no longer a "these are two different things" split to manage.
aiwg index build # JSON graphs + all configured markdown views
aiwg index build --all # same (every configured view)
aiwg index build --graph by-topic # a single view
aiwg index build --graph citation-network
aiwg index build --force # re-render even when the source checksum is unchanged
Views render to the output path declared per manifest entry (default
indices/<name>.md). The command renders views only when the project has a
documentation/references/ corpus — it is a no-op in ordinary SDLC projects.
/corpus-index-buildIn every case: run aiwg index build (optionally --graph <view> / --force).
Views are declared under index.graphs.indices.manifest in .aiwg/aiwg.config
(JSON, validated against aiwg.config.v1.json; the legacy .aiwg/config.yaml
still works as a deprecated fallback — see #1491). Each manifest entry's name
selects the renderer and optional output sets the path:
{
"index": {
"graphs": {
"indices": {
"manifest": [
{ "name": "by-topic", "output": "indices/by-topic.md" },
{ "name": "by-year", "output": "indices/by-year.md" },
{ "name": "authors", "output": "indices/authors.md" },
{ "name": "citation-network", "output": "indices/citation-network.md" }
]
}
}
}
}
Supported renderer names — paper views: by-topic, by-year, authors,
by-venue, by-method, by-model-size, training-pipeline, citation-network,
by-author, by-org, by-bridge, unprofiled-hubs; radar/discovery/funder
views (#1492): by-grade, radar-stale-queue, by-trajectory, by-source,
by-curator, by-funder. An unrecognized name fails the build (non-zero exit).
If the manifest is absent, a default set renders (by-topic, by-year,
authors, by-venue, by-method, training-pipeline, by-model-size);
citation-network is added when it is present as an index.graphs key. The
radar/discovery/funder views are opt-in (declare them in the manifest) — they
read radar sidecars, the citation discovery block, and funders[]
respectively (see the corpus data model).
topics override the classifier when present).by-author is an
enriched table linking PROF-P-* people profiles when they exist.by-bridge surfaces authors
spanning ≥2 affiliations.grade-current, A→D order; no-radar → Ungraded).last-refreshed), with a stale flag. on-demand cadence is never queued.grade-trajectory (rising / stable / declining / …).discovery.surface (x-search / rss / web / …; no-discovery → unknown-surface).discovery.curator-id (group size = curator yield).funders[].id; a paper appears under each of its funders (no funders → unfunded).Each view records a Source-Checksum: header; incremental builds skip a view
when its corpus checksum is unchanged (override with --force).
aiwg index build entrypointcitation-networkdata-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.