/semantic-analysis:index-knowledge-questionsfrom semantic-analysis
Builds and compares question-oriented knowledge indexes using reviewed concept aliases, taxonomy paths, typed relations, and exact passage bindings. Use when packaging a knowledge skill or improving retrieval for recurring question families; keep source facts and evaluation answers separate from discovery metadata.
Ships in semantic-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Build a portable, non-authoritative retrieval projection around the questions the knowledge must support. Use the bundled standard-library helper for a bounded corpus; preserve the existing knowledge builder and raw passages.
Resolve scripts/question_index.py against the loaded skill directory; run
from the user's workspace. Outputs belong outside the skill. Python 3.11+ and
the standard library suffice; uv run --script also works.
python -B SKILL_ROOT/scripts/question_index.py build input.json question-index.json
python -B SKILL_ROOT/scripts/question_index.py validate question-index.json
python -B SKILL_ROOT/scripts/question_index.py search question-index.json --query "Which systems depend on the gateway?" --mode lexical --top-k 3 --output lexical.json
python -B SKILL_ROOT/scripts/question_index.py search question-index.json --query "Which systems depend on the gateway?" --mode guided --top-k 3 --output guided.json
SKILL_ROOT is a placeholder for this loaded skill's actual path. Build into a
new path. A second build from unchanged input must produce identical bytes.
Use --family ID when the question plan supplies an explicit family; otherwise
the helper routes by reviewed cue phrases. This is a transparent baseline
router, not a language-understanding model. Family examples document workload;
the helper does not learn from or search them.
Guided mode fuses raw-text BM25 with alias/ancestor-enriched BM25, uses reviewed descendants for taxonomy questions, and prioritizes declared relation evidence bundles when predicate and concept mentions match. Read the schema reference for exact behavior and limitations. A complete bundle means all its declared passages fit in the returned budget; it does not certify semantic support.
Search scores, taxonomy paths, and relation matches are discovery signals. The helper verifies its serialized input digest and structural references; it does not read raw sources, prove source entailment, execute OWL reasoning, resolve conflicting versions, or determine that an unanswered query is false. Unsupported questions may still return candidates. Inspect evidence and abstain when it does not support the requested claim.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin semantic-analysis5 skills in this plugin
/book-semantic-analysisAnalyze supplied books or excerpts through evidence-linked themes, interpretive claims, alternative readings, and semantic relationships, then build interactive semantic graphs with inspectable passage evidence in ChatGPT or standalone HTML. Use for literary close reading and nonfiction argument analysis when the actual text is available./curate-semantic-modelCurate evidence-preserving semantic models, build reproducible taxonomy and ontology snapshots, and compare semantic changes between two versions of a document, repository, or pull request. Use for maintained typed knowledge, concept unification, and evidence-backed graph review./Other plugins' skills for the same job