/silica-core:silicafrom silica-core
Searches local documents and code for cited passages, compares sources, and checks whether a corpus supports a claim. Use when a symbol name is unknown to locate behavior or implementation.
Ships in silica-core. 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.
None: SKILL.md is the whole skill.
The silica-core MCP server indexes the folder the session was opened in and
serves five tools named silica_*. If they are deferred, load them with
ToolSearch. If they are missing, say so and give the install line:
uv tool install 'silica-core[mcp,dense]' && silica-core setup claude # or codex, cursor, zed, … (silica-core setup --list)
silica_search: a concise natural-language question or
description belongs in query. Keep known names and identifiers exact;
put additional identifier groups in queries when useful (one call,
fused by rank). Use grep for an exact string or symbol name, and read
directly when the relevant path and section are already known. Search
returns ranked passages: path, section, line, score (raw BM25,
comparable within one call only), matched_terms, coverage, and the
documents ranking behind the hits. When the server has section vectors
the dense leg runs by itself, so a paraphrase the
corpus words do not reach can still land; dense in the reply says
ready and how many documents it covered, or why it did not run, and
that is not yours to fix — search lexically and say so.terms_absent lists query words the corpus never contains; coverage
is the share of the query's rare-term
mass a hit carries. Neither proves relevance or absence. A dense hit
can answer the question with coverage 0; inspect its text rather than
rejecting it at a lexical threshold. If the passages provide no useful
evidence, rephrase once using vocabulary from plausible hits, preserving
names, numbers and identifiers. Narrow by folder when the scope is
known. If evidence is still insufficient, report what remains unfound;
do not infer that the corpus contains no answer. scope counts what the
search could see: unconverted or failed above zero means a relevant
document may never rank, so check silica_files(status=…) before
calling absence; with a folder, terms_absent_in_scope is the zero of
that folder, not of the corpus. index.state = cold means nothing was
indexed yet; the first search builds the index. stale with pending
means the reply came from an index that many documents behind — the
newest files may be missing from it; say so if the question is about
recent material.silica_read(path, section=…) or
(path, start, end). Pass the hit's version as expect_version when
reading, so changed content is refused instead of silently mixed with
old evidence. Stop retrieving once the question is supported; an answer
about several files needs evidence for each part.silica_files lists
every file with what the index did to it; status=unconverted names
the scans and office files with no extracted text, status=failed the
ones that could not be read. Top-k does not certify coverage. A PDF with
a text layer is indexed as it is, one section per page: a hit in one
reads p. 7, and silica_read serves that page alone. Its
extract_path is the extracted text on disk — grep it with your own
tools, then read the page you need; do not pull a whole PDF into the
conversation to look for one line.silica_write_note(path, body) writes one
note as given and lints it. Nothing is captured or summarised for you;
undo is git.For "what do these documents say about X", when a reader will check the answer:
candidates counts the documents that matched at all, documents is
the head of that ranking (the first k, plus the documents the hits came
from) and scope what the search could see. Keep all three: they bound
what was considered, and nothing in a reply is a roster of what was
read.version as
expect_version.terms_absent, and the
scope counts. Absent terms alone do not prove silence, even when all
files were indexed.A source the folder lacks comes in through the harness's own tools (web
search, a download), saved into the corpus and searched like the rest.
Name what was saved: the full text, an abstract, or a report someone
derived from it; they do not cite the same. A .md beside a PDF was
converted from it, and reading either path reports source_state:
stale when the PDF changed after the conversion, unverifiable when the
sidecar records no hash, and then the citation is to the .md, not to the
PDF.
In a source tree (a git repository, or sources: [prose, code] in
vault.yaml) silica_search ranks source files one unit per function,
method, class or constant beside the notes: a hit's section is the
symbol, span its lines, and silica_read(path, section=<symbol>) serves
the body when the hit lacks the needed context. In a folder of documents
only, search covers the documents; use native repository tools to locate
source code. While the server builds its vectors at start dense says
warming: the search is lexical meanwhile, not broken.
silica_code_pack(target, budget_chars) gives one source file with its
supertypes, extenders, the signatures it names, external dependencies and
importers inside a budget. Use it for a known target when the task needs
those relationships; a sufficient search hit or direct read needs no pack.
Check truncated before treating the target as complete.
It does not answer, summarise, plan or remember. It has no model and no key. A number of indexed documents is not a number of documents read.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
local-search, code-search, document-search, evidence-retrieval
npx claudepluginhub kiycoh/silica-core --plugin silica-core6 skills in this plugin
/compareComparison table of two or more documents or concepts from the folder silica-core indexes, with similarities, differences and any contradiction between them called out. Use when the user asks how A and B differ, which to choose, or whether the sources agree./diagramDraw one Mermaid diagram, or a table where a diagram is the wrong form, of a mechanism, process, hierarchy or timeline that a note, a folder or a topic in the folder silica-core indexes describes. Use when the user asks to visualize, map or diagram something these documents cover; --save=<path> also writes it as a note./explainExplain a concept from the documents silica-core indexes in this folder, citing each passage it draws on. Use when the user asks what something means or how it works and the answer should come from these files rather than general knowledge; --level=intro or --level=expert sets the register./schematizeDecompose a note, a folder or a topic from the folder silica-core indexes into one Markdown table (components, phases, dimensions). Use when the user asks for a schema, a breakdown or an at-a-glance table of something these documents cover; --save=<path> also writes it as a note./summarizeRead-only digest of one or more documents, or a folder, from the folder silica-core indexes: core ideas first, tables for anything enumerable. Use when the user asks to summarize, digest or recap specific notes, files or a folder.Other plugins' skills for the same job