[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AEEDDWFBQCFM96XRFCJV7M":3,"skill-same:01M7AEEDDWFBQCFM96XRFCJV7M":45},{"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":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7AEEDDWFBQCFM96XRFCJV7M","0.4.2-understand-context_length",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\u002Fllm_memory_and_context_engineering\u002Funderstand-llm_memory_and_context_engineering\u002Funderstand-context_length\u002F.claude\u002Fskills\u002F0.4.2-understand-context_length\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: 0.4.2-understand-context_length\ndescription: [0.4.2] Total number of tokens (input + output) an LLM supports; the hard ceiling on how much text can be loaded into \n---\n\n# understand-context_length\n\n**CALL NUMBER:** `llm_memory_and_context_engineering.context_length : deep_context_window(13)`\n**DEFINITION:** Total number of tokens (input + output) an LLM supports; the hard ceiling on how much text can be loaded into context_window at once\n\nInvoke this skill to understand `context_length` 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_context_window`\n- **context_boundary** (d1): The hard edge position within context where context_overflow triggers if exceeded; exactly context_length minus one for the output region.\n- **context_resize_event** (d1): The runtime mechanism or policy invoked when context_length must accommodate inputs exceeding current capacity; involves reallocation or overflow handling.\n- **context_scaling_factor** (d1): The multiplier relating raw context_length to effective_context; models with improved attention patterns achieve factors closer to one.\n- **input_token_budget** (d1): The portion of context_length reserved and available for prompt tokens, retrieved context, and system instructions before generation begins.\n- **max_model_tokens** (d1): The absolute token ceiling of the model architecture; synonymous with context_length when no additional constraints apply.\n- **maximum_position** (d1): The highest valid integer position index representable by the position_embedding scheme within context_length; equal to max_model_tokens minus one for zero-indexed sequences.\n- **output_token_limit** (d1): The portion of context_length reserved for generated tokens; equals context_length minus input_token_budget minus overhead tokens.\n- **overflow_threshold** (d1): The position or token count at which the model behavior shifts from normal processing to truncation or error; often slightly below context_boundary.\n- **token_boundary_marker** (d1): The positional delimiter marking the transition from input context to output generation; tokens before this marker are provided context, tokens after are to be generated.\n- **context_capacity_ratio** (d2): The ratio of tokens actively processed to total available context_length; quantifies context_utilization as used_capacity divided by max_model_tokens.\n- **token_headroom** (d2): The arithmetic difference between current position or token count and context_boundary; the remaining room before overflow_threshold is reached.\n- **position_index** (d2): Ordinal integer from zero to context_window_boundary representing each token's location in the sequence; each index must be encodable by the position_embedding scheme in use\n- **sequence_position** (d2): The ordinal index of a token within the full context sequence; constrained to be less than or equal to maximum_position.\n\n### from `llm_memory_and_context_engineering`\n- **context_padding** (d1): Appending empty tokens to extend context to alignment boundaries; inefficient but sometimes necessary for batch processing\n- **token_accounting** (d1): Tracking token usage across context_building operations to ensure neither context_window nor max_tokens limits are exceeded\n- **effective_context** (d2): Portion of context_window the model actually leverages for any given generation; often less than the full window due to attention patterns\n\n## CONSUMERS (what needs this)\n`c_util_007`, `c_util_008`, `context_window`\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.*\n\n_(leaf — this is an actual skill.)_\n","# understand-context_length\n\n**CALL NUMBER:** `llm_memory_and_context_engineering.context_length : deep_context_window(13)`\n**DEFINITION:** Total number of tokens (input + output) an LLM supports; the hard ceiling on how much text can be loaded into context_window at once\n\nInvoke this skill to understand `context_length` 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_context_window`\n- **context_boundary** (d1): The hard edge position within context where context_overflow triggers if exceeded; exactly context_length minus one for the output region.\n- **context_resize_event** (d1): The runtime mechanism or policy invoked when context_length must accommodate inputs exceeding current capacity; involves reallocation or overflow handling.\n- **context_scaling_factor** (d1): The multiplier relating raw context_length to effective_context; models with improved attention patterns achieve factors closer to one.\n- **input_token_budget** (d1): The portion of context_length reserved and available for prompt tokens, retrieved context, and system instructions before generation begins.\n- **max_model_tokens** (d1): The absolute token ceiling of the model architecture; synonymous with context_length when no additional constraints apply.\n- **maximum_position** (d1): The highest valid integer position index representable by the position_embedding scheme within context_length; equal to max_model_tokens minus one for zero-indexed sequences.\n- **output_token_limit** (d1): The portion of context_length reserved for generated tokens; equals context_length minus input_token_budget minus overhead tokens.\n- **overflow_threshold** (d1): The position or token count at which the model behavior shifts from normal processing to truncation or error; often slightly below context_boundary.\n- **token_boundary_marker** (d1): The positional delimiter marking the transition from input context to output generation; tokens before this marker are provided context, tokens after are to be generated.\n- **context_capacity_ratio** (d2): The ratio of tokens actively processed to total available context_length; quantifies context_utilization as used_capacity divided by max_model_tokens.\n- **token_headroom** (d2): The arithmetic difference between current position or token count and context_boundary; the remaining room before overflow_threshold is reached.\n- **position_index** (d2): Ordinal integer from zero to context_window_boundary representing each token's location in the sequence; each index must be encodable by the position_embedding scheme in use\n- **sequence_position** (d2): The ordinal index of a token within the full context sequence; constrained to be less than or equal to maximum_position.\n\n### from `llm_memory_and_context_engineering`\n- **context_padding** (d1): Appending empty tokens to extend context to alignment boundaries; inefficient but sometimes necessary for batch processing\n- **token_accounting** (d1): Tracking token usage across context_building operations to ensure neither context_window nor max_tokens limits are exceeded\n- **effective_context** (d2): Portion of context_window the model actually leverages for any given generation; often less than the full window due to attention patterns\n\n## CONSUMERS (what needs this)\n`c_util_007`, `c_util_008`, `context_window`\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.*\n\n_(leaf — this is an actual skill.)_\n",{},"main","dfed66814f223a9f42bec375a3c59d74eefdcad5","kbworld\u002Fstate\u002Flibraries\u002Fllm_memory_and_context_engineering\u002Funderstand-llm_memory_and_context_engineering\u002Funderstand-context_length\u002F.claude\u002Fskills\u002F0.4.2-understand-context_length","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":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add sancovp\u002Fdark-factory-live --skill 0.4.2-understand-context_length",{"tool":37,"command":38},"bunx","bunx skills add sancovp\u002Fdark-factory-live --skill 0.4.2-understand-context_length",{"tool":40,"command":41},"pnpm","pnpm dlx skills add sancovp\u002Fdark-factory-live --skill 0.4.2-understand-context_length","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsancovp\u002Fdark-factory-live\u002Fblob\u002Fmain\u002Fkbworld\u002Fstate\u002Flibraries\u002Fllm_memory_and_context_engineering\u002Funderstand-llm_memory_and_context_engineering\u002Funderstand-context_length\u002F.claude\u002Fskills\u002F0.4.2-understand-context_length\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"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":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"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":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"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":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"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":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"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":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"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",[],[]]