/semantic-analysis:book-semantic-analysisfrom semantic-analysis
Analyze 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.
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.
Turn a supplied text into interpretations the reader can inspect and challenge. Preserve the distinction between source observations, interpretive judgments, and interface behavior.
Use python or uv run --script with the bundled helpers; they require only the Python standard library. Replace SKILL below with this installed skill's directory.
python SKILL/scripts/book_corpus.py prepare --input book.txt --output corpus --title "Book title" --author "Author" --source-url "https://source.example/book"
Read corpus/index.md, then every bounded reading file needed for the declared scope. For a whole-book request, read every chapter's listed files before claiming whole-book review. A successful parser or a populated coverage array does not establish that the model read the book. Keep a brief reading ledger in the report with chapter IDs and extraction limitations.
For a large book, work chapter by chapter: record candidate claims and exact passage IDs, revisit challenging passages, then synthesize across chapters. Do not silently truncate a book or infer later chapters from an excerpt. Label partial work as an excerpt and identify what remains unread.
label, retaining the full proposition in text; a truncated opening often fails to communicate the claim's meaning. Mark it textual-observation or interpretation; use strong, plausible, or tentative as qualitative judgments with limits, never invented probabilities.corpus.json paragraph text rather than retyping from memory. Use a short contiguous quote; separate excerpts require separate evidence entries. Never fabricate ellipses, page numbers, or chapter links.python SKILL/scripts/book_corpus.py check --corpus corpus/corpus.json --analysis analysis.json
Inspect passed and every finding, repair the draft, then run with --fail-on-findings for final acceptance. Diagnostic mode may exit successfully while reporting invalid data. This check verifies structure, source identity, coverage declarations, and exact quote existence; it explicitly does not judge entailment or interpretive quality.
Independently reread the strongest claim, a tentative claim, and any claim vulnerable to contrary evidence. Check that quotations actually support their attached propositions. Revise overclaims even when the deterministic check passes. Report material disagreements and unresolved evidence gaps.
python SKILL/scripts/render_explorer.py --corpus corpus/corpus.json --analysis analysis.json --fragment semantic-explorer.html --standalone semantic-explorer-standalone.html
The helper validates first, then builds a visible, interactive semantic graph linked to the theme → claim → passage explorer. Keep the graph visible on first render when the user requests semantic exploration or diagrams; selectors and disclosure lists alone do not meet that request. Selecting a claim must update its complete proposition, exact passage context, alternatives, and limits. Selecting a semantic edge must reveal its direction, rationale, and source evidence. Distinguish theme membership from an interpretive claim-to-claim relationship; do not invent edges to make a graph look connected.
Only cited paragraphs enter the display payload; retain the full corpus separately. Evidence counts describe cited coverage, not semantic importance. Read the diagram guidance in analysis-method.md when adapting the layout or selecting a companion diagram.
For a supported ChatGPT inline surface, use the available visualization tool or optional visualize skill to present the generated fragment according to that host's contract. Use the bundled standalone output or a linked evidence report when inline rendering is unavailable. Do not imply that a skill alone installs a renderer. Keep graph selection and disclosure interactions local; they do not require model calls. Test narrow layouts, native keyboard controls, every graph node and edge, synchronization with selectors and evidence, the first and last theme, passage anchors, empty relationships, and visible error states. Inspect actual screenshots: confirm that a diagram is present and understandable, then correct label overlap, clipping, excess density, and unreadable context. Source-level validity cannot establish this visual acceptance.
If the host cannot execute helpers, follow the same source/claim/evidence method manually and provide an anchored report; state which deterministic checks and rendering steps were not run. Do not invent an executed check or force the user into a desktop-only toolchain.
For portable plugin packaging and phone testing, read chatgpt-mobile.md. Keep account availability, responsive browser tests, and actual ChatGPT mobile tests separate in the delivery report.
agents/openai.yaml (opens in a new tab)assets/templates/semantic-explorer.html (opens in a new tab)assets/templates/standalone-shell.html (opens in a new tab)references/analysis-method.md (opens in a new tab)references/chatgpt-mobile.md (opens in a new tab)references/data-contract.md (opens in a new tab)scripts/book_corpus.py (opens in a new tab)scripts/render_explorer.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin semantic-analysis5 skills in this plugin
/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./extract-ontologiesAuthors and validates reviewed domain ontologies and source-backed glossaries from documents, schemas, or datasets. Use for ontology learning, vocabulary and definition authoring, competency questions, RDF/OWL modeling, SHACL design, and evidence-led entity or relation extraction as part of ontology authoring. For applying a fixed ontology to extract instances from supplied files, use an ontology-guided extraction workflow. Do not use for Semantic OKF snapshot operations or consulting an existing knowledge bundle./extract-with-ontologyApply a supplied ontology, controlled vocabulary, or semantic schema to documents or datasets. Extract instances, relations, and attributes with evidence, review mapping gaps, or build a glossary from the existing vocabulary.Other plugins' skills for the same job