knowledge
/knowledge
Work with the knowledge corpus — search atoms and domains, compose context briefings, register concepts (learn), link concepts to their sources (cite), browse concept clusters (topic), and grow or curate the corpus. Use whenever you need retrieved context before implementing, want to record a technique, or need to attribute a concept to its paper or author.
- Author
- ohdearquant ↗
- Repository
- khive ↗
- Licence
- Apache-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Work with the knowledge corpus — search atoms and domains, compose context briefings, register concepts (learn), link concepts to their sources (cite), browse concept clusters (topic), and grow or curate the corpus. Use whenever you need retrieved context before implementing, want to record a technique, or need to attribute a concept to its paper or author.
Original author description
Work with the knowledge corpus — search atoms and domains, compose context briefings, register concepts (learn), link concepts to their sources (cite), browse concept clusters (topic), and grow or curate the corpus. Use whenever you need retrieved context before implementing, want to record a technique, or need to attribute a concept to its paper or author.
How it works
- The pattern
- Anti-patterns
SKILL.md preview
--- description: Work with the knowledge corpus — search atoms and domains, compose context briefings, register concepts (learn), link concepts to their sources (cite), browse concept clusters (topic), and grow or curate the corpus. Use whenever you need retrieved context before implementing, want to record a technique, or need to attribute a concept to its paper or author. --- # Work with the knowledge corpus khive knowledge is the domain-corpus layer: atoms (markdown chunks), domains (thematic groupings), and concept entities. The verbs fall into retrieval (`search`, `suggest`, `compose`), growth (`learn`, `cite`, `topic`), and corpus maintenance (`upsert_atoms`, `edit`, `import`, `index`). Per-verb param detail is one call away: `request(ops="knowledge.search(help=true)")`. ## The pattern ### 1. Search first Before composing a briefing or registering anything new, search to see what is already in the corpus. ``` request(ops="knowledge.search(query=\"attention sink quantization\", rerank=true)") ``` Embedding rerank is on by default when an embedder is configured (`rerank=false` opts out). Scores are request-relative and squash-normalized to [0,1), and every result reports `calibrated: false` in its `score_provenance`: compare results by rank within one response, never by absolute score across queries. For queries that span multiple concepts, add `decompose=true` to split the query before retrieval. ``` request(ops="knowledge.search(query=\"RoPE positional encoding and flash attention\", rerank=true, decompose=true)") ``` ### 2. Suggest domains, then compose a briefing When you need a richer briefing assembled from multiple atoms, use `suggest` to identify relevant domains, then pass the returned IDs to `compose`. ``` request(ops="knowledge.suggest(query=\"token-efficient attention for long context inference\", role=\"implementer\", limit=8)") ``` Run `suggest` two or three times with varied phrasing to get broader coverage before calling `compose`. Then: ``` request(ops="knowledge.compose(domain_ids=[\"<id1>\", \"<id2>\"], query=\"rerank for long-context attention\")") ``` `compose` accepts `domain_ids`, `atom_ids`, or both. The `query` parameter re-ranks the assembled content toward your actual question. ### 3. Register a concept with learn `knowledge.learn` creates a **concept entity** (not an atom). Use it for algorithms, techniques, and ideas worth tracking in the knowledge graph. ``` request(ops="knowledge.learn(name=\"GQA\", domain=\"attention\", tags=[\"transformer\", \"kv-cache\"])") ``` Papers are `document` entities, not concepts. Use `create(kind=\"document\")` for papers, then link them with `cite`. ### 4. Cite the source `knowledge.cite` creates an `introduced_by` edge from a concept to the document, person, or org that first introduced it. Both IDs must be full UUIDs. ``` request(ops="knowledge.cite(concept_id=\"<concept_uuid>\", source_id=\"<document_uuid>\")") ``` The typical chain is: `learn` to register the concept, `create(kind="document")` to register the paper, then `cite` to link them. ### 5. Browse concept clusters with topic Use `knowledge.topic` to check for duplicates before calling `learn`, or to explore what the corpus knows in a research area. ``` request(ops="knowledge.topic(query=\"LoRA\", limit=5)") request(ops="knowledge.topic(domain=\"fine-tuning\", limit=20)") ``` ## Anti-patterns - **Composing without suggesting first.** `suggest` tells you which domains are relevant. Skipping it means guessing domain IDs or missing coverage. - **Calling `learn` without checking topic first.** `learn` always creates a new entity. If a concept already exists you get a duplicate. Search or topic-check before registering. - **Using `learn` for papers.** Papers are `document` entities. Use `learn` for algorithms and techniques, `create(kind="document")` for papers, then `cite` to connect them. - **Citing with note IDs.** The `source_id` in `cite` must be a `document`, `person`, or `org` entity. Notes are not valid targets for `introduced_by`. - **Omitting `domain` in `learn`.** Without a domain tag, the concept will not surface in `topic(domain="...")` filtered queries. - **Skipping `rerank=true` in search.** Raw RRF scores are around 0.016 and hard to compare. Always pass `rerank=true` for meaningful relevance ordering.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · ohdearquant/khive | 84 | Apache-2.0 |
| evoila/meho | 100 | Apache-2.0 |
| trevormil/terminal | 100 | MIT |
| ialameh/sift-coder | 100 | MIT |
| tomas-rampas/agentic-framework | 98 | Apache-2.0 |
| easeit-cz/vornik | 90 | AGPL-3.0 |
| envigoinnovations/subscriby-agentic-kit | 90 | MIT |
| guaardvark/guaardvark | 90 | MIT |
| sylvainHellin/agent-setup | 88 | MIT |
Database snapshot: 13.11.2026 · package version 0401fd1926e2 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100learn
Start autonomous knowledge building daemon — browse learnings, store findings, synthesize. Use when user wants to learn, build knowledge graph, or grow expertise. - 82knowledge_graph_skill
Skill for searching and evolving the SQLite-backed Knowledge Graph.\ \ Use this when you need structured fact/concept/link search across one or more\ \ teams, NPCs, or directory scopes.\nThe Knowledge Graph (KG) is stored in the application's\ \ database (not YAML). It is scoped… - 100easy-cheese-setup
Register the durable `cheese-durable` Hallouminate corpus. Repair the durable corpus when its configuration changes. Register the repository tenant. Repair the repository tenant when its configuration changes. Use this skill when the user requests durable corpus setup or repair.… - 84kg
Work the knowledge graph as typed entities and edges — search before you create, model new things as entities wired with the closed relation set, explore what is known by traversing, and route reviewable changes through propose/review. Use whenever you add a concept, paper, or… - 88orchata-rag
Knowledge management and RAG platform with tree-based document indexing. Use this skill to search, browse, and manage Orchata knowledge bases via MCP tools. - 100knowledge-locator
Searches and navigates stored knowledge in memory palaces. Use when looking for previously stored information or cross-referencing concepts across palaces.