[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77WC9MWJA56S0J270S5ZH3A":3,"skill-same:01M77WC9MWJA56S0J270S5ZH3A":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77WC9MWJA56S0J270S5ZH3A","tiered-context-manager",null,"多Agent协作的智能会话上下文管理系统。当需要管理AI agent的长会话压缩、多层记忆分层、跨Agent知识共享时激活。支持L1\u002FL2\u002FL3分层压缩、实时监控、统计分析。用于OpenClaw agent的上下文管理优化。","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftiered-context-manager\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tiered-context-manager\ndescription: 多Agent协作的智能会话上下文管理系统。当需要管理AI agent的长会话压缩、多层记忆分层、跨Agent知识共享时激活。支持L1\u002FL2\u002FL3分层压缩、实时监控、统计分析。用于OpenClaw agent的上下文管理优化。\n---\n\n# Tiered Context Manager\n\n多Agent协作的智能会话上下文管理系统。\n\n## 核心功能\n\n### 1. 分层压缩 (Tiered Compression)\n\n| 层级 | 触发 | 方法 | 成本 |\n|------|------|------|------|\n| **L1** | 75% | 截断最后N条工具结果 | $0 |\n| **L2** | 90% | 摘要前半段 | $0 |\n| **L3** | 95% | AI智能摘要 | Agent's AI |\n\n### 2. 记忆分层 (Memory Tiering)\n\n```\nPersistent (365天) → Normal (30天) → Ephemeral (7天)\n```\n\n### 3. 跨Agent协作\n\n- 共享记忆\n- Inbox任务队列\n- 防冲突机制\n\n## 使用方式\n\n### 扫描压缩\n```bash\nnode skills\u002Ftiered-context-manager\u002Fscripts\u002Ftiered_standalone.js scan\n```\n\n### 查看统计\n```bash\nnode skills\u002Ftiered-context-manager\u002Fscripts\u002Ftiered_standalone.js stats\n```\n\n### 生成报告\n```bash\nnode skills\u002Ftiered-context-manager\u002Fscripts\u002Ftiered_standalone.js report\n```\n\n## API\n\n```javascript\nconst { TieredContextEngine } = require('.\u002Ftiered-engine.js');\n\nconst engine = new TieredContextEngine({\n  openclawVersion: '1.0.0'\n});\n\nconst result = await engine.compact({\n  sessionFile: '\u002Fpath\u002Fto\u002Fsession.jsonl',\n  tokenBudget: 100000,\n  currentTokenCount: 85000\n});\n```\n\n## 模块说明\n\n| 模块 | 文件 | 功能 |\n|------|------|------|\n| 主引擎 | `tiered-engine.js` | L1\u002FL2\u002FL3压缩入口 |\n| L3压缩 | `l3_ai_compressor.js` | AI摘要任务队列 |\n| 记忆分层 | `memory_tiering.js` | 三层记忆管理 |\n| 跨Agent | `cross_agent_context.js` | 知识共享 |\n| 实时监控 | `realtime_monitor.js` | 阈值监控 |\n| 统计分析 | `compression_stats.js` | 效果统计 |\n\n## 配置\n\n编辑 `config\u002Fdefault.json`:\n\n```json\n{\n  \"compression\": {\n    \"L1_threshold\": 0.75,\n    \"L2_threshold\": 0.90,\n    \"L3_threshold\": 0.95,\n    \"min_messages\": 6\n  }\n}\n```\n\n## 测试\n\n```bash\nnode skills\u002Ftiered-context-manager\u002Fscripts\u002Frun_tests.js\n```\n\n## 详细信息\n\n详见 `references\u002Farchitecture.md` - 完整架构文档\n","# Tiered Context Manager\n\n多Agent协作的智能会话上下文管理系统。\n\n## 核心功能\n\n### 1. 分层压缩 (Tiered Compression)\n\n| 层级 | 触发 | 方法 | 成本 |\n|------|------|------|------|\n| **L1** | 75% | 截断最后N条工具结果 | $0 |\n| **L2** | 90% | 摘要前半段 | $0 |\n| **L3** | 95% | AI智能摘要 | Agent's AI |\n\n### 2. 记忆分层 (Memory Tiering)\n\n```\nPersistent (365天) → Normal (30天) → Ephemeral (7天)\n```\n\n### 3. 跨Agent协作\n\n- 共享记忆\n- Inbox任务队列\n- 防冲突机制\n\n## 使用方式\n\n### 扫描压缩\n```bash\nnode skills\u002Ftiered-context-manager\u002Fscripts\u002Ftiered_standalone.js scan\n```\n\n### 查看统计\n```bash\nnode skills\u002Ftiered-context-manager\u002Fscripts\u002Ftiered_standalone.js stats\n```\n\n### 生成报告\n```bash\nnode skills\u002Ftiered-context-manager\u002Fscripts\u002Ftiered_standalone.js report\n```\n\n## API\n\n```javascript\nconst { TieredContextEngine } = require('.\u002Ftiered-engine.js');\n\nconst engine = new TieredContextEngine({\n  openclawVersion: '1.0.0'\n});\n\nconst result = await engine.compact({\n  sessionFile: '\u002Fpath\u002Fto\u002Fsession.jsonl',\n  tokenBudget: 100000,\n  currentTokenCount: 85000\n});\n```\n\n## 模块说明\n\n| 模块 | 文件 | 功能 |\n|------|------|------|\n| 主引擎 | `tiered-engine.js` | L1\u002FL2\u002FL3压缩入口 |\n| L3压缩 | `l3_ai_compressor.js` | AI摘要任务队列 |\n| 记忆分层 | `memory_tiering.js` | 三层记忆管理 |\n| 跨Agent | `cross_agent_context.js` | 知识共享 |\n| 实时监控 | `realtime_monitor.js` | 阈值监控 |\n| 统计分析 | `compression_stats.js` | 效果统计 |\n\n## 配置\n\n编辑 `config\u002Fdefault.json`:\n\n```json\n{\n  \"compression\": {\n    \"L1_threshold\": 0.75,\n    \"L2_threshold\": 0.90,\n    \"L3_threshold\": 0.95,\n    \"min_messages\": 6\n  }\n}\n```\n\n## 测试\n\n```bash\nnode skills\u002Ftiered-context-manager\u002Fscripts\u002Frun_tests.js\n```\n\n## 详细信息\n\n详见 `references\u002Farchitecture.md` - 完整架构文档\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ft\u002Ftiered-context-manager",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tiered-context-manager",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tiered-context-manager",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill tiered-context-manager","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftiered-context-manager\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]