[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ACYCY3ANCZ2N6QTFBP9N11":3,"skill-same:01M7ACYCY3ANCZ2N6QTFBP9N11":44},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":27,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M7ACYCY3ANCZ2N6QTFBP9N11","understand-long_term_memory",null,"sancovp\u002Fdark-factory-live","sancovp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F147458096?v=4","01M74F2EFE4Q0KF1Y5AY27HVNB","Isaac Wostrel-Rubin","01M7AC3EB8VZXS1SKHQW1EZ4N1",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fkbworld\u002Fstate\u002Flibraries\u002F_staging_llm_memory_and_context_engineering\u002Funderstand-long_term_memory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# understand-long_term_memory\n\n**CALL NUMBER:** `llm_memory_and_context_engineering.long_term_memory : deep_long_term_memory(14)`\n**DEFINITION:** Information persisted across sessions, tasks, or deployments; requires external storage and retrieval mechanisms since it cannot fit in context_window\n\nInvoke this skill to understand `long_term_memory` down to its primitives. The RELATIVE ROOT below is the least-fixed-point closure of everything it bundles from — the full import cone, grouped by the lib each prim comes from. Projected from a prover-typed KB (MAP\u002FSWI-Prolog consistency gate): every reference below resolves.\n\n## THE RELATIVE ROOT (the import cone, by lib)\n\n### from `deep_long_term_memory`\n- **em_episode_marker** (d2): Signal indicating episode boundaries: new session start, task boundary, or conversational turn demarcation.\n- **em_event** (d2): A discrete unit of experience stored in episodic memory — a single interaction, task completion, or notable outcome.\n- **em_significance_rank** (d2): Ordering structure by event importance or impact; enables retrieval by significance rather than recency.\n- **em_temporal_index** (d2): Organizational structure mapping events to time ranges; enables retrieval by temporal proximity.\n- **em_experience_sequence** (d2): An ordered collection of events forming a coherent experiential arc; the episodic unit of storage.\n- **em_salience_weight** (d2): Numeric value indicating how memorable or significant an event is; influences consolidation priority and retrieval ranking.\n- **em_recency_decay** (d2): Algorithm for reducing salience weights of older events over time; models forgetting in episodic memory.\n- **kg_inference** (d2): Deriving new kg_triple entries from existing ones through rule application or traversal over the kg_ontology (e.g., transitivity of is_a)\n- **kg_traversal** (d2): Navigating the knowledge_graph along kg_relationship edges to discover connected kg_entities; the fundamental operation enabling associative retrieval\n- **em_context_bundle** (d3): The surrounding context of an event including user inputs, system responses, and environmental state at the time.\n- **em_interaction_record** (d3): Structured log of the exchange pairs (prompt\u002Fresponse) comprising an event.\n- **em_outcome** (d3): The result or consequence of an event — success, failure, or partial completion — recorded for outcome-based retrieval.\n- **em_state_snapshot** (d3): Captured system state (context window contents, active variables, user profile) at the moment of an event.\n- **em_timestamp** (d3): Temporal marker indicating when an event occurred; enables chronological ordering of episodic entries.\n\n### from `llm_memory_and_context_engineering`\n- **episodic_memory** (d1): Memory storing discrete experiences or events — specific interactions,完成任务, or notable outcomes — organized chronologically or by significance\n- **knowledge_graph** (d1): A graph-structured representation of entities and their relationships; used as a structured form of semantic_memory with traversable edges\n- **memory_audit** (d1): Systematic review of stored memories for accuracy, relevance, and compliance; governance practice for long_term_memory systems\n- **memory_capacity** (d1): Maximum storable items in a memory system; bounded by context_length for working_memory and storage size for long_term_memory\n- **memory_consolidation** (d1): The process of transforming short-term memory representations into longer-term storage; converting ephemeral state to persistent records\n- **memory_invalidation** (d1): Removing or updating outdated memories; necessary when world_model facts change and stored memories become incorrect\n- **memory_persistence** (d1): How long memory survives; session memory (within conversation), user memory (across sessions), or permanent memory (until explicitly deleted).\n- **memory_poisoning** (d1): Corruption of long_term_memory stores with false or harmful content; defense requires verification and source attribution\n- **memory_retrieval** (d1): The act of fetching stored memory entries — by semantic similarity, keyword, metadata, or temporal proximity — to include in context\n- **semantic_memory** (d1): Memory storing general world knowledge, facts, and concepts rather than specific personal experiences; queried via retrieval for grounding\n- **semantic_network** (d1): Graph of concepts connected by typed edges; models can store and traverse this structure for relational reasoning\n- **vector_database** (d1): Storage system indexing embeddings for similarity search; backbone of RAG. Examples: Pinecone, Weaviate, Chroma, FAISS. Enables retrieval from vast document collections.\n- **semantic_similarity** (d2): Measure of meaning overlap between two text fragments in embedding_space; the basis for associative_memory retrieval\n- **approximate_nearest_neighbor** (d2): Fast retrieval of roughly similar vectors accepting some error; enables scaling vector_database beyond exact search limits\n- **chunking_strategy** (d2): How documents are split into retrieval units; choices affect recall\u002Fprecision: fixed-size, semantic (by sentences\u002Fparagraphs), recursive, or agentic splitting.\n- **cosine_similarity** (d2): A similarity measure between embedding vectors based on the cosine of the angle between them; invariant to vector magnitude\n- **embedding_dimensionality** (d2): Number of dimensions in the embedding_space; higher captures more nuance but increases storage and retrieval_cost\n- **embedding_model** (d2): A model trained to produce text_embedding vectors; may be a general encoder like CLIP, a domain-specific encoder, or a late-intercept from an LLM\n- **hierarchical_chunking** (d2): Recursive splitting of text into nested chunks enabling multi-granularity retrieval from summary to detail\n- **locality_sensitive_hashing** (d2): Hashing scheme preserving similarity relationships; used in approximate_nearest_neighbor for fast vector_database queries\n- **overlapping_chunks** (d2): Chunking strategy where adjacent chunks share boundary tokens to prevent information loss at chunk_boundaries\n- **context_fidelity** (d3): The accuracy with which context content reflects ground truth; low fidelity leads to hallucinated reasoning from corrupted context\n- **associative_memory** (d3): Recall triggered by related concepts; attention mechanism is a form of content-addressable associative memory enabling retrieval by similarity.\n\n## CONSUMERS (what needs this)\n`retrieval_augmented_generation`, `system_message`\n\n---\n*Projected from the `llm memory and context engineering` KB (438 concepts \u002F 213 relations) — consistency-typed by MAP; the facet list after the colon IS the cross-lib dependency web.*",{},"main","dfed66814f223a9f42bec375a3c59d74eefdcad5","kbworld\u002Fstate\u002Flibraries\u002F_staging_llm_memory_and_context_engineering\u002Funderstand-long_term_memory","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live","https:\u002F\u002Fgithub.com\u002Fsancovp","https:\u002F\u002Fisaacwr.carrd.co\u002F","AKA Olivus Victory-Promise\r\n\r\nAI Agents, Tools, and Infrastructure","2026-10-09 02:22:46",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add sancovp\u002Fdark-factory-live --skill understand-long_term_memory",{"tool":36,"command":37},"bunx","bunx skills add sancovp\u002Fdark-factory-live --skill understand-long_term_memory",{"tool":39,"command":40},"pnpm","pnpm dlx skills add sancovp\u002Fdark-factory-live --skill understand-long_term_memory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fkbworld\u002Fstate\u002Flibraries\u002F_staging_llm_memory_and_context_engineering\u002Funderstand-long_term_memory\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7AGYB2CPCQYJP631CH18A1A","quests","The quest board — accept quests, craft skills to fulfill them, earn gold rewards.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fthings\u002Fquests\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7AGXYVW23T3X4APFAV3H4ZY","metrics","Check your profitability and trading performance — gold earned, spent, net profit, trade history.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fthings\u002Fmetrics\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7AGXWC0C1W7PZK5YXQW0NQM","things","Flat search across the game — find quests, knowledge domains, agents, trade listings, memories.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fthings\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7AGXT9SX50REN4K7ZGE08JT","test-skill","Test a crafted skill by running it through a fresh Claude instance. Use before posting to trade or submitting for quests.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Ftest_skill\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7AGXRA67MFHJJNDEVX6PFKR","remember","Your zettelkasten — persistent memory that survives across seasons. Record observations, strategies, and craft insights.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fremember\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7AGXNND02SYFXB1JV9YRPAN","skill-types","The type system — Template, Lens, Prosthesis, Towering, Combiner, Persona, Recipe. Learn to type skills, chain them, and write Recipes.","https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fworld\u002Fagents\u002Fagent_002\u002F.claude\u002Fskills\u002Fplaces\u002Fskill_types\u002FSKILL.md",[],[]]