/knowledge-tools:xerjfrom knowledge-tools
Operates XERJ to index local folders, retrieve compact code and document passages, store and recall agent memory, and search reference corpora. Use for XERJ installation, autoindex, search, symbol lookup, Elasticsearch-compatible requests, or XERJ MCP setup.
Ships in knowledge-tools. 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.
Use XERJ's local node and CLI to retrieve evidence before reading whole files. Keep source paths, line numbers, index names, and relevant passages in the result.
Read only the reference needed for the task. Commands were checked with
v1.0.0-rc.96 on 2026-10-17; prefer the installed binary's --help over a
conflicting web page. Recheck official documentation for an unfamiliar feature
or a different release. An Elasticsearch-style version.number in GET / is
the compatibility version; use xerj --version for the XERJ release.
xerj and
record its version. HTTP-only work on a supplied node does not require the
binary. The agent API normally uses http://127.0.0.1:9200; the separate
native API normally uses port 8080.127.0.0.1, keep storage and journals outside the indexed tree, retain its
process handle or PID, and poll readiness with a deadline. A foreground
server blocks subsequent work in that shell.lexical uses offline
feature hashing; it does not provide neural synonym understanding.
--embed-mode neural downloads a model on first use. proxy sends document
and query text to the configured embedding provider. Changing mode requires
reindexing existing documents.--state-dir. For a changing code tree, use --no-graph so
generated journals can reconcile additions, changes, and deletions. Inspect
the discovered map before choosing fields.xerj search, a known symbol with
xerj def, or an ES query against a specific index. Validate useful hits
and inspect response hints or errors before interpreting an empty result.Use xerj_api.py when JSON quoting, readiness polling, or
saved API responses would otherwise need ad hoc shell code. It uses Python's
standard library; python can replace uv run --script when Python 3.11+ is
available. Replace <skill-dir> with this bundle's path. Put request bodies and
outputs in the task workspace, outside the skill.
uv run --script <skill-dir>/scripts/xerj_api.py --url http://127.0.0.1:9200 wait --seconds 30
uv run --script <skill-dir>/scripts/xerj_api.py --output indices.json request GET '_cat/indices?format=json'
uv run --script <skill-dir>/scripts/xerj_api.py --output hits.json request POST 'ax-*/_search' --body-file query.json
Global options precede wait or request. Omit the leading slash in helper
paths to prevent Git Bash/MSYS from converting them into Windows file paths;
the helper adds it. request GET with no path requests the node root.
The helper honors XERJ_URL,
XERJ_API_KEY (adds ApiKey), and XERJ_AUTH (complete header, takes precedence).
It verifies TLS, refuses redirects, and returns nonzero on HTTP, transport, or
invalid JSON errors without replacing an existing output file. _cat endpoints
need ?format=json. It does not start a node or implement autoindex.
--insecure disables authentication and TLS; use it for a single-user
loopback node. Preserve an existing node's authentication and TLS settings.xerj init, feedback --open-pr, or share merely because an
upstream guide suggests them; perform such actions only within user scope.rerank
block can send returned text to a third party; proxy embeddings and configured
WAL taps can also send text off the node. Check operator configuration before
promising that an existing node keeps all data local.3 means completed with
junk, not necessarily that every requested dataset became searchable.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin knowledge-tools5 skills in this plugin
/knowOperates the `know` CLI to initialize project-local knowledge, create knowledge keys, register sources, inspect configuration, synchronize content, export normalized Markdown libraries, import archives, or connect Television output. Use when Codex needs to run or explain a reproducible `know` knowledge-base workflow./open-ontologiesOperates the Open Ontologies Rust engine through its CLI or onto_* MCP tools to load, query, validate, reason over, ingest into, and govern RDF/OWL graphs. Use when configuring or using fabio-rovai/open-ontologies, checking SHACL results or inference certificates, or planning and applying ontology changes with this engine. Generic ontology modeling without this engine is outside its scope./Other plugins' skills for the same job