Research and library synthesis from the docs/PDF corpus, mapped to joelclaw system philosophy and concrete operational actions (especially k8s reliability). Trigger on: 'research this', 'from the library', 'from the books', 'pdf brain', 'correlate this', 'synthesize', or any request to derive practical architecture/ops guidance from the docs corpus. This skill is analysis-only; for ingestion/backfill workflows use pdf-brain-ingest.
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Use this skill when the user wants evidence-backed synthesis from the docs library (600+ books, PDFs, long-form references), not generic web summarization.
The docs pipeline uses a staged artifact chain:
docs_chunks_v2 collection${DOCS_ARTIFACTS_DIR}/{docId}/ — .md, .meta.json, .chunks.jsonl; resolve the machine-local value from ~/.config/system-bus.env.meta.jsonTrigger cues (explicit or implied):
There is no separate pdf-brain binary. Use joelclaw docs …. A PATH alias pdf-brain → joelclaw docs may exist for old muscle memory.
# Search across all books — semantic by default (nomic 768-dim)
joelclaw docs search "distributed consensus" --limit 8
# Search within a specific book
joelclaw docs search "consensus" --doc designing-dataintensive-applications-39cc0d1842a5
# Expand a chunk into surrounding context
joelclaw docs context <chunk-id> --mode snippet-window --before 2 --after 2
# Get the full parent section
joelclaw docs context <chunk-id> --mode parent-section
# Get neighboring sections for broad context
joelclaw docs context <chunk-id> --mode section-neighborhood --neighbors 2
# Read the full structured markdown of a book
joelclaw docs markdown <doc-id>
# Get document summary + taxonomy metadata
joelclaw docs summary <doc-id>GET /search?q=distributed+consensus&semantic=true&expand=true&assemble=true
GET /docs/:docId/toc
GET /docs/:docId/markdown
GET /docs/:docId/summary
GET /chunks/:chunkIdThe docs-api runs on k8s at docs-api:3838 (Bearer auth required).
The library supports progressive context expansion:
Start narrow, expand only when needed. Don't dump full books into context.
While reading, keep a compact ledger:
doc (title)chunk-idclaim (one sentence)relevance (why it matters to this problem)Never output synthesis without traceable evidence.
Turn each claim into an operational principle in imperative form:
Avoid vague advice. Each principle must imply a technical behavior.
Map principles to existing joelclaw operating rules:
For each principle, produce:
The library is classified via SKOS taxonomy:
jc:docs:programming (systems, languages, architecture)jc:docs:business (creator economy)jc:docs:education (learning science, pedagogy)jc:docs:design (game, systems, product)jc:docs:marketing, jc:docs:strategy, jc:docs:ai, jc:docs:operationsUse --concept jc:docs:programming:systems to narrow by domain.
Use joelclaw docs status to see facet counts per concept.
joelhooks/joelclaw
1fb2468
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.