Use this skill to design or implement a standalone knowledge runtime that can:
This skill is useful when an agent already has memories, logs, tasks, and reusable assets, but they are still scattered across unrelated files or stores.
Use it to:
Follow this default sequence:
knowledge_entry, knowledge_link, and entity records.Use two axes.
working, episodic, semantic, procedural, policysession, shared, publishedDefault placement rules:
gene, capsule, skill, and reusable playbooks belong to procedural.episodic.semantic.policy.The runtime should center on three record types:
knowledge_entry: the main unit of stored knowledgeknowledge_link: a typed relationship between recordsentity: the canonical form of a repo, module, topic, paper, person, org, or assetDefault files:
memory/knowledge/knowledge_store.jsonlmemory/knowledge/knowledge_links.jsonlmemory/knowledge/knowledge_index.jsonmemory/knowledge/entity_index.jsonWhen retrieval is needed:
knowledge_hitsknowledge_bias_tagslinked_entitieslinked_genesmemory_layersknowledge_context_previewRecommended relations:
mentions_entitysupports_genederived_from_eventabstracts_taskcontradictssupersedessame_topic_asevidence_forused_by_cycleOnly write back stable, high-signal findings.
Keep the runtime decoupled from any one agent loop. Plug it into host systems through generic adapters:
query_builder: turns role, objective, and signals into a retrieval queryretrieval_selector: ranks hits and prepares the runtime output bundletask_ranker: adds knowledge relevance into task or action scoringprompt_context: injects a compact knowledge block into promptswrite_back: records durable findings after successful runsobservability: exposes hit counts, linked entities, and layer coverage to reports or dashboardsUse these files:
README.md: overview, use cases, and integration checklistexamples.md: example retrieval, ranking, and write-back flowsreference.md: record schemas, output shape, and adapter details共 1 个版本