AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
docs(xerj-code): domain-selection table covers every live hub corpus (#1143)
xerj-orgefa2d35182ce
diff --git a/tools/xerj-code/SKILL.md b/tools/xerj-code/SKILL.mdindex 0878729a9..ad6a8343e 100644--- a/tools/xerj-code/SKILL.md+++ b/tools/xerj-code/SKILL.md@@ -80,8 +80,8 @@ project's domain, not by size:| the project is… | start with | why ||---|---|---|| a search / query engine | `xerj-search` | postings, BM25, merge policy, segment layout, ES wire semantics |-| vector search / ANN | `xerj-vector` | HNSW build, neighbour heuristics, quantisation, filtered kNN |-| storage engine / KV | `xerj-storage`, `duckdb`, `rocksdb`, `leveldb`, `badger`, `lmdb` | WAL, crash recovery, compaction, page allocation; LSM-vs-B trees |+| vector search / ANN | `xerj-vector`, `faiss`, `annoy` | HNSW build, neighbour heuristics, quantisation, filtered kNN; faiss is the reference ANN implementation, annoy the forest variant |+| storage engine / KV | `xerj-storage`, `duckdb`, `rocksdb`, `leveldb`, `badger`, `lmdb`, `valkey-src` | WAL, crash recovery, compaction, page allocation; LSM-vs-B trees; valkey for an in-memory KV server's data structures || analytical / columnar | `xerj-columnar`, `duckdb`, `arrow-rs`, `parquet-format`, `iceberg` | columnar layout, codecs, vectorised scans, table formats || a database server | `sqlite-src`, `postgres-src` | parsers, planners, executors — the two most-studied codebases in the field || messaging / consensus | `kafka-src`, `rabbitmq`, `nats-server`, `etcd-src`, `raft-rs`, `dragonboat` | log compaction, delivery semantics, quorum/lease correctness |@@ -90,11 +90,20 @@ project's domain, not by size:| QUIC / HTTP / networking | `quinn`, `nghttp2`, `curl-src`, `libuv`, `caddy`, `envoy`, `nginx` | protocol state machines, connection pooling, event loops || compression / serialization | `zstd`, `lz4`, `brotli`, `zlib-ng`, `snappy`, `protobuf`, `flatbuffers`, `capnproto`, `msgpack-c` | format design, blocked/entropy coding, zero-copy schemas || secrets / config serving | `openbao` | KV store with seal/unseal, lease machinery |-| API design review | `rust-api-guidelines`, `msft-api-guidelines` | naming, error shape, versioning — the two curated guideline sets |-| protocol/spec conformance | `openapi-spec`, `graphql-spec`, `w3c-css`, `valkey-docs`, `nats-protocol` | the normative text an implementation is judged against |-| production ops / SRE | `gitlab-runbooks`, `mozilla-ssl-configs`, `twelve-factor` | real incident playbooks, deployed TLS configs, deployment doctrine |+| API design review | `rust-api-guidelines`, `msft-api-guidelines`, `zalando-restful-api-guidelines`, `google-eng-practices` | naming, error shape, versioning; Zalando's is the most clause-complete REST policy set, google-eng-practices owns code-review doctrine |+| protocol/spec conformance | `openapi-spec`, `graphql-spec`, `json-schema-spec`, `w3c-css`, `whatwg-specs`, `ecma262`, `nats-protocol`, `kafka-protocol` | the normative text an implementation is judged against — HTML/DOM/URL living standards, ECMAScript grammar, wire-protocol framing |+| production ops / SRE | `gitlab-runbooks`, `school-of-sre`, `tldr-pages`, `mozilla-ssl-configs`, `twelve-factor` | real incident playbooks, a full SRE course curriculum, command syntax by tool, deployed TLS configs, deployment doctrine |+| administering Unix systems | `freebsd-handbook`, `openbsd-faq` | rc/ZFS/jail/networking procedures, OpenBSD's canonical FAQ positions |+| documenting against a hosted API | `github-api-description` | the OpenAPI description of github.rest — field semantics, enum values, preview headers |+| datastore operations docs | `valkey-docs`, `etcd-docs` | command semantics, config knobs, tuning guidance — the operational reference for each |+| telemetry / observability wiring | the semconv half of `otel-proto` (candidate — G7 2/5, parked to the semantic lane) | OpenTelemetry semantic conventions for attribute names; lexical rounds could not bridge paraphrase-to-normative-prose |+| internationalisation | `unicode-cldr` | CLDR locale data structure, calendar/number/date skeletons || security review of dependencies | the `rust-vulns` pack (`xerj corpus add --from` the hub recipe) | real patched-vulna pairs, mined for #1111's defect-class study |-| non-software (tax, employment, UK law) | `ecfr-title-12`, `ecfr-title-29`, `uk-legislation` | consolidated current regulation, section-per-file |+| vulnerability / weakness taxonomy | `mitre-cwe`, `mitre-capec` | CWE weakness definitions and CAPEC attack patterns, id-level |+| triaging an active campaign | `cisa-alerts` | CISA advisory IOCs, required actions and mitigations (2025-05..2026-10 window) |+| querying endpoint visibility | `osquery-config-examples` | real deployed osquery packs and scheduled-query shapes |+| non-software (tax, employment, UK law) | `ecfr-title-12`, `ecfr-title-29`, `ecfr-title-26`, `uk-legislation` | consolidated current regulation, section-per-file |+| pharma / drug labels | `dailymed` | FDA label sections: indications, contraindications, administration timing |Three rules that keep the choice honest: