[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77Q32BXPC7S4GHARFJ55E9Y":3,"skill-same:01M77Q32BXPC7S4GHARFJ55E9Y":54},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":53},"01M77Q32BXPC7S4GHARFJ55E9Y","openclaw-skill-lazy-loader",null,"Dramatically reduce per-session token usage by loading skills and context files only when needed — not at session start. Includes the SKILLS catalog pattern, AGENTS.md lazy loading strategy, and a Python helper that recommends exactly which files to load for any given task. Compatible with all OpenClaw agents. Works alongside Token Optimizer.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fopenclaw-skill-lazy-loader\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: openclaw-skill-lazy-loader\ndescription: Dramatically reduce per-session token usage by loading skills and context files only when needed — not at session start. Includes the SKILLS catalog pattern, AGENTS.md lazy loading strategy, and a Python helper that recommends exactly which files to load for any given task. Compatible with all OpenClaw agents. Works alongside Token Optimizer.\nversion: 1.0.0\nhomepage: https:\u002F\u002Fgithub.com\u002FAsif2BD\u002Fopenclaw-skill-lazy-loader\nsource: https:\u002F\u002Fgithub.com\u002FAsif2BD\u002Fopenclaw-skill-lazy-loader\nauthor: Asif2BD\nlicense: Apache 2.0\nsecurity:\n  verified: true\n  auditor: Oracle (Matrix Zion)\n  audit_date: 2026-02-28\n  scripts_no_network: true\n  scripts_no_code_execution: true\n  scripts_no_subprocess: true\n  scripts_data_local_only: true\n---\n\n# OpenClaw Skill Lazy Loader\n\nStop loading every skill file at session start. Load what you need, when you need it — and cut your token usage by 40–70%.\n\n## The Problem\n\nMost OpenClaw agents load their entire skill library at startup:\n\n```markdown\n# AGENTS.md (naive approach)\nRead ALL of these before starting:\n- skills\u002Fpython\u002FSKILL.md\n- skills\u002Fgit\u002FSKILL.md\n- skills\u002Fdocker\u002FSKILL.md\n- skills\u002Faws\u002FSKILL.md\n- skills\u002Fbrowser\u002FSKILL.md\n... (20 more)\n```\n\nEach session burns **3,000–15,000 tokens** just loading context that may never be used. At scale, this is your biggest cost.\n\n## The Solution: Lazy Loading\n\nInstead of loading skills upfront, agents check a **SKILLS catalog** (a lightweight index) and load individual skill files only when a task requires them.\n\n**Before:** Load 20 skill files = ~12,000 tokens\u002Fsession\n**After:** Load catalog (300 tokens) + 1–2 relevant skills (~800 tokens) = **~1,100 tokens\u002Fsession**\n\nThat's an **89% reduction** on context loading alone.\n\n---\n\n## Implementation Guide\n\n### Step 1: Create Your SKILLS Catalog\n\nCreate `SKILLS.md` in your agent workspace — a lightweight index of all available skills:\n\n```markdown\n# Available Skills\n\n| Skill | File | Use When |\n|-------|------|----------|\n| Python | skills\u002Fpython\u002FSKILL.md | Writing\u002Fdebugging Python code |\n| Git | skills\u002Fgit\u002FSKILL.md | Git operations, PRs, branches |\n| Docker | skills\u002Fdocker\u002FSKILL.md | Containers, images, compose |\n| Browser | skills\u002Fbrowser\u002FSKILL.md | Web scraping, UI automation |\n| AWS | skills\u002Faws\u002FSKILL.md | Cloud deployments, S3, Lambda |\n```\n\nThis catalog is the ONLY file loaded at session start. ~200–400 tokens instead of 10,000+.\n\nSee `SKILLS.md.template` for a complete starter template.\n\n### Step 2: Update Your AGENTS.md\n\nReplace bulk loading with the catalog pattern:\n\n```markdown\n## Skills\n\nAt session start: Read SKILLS.md (the index only).\nWhen a task needs a skill: Read the specific SKILL.md for that skill.\nNever load all skills upfront.\n\n### Loading Decision\nBefore loading any skill file:\n1. Does the current task need it? (yes → load it, no → skip)\n2. Has it already been loaded this session? (yes → skip, no → load once)\n```\n\nSee `AGENTS.md.template` for the full recommended AGENTS.md skills section.\n\n### Step 3: Use the Context Optimizer (Optional)\n\nThe included `context_optimizer.py` analyzes your task description and recommends which skills to load:\n\n```bash\npython3 context_optimizer.py recommend \"Write a Python script to push to S3\"\n# Output:\n# Recommended skills to load:\n#   - skills\u002Fpython\u002FSKILL.md  (confidence: high — Python task)\n#   - skills\u002Faws\u002FSKILL.md     (confidence: high — S3 mentioned)\n#   - skills\u002Fgit\u002FSKILL.md     (confidence: low  — skip unless pushing to GitHub)\n```\n\n### Step 4: Apply to Memory Files Too\n\nThe same pattern works for memory and context files:\n\n```markdown\n## Memory Loading (AGENTS.md)\n\nAt session start: Read MEMORY.md (summary only).\nLoad daily files (memory\u002FYYYY-MM-DD.md) only when:\n- User asks about past work\n- Task references a specific date or project\n- Debugging requires historical context\n```\n\n---\n\n## Token Savings Calculator\n\n| Scenario | Before | After | Savings |\n|----------|--------|-------|---------|\n| 5 skills loaded | ~3,000 tokens | ~600 tokens | 80% |\n| 10 skills loaded | ~6,500 tokens | ~750 tokens | 88% |\n| 20 skills loaded | ~13,000 tokens | ~900 tokens | 93% |\n| +Memory files (5) | +4,000 tokens | +400 tokens | 90% |\n\n*Estimates based on average SKILL.md size of ~600 tokens. Catalog averages ~150 tokens.*\n\n---\n\n## Integration with Token Optimizer\n\nThis skill pairs directly with [OpenClaw Token Optimizer](https:\u002F\u002Fclawhub.ai\u002FAsif2BD\u002Fopenclaw-token-optimizer). Lazy loading handles **context loading costs**; Token Optimizer handles **model routing, heartbeat budgeting, and runtime costs**. Together they cover the full token lifecycle.\n\nInstall both:\n```bash\nclawhub install openclaw-skill-lazy-loader\nclawhub install openclaw-token-optimizer\n```\n\n---\n\n## Files in This Skill\n\n| File | Purpose |\n|------|---------|\n| `SKILL.md` | This guide |\n| `SKILLS.md.template` | Starter SKILLS catalog template |\n| `AGENTS.md.template` | Lazy loading AGENTS.md section |\n| `context_optimizer.py` | CLI helper — recommends skills to load per task |\n| `README.md` | ClawHub listing description |\n| `SECURITY.md` | Security audit and script disclosure |\n| `.clawhubsafe` | File integrity manifest |\n\n---\n\n## Quick Start (5 minutes)\n\n```bash\n# 1. Install\nclawhub install openclaw-skill-lazy-loader\n\n# 2. Copy templates to your agent workspace\ncp ~\u002F.openclaw\u002Fskills\u002Fopenclaw-skill-lazy-loader\u002FSKILLS.md.template ~\u002Fmy-agent\u002FSKILLS.md\ncp ~\u002F.openclaw\u002Fskills\u002Fopenclaw-skill-lazy-loader\u002FAGENTS.md.template ~\u002Fmy-agent\u002FAGENTS.lazy.md\n\n# 3. Edit SKILLS.md — fill in your actual skills\n# 4. Merge AGENTS.lazy.md into your AGENTS.md\n# 5. Test with context_optimizer.py\npython3 ~\u002F.openclaw\u002Fskills\u002Fopenclaw-skill-lazy-loader\u002Fcontext_optimizer.py recommend \"your next task\"\n```\n\n---\n\n*By M Asif Rahman (@Asif2BD) · Apache 2.0 · https:\u002F\u002Fclawhub.ai\u002FAsif2BD\u002Fopenclaw-skill-lazy-loader*\n","# OpenClaw Skill Lazy Loader\n\nStop loading every skill file at session start. Load what you need, when you need it — and cut your token usage by 40–70%.\n\n## The Problem\n\nMost OpenClaw agents load their entire skill library at startup:\n\n```markdown\n# AGENTS.md (naive approach)\nRead ALL of these before starting:\n- skills\u002Fpython\u002FSKILL.md\n- skills\u002Fgit\u002FSKILL.md\n- skills\u002Fdocker\u002FSKILL.md\n- skills\u002Faws\u002FSKILL.md\n- skills\u002Fbrowser\u002FSKILL.md\n... (20 more)\n```\n\nEach session burns **3,000–15,000 tokens** just loading context that may never be used. At scale, this is your biggest cost.\n\n## The Solution: Lazy Loading\n\nInstead of loading skills upfront, agents check a **SKILLS catalog** (a lightweight index) and load individual skill files only when a task requires them.\n\n**Before:** Load 20 skill files = ~12,000 tokens\u002Fsession\n**After:** Load catalog (300 tokens) + 1–2 relevant skills (~800 tokens) = **~1,100 tokens\u002Fsession**\n\nThat's an **89% reduction** on context loading alone.\n\n---\n\n## Implementation Guide\n\n### Step 1: Create Your SKILLS Catalog\n\nCreate `SKILLS.md` in your agent workspace — a lightweight index of all available skills:\n\n```markdown\n# Available Skills\n\n| Skill | File | Use When |\n|-------|------|----------|\n| Python | skills\u002Fpython\u002FSKILL.md | Writing\u002Fdebugging Python code |\n| Git | skills\u002Fgit\u002FSKILL.md | Git operations, PRs, branches |\n| Docker | skills\u002Fdocker\u002FSKILL.md | Containers, images, compose |\n| Browser | skills\u002Fbrowser\u002FSKILL.md | Web scraping, UI automation |\n| AWS | skills\u002Faws\u002FSKILL.md | Cloud deployments, S3, Lambda |\n```\n\nThis catalog is the ONLY file loaded at session start. ~200–400 tokens instead of 10,000+.\n\nSee `SKILLS.md.template` for a complete starter template.\n\n### Step 2: Update Your AGENTS.md\n\nReplace bulk loading with the catalog pattern:\n\n```markdown\n## Skills\n\nAt session start: Read SKILLS.md (the index only).\nWhen a task needs a skill: Read the specific SKILL.md for that skill.\nNever load all skills upfront.\n\n### Loading Decision\nBefore loading any skill file:\n1. Does the current task need it? (yes → load it, no → skip)\n2. Has it already been loaded this session? (yes → skip, no → load once)\n```\n\nSee `AGENTS.md.template` for the full recommended AGENTS.md skills section.\n\n### Step 3: Use the Context Optimizer (Optional)\n\nThe included `context_optimizer.py` analyzes your task description and recommends which skills to load:\n\n```bash\npython3 context_optimizer.py recommend \"Write a Python script to push to S3\"\n# Output:\n# Recommended skills to load:\n#   - skills\u002Fpython\u002FSKILL.md  (confidence: high — Python task)\n#   - skills\u002Faws\u002FSKILL.md     (confidence: high — S3 mentioned)\n#   - skills\u002Fgit\u002FSKILL.md     (confidence: low  — skip unless pushing to GitHub)\n```\n\n### Step 4: Apply to Memory Files Too\n\nThe same pattern works for memory and context files:\n\n```markdown\n## Memory Loading (AGENTS.md)\n\nAt session start: Read MEMORY.md (summary only).\nLoad daily files (memory\u002FYYYY-MM-DD.md) only when:\n- User asks about past work\n- Task references a specific date or project\n- Debugging requires historical context\n```\n\n---\n\n## Token Savings Calculator\n\n| Scenario | Before | After | Savings |\n|----------|--------|-------|---------|\n| 5 skills loaded | ~3,000 tokens | ~600 tokens | 80% |\n| 10 skills loaded | ~6,500 tokens | ~750 tokens | 88% |\n| 20 skills loaded | ~13,000 tokens | ~900 tokens | 93% |\n| +Memory files (5) | +4,000 tokens | +400 tokens | 90% |\n\n*Estimates based on average SKILL.md size of ~600 tokens. Catalog averages ~150 tokens.*\n\n---\n\n## Integration with Token Optimizer\n\nThis skill pairs directly with [OpenClaw Token Optimizer](https:\u002F\u002Fclawhub.ai\u002FAsif2BD\u002Fopenclaw-token-optimizer). Lazy loading handles **context loading costs**; Token Optimizer handles **model routing, heartbeat budgeting, and runtime costs**. Together they cover the full token lifecycle.\n\nInstall both:\n```bash\nclawhub install openclaw-skill-lazy-loader\nclawhub install openclaw-token-optimizer\n```\n\n---\n\n## Files in This Skill\n\n| File | Purpose |\n|------|---------|\n| `SKILL.md` | This guide |\n| `SKILLS.md.template` | Starter SKILLS catalog template |\n| `AGENTS.md.template` | Lazy loading AGENTS.md section |\n| `context_optimizer.py` | CLI helper — recommends skills to load per task |\n| `README.md` | ClawHub listing description |\n| `SECURITY.md` | Security audit and script disclosure |\n| `.clawhubsafe` | File integrity manifest |\n\n---\n\n## Quick Start (5 minutes)\n\n```bash\n# 1. Install\nclawhub install openclaw-skill-lazy-loader\n\n# 2. Copy templates to your agent workspace\ncp ~\u002F.openclaw\u002Fskills\u002Fopenclaw-skill-lazy-loader\u002FSKILLS.md.template ~\u002Fmy-agent\u002FSKILLS.md\ncp ~\u002F.openclaw\u002Fskills\u002Fopenclaw-skill-lazy-loader\u002FAGENTS.md.template ~\u002Fmy-agent\u002FAGENTS.lazy.md\n\n# 3. Edit SKILLS.md — fill in your actual skills\n# 4. Merge AGENTS.lazy.md into your AGENTS.md\n# 5. Test with context_optimizer.py\npython3 ~\u002F.openclaw\u002Fskills\u002Fopenclaw-skill-lazy-loader\u002Fcontext_optimizer.py recommend \"your next task\"\n```\n\n---\n\n*By M Asif Rahman (@Asif2BD) · Apache 2.0 · https:\u002F\u002Fclawhub.ai\u002FAsif2BD\u002Fopenclaw-skill-lazy-loader*\n",{"name":5,"author":24,"source":25,"license":26,"version":27,"homepage":25,"security":28,"description":7},"Asif2BD","https:\u002F\u002Fgithub.com\u002FAsif2BD\u002Fopenclaw-skill-lazy-loader","Apache 2.0","1.0.0",{"auditor":29,"verified":30,"audit_date":31,"scripts_no_network":30,"scripts_no_subprocess":30,"scripts_data_local_only":30,"scripts_no_code_execution":30},"Oracle (Matrix Zion)",true,1772236800000,"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fo\u002Fopenclaw-skill-lazy-loader",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":42,"prompt":52,"zipAvailable":30},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-skill-lazy-loader",{"tool":47,"command":48},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-skill-lazy-loader",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-skill-lazy-loader","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fopenclaw-skill-lazy-loader\u002FSKILL.md",[],[55,63,70,77,84,91],{"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":59,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"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":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"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":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"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":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"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",[],[]]