[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75K1ASRPMNPMXS52QFFEPFF":3,"skill-same:01M75K1ASRPMNPMXS52QFFEPFF":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":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M75K1ASRPMNPMXS52QFFEPFF","local-first-llm",null,"Routes LLM requests to a local model (Ollama, LM Studio, llamafile) before falling back to cloud APIs. Tracks token savings and cost avoidance in a persistent dashboard. Use when: (1) user asks to run a task with a local model first, (2) user wants to reduce cloud API costs or keep requests private, (3) user asks to see their token savings or LLM routing dashboard, (4) any request where local-vs-cloud routing should be decided automatically. Supports Ollama, LM Studio, and llamafile as local providers.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fjoelnishanth\u002Flocal-first-llm\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: local-first-llm\ndescription: \"Routes LLM requests to a local model (Ollama, LM Studio, llamafile) before falling back to cloud APIs. Tracks token savings and cost avoidance in a persistent dashboard. Use when: (1) user asks to run a task with a local model first, (2) user wants to reduce cloud API costs or keep requests private, (3) user asks to see their token savings or LLM routing dashboard, (4) any request where local-vs-cloud routing should be decided automatically. Supports Ollama, LM Studio, and llamafile as local providers.\"\nmetadata: { \"openclaw\": { \"emoji\": \"🏠\", \"requires\": { \"bins\": [\"python3\"] }, \"install\": [] } }\n---\n\n# Local-First LLM\n\nRoute requests to a local LLM first; fall back to cloud only when necessary. Track every decision to show real token and cost savings.\n\n## Quick Start\n\n### 1. Check if a local LLM is running\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Fcheck_local.py\n```\n\nReturns JSON: `{ \"any_available\": true, \"best\": { \"provider\": \"ollama\", \"models\": [...] } }`\n\n### 2. Route a request\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Froute_request.py \\\n  --prompt \"Summarize this meeting transcript\" \\\n  --tokens 800 \\\n  --local-available \\\n  --local-provider ollama\n```\n\nReturns: `{ \"decision\": \"local\", \"reason\": \"...\", \"complexity_score\": -1 }`\n\n### 3. Log the outcome\n\nAfter executing the request, record it:\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Ftrack_savings.py log \\\n  --tokens 800 \\\n  --model gpt-4o \\\n  --routed-to local\n```\n\n### 4. Show the dashboard\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Fdashboard.py\n```\n\n---\n\n## Full Routing Workflow\n\n```\n┌─────────────────────────────────────────────────────┐\n│  1. check_local.py  →  is a local provider running? │\n│                                                      │\n│  2. route_request.py  →  local or cloud?             │\n│     - sensitivity check  (private data → local)      │\n│     - complexity score   (high score → cloud)        │\n│     - availability gate  (no local → cloud)          │\n│                                                      │\n│  3. Execute with the chosen provider                 │\n│                                                      │\n│  4. track_savings.py log  →  record the outcome      │\n│                                                      │\n│  5. dashboard.py  →  show cumulative savings         │\n└─────────────────────────────────────────────────────┘\n```\n\n---\n\n## Routing Rules (Summary)\n\n| Condition                                                                     | Route    |\n| ----------------------------------------------------------------------------- | -------- |\n| No local provider available                                                   | ☁️ Cloud |\n| Prompt contains sensitive data (`password`, `secret`, `api key`, `ssn`, etc.) | 🏠 Local |\n| Complexity score ≥ 3                                                          | ☁️ Cloud |\n| Complexity score \u003C 3                                                          | 🏠 Local |\n\nFor full scoring details, see [references\u002Frouting-logic.md](references\u002Frouting-logic.md).\n\n---\n\n## Executing with a Local Provider\n\nOnce `route_request.py` returns `\"decision\": \"local\"`, send the request:\n\n### Ollama\n\n```bash\ncurl http:\u002F\u002Flocalhost:11434\u002Fapi\u002Fgenerate \\\n  -d '{\"model\": \"llama3.2\", \"prompt\": \"YOUR_PROMPT\", \"stream\": false}'\n```\n\n### LM Studio \u002F llamafile (OpenAI-compatible)\n\n```bash\ncurl http:\u002F\u002Flocalhost:1234\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"model\": \"local-model\", \"messages\": [{\"role\": \"user\", \"content\": \"YOUR_PROMPT\"}]}'\n```\n\n---\n\n## Dashboard\n\nThe dashboard reads from `~\u002F.openclaw\u002Flocal-first-llm\u002Fsavings.json` (auto-created).\n\n```\n┌─────────────────────────────────────────┐\n│    🧠  Local-First LLM — Dashboard      │\n├─────────────────────────────────────────┤\n│  Local LLM:  ✅  ollama (llama3.2...)   │\n├─────────────────────────────────────────┤\n│  Total requests:         42             │\n│  Routed locally:         31  (73.8%)    │\n│  Routed to cloud:        11             │\n├─────────────────────────────────────────┤\n│  Tokens saved:       84,200             │\n│  Cost saved:           $0.4210          │\n└─────────────────────────────────────────┘\n```\n\nReset savings data:\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Ftrack_savings.py reset\n```\n\n---\n\n## Additional References\n\n- **Routing scoring details**: [references\u002Frouting-logic.md](references\u002Frouting-logic.md)\n- **Local provider setup** (Ollama, LM Studio, llamafile): [references\u002Flocal-providers.md](references\u002Flocal-providers.md)\n- **Token estimation & cloud cost table**: [references\u002Ftoken-estimation.md](references\u002Ftoken-estimation.md)\n","# Local-First LLM\n\nRoute requests to a local LLM first; fall back to cloud only when necessary. Track every decision to show real token and cost savings.\n\n## Quick Start\n\n### 1. Check if a local LLM is running\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Fcheck_local.py\n```\n\nReturns JSON: `{ \"any_available\": true, \"best\": { \"provider\": \"ollama\", \"models\": [...] } }`\n\n### 2. Route a request\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Froute_request.py \\\n  --prompt \"Summarize this meeting transcript\" \\\n  --tokens 800 \\\n  --local-available \\\n  --local-provider ollama\n```\n\nReturns: `{ \"decision\": \"local\", \"reason\": \"...\", \"complexity_score\": -1 }`\n\n### 3. Log the outcome\n\nAfter executing the request, record it:\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Ftrack_savings.py log \\\n  --tokens 800 \\\n  --model gpt-4o \\\n  --routed-to local\n```\n\n### 4. Show the dashboard\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Fdashboard.py\n```\n\n---\n\n## Full Routing Workflow\n\n```\n┌─────────────────────────────────────────────────────┐\n│  1. check_local.py  →  is a local provider running? │\n│                                                      │\n│  2. route_request.py  →  local or cloud?             │\n│     - sensitivity check  (private data → local)      │\n│     - complexity score   (high score → cloud)        │\n│     - availability gate  (no local → cloud)          │\n│                                                      │\n│  3. Execute with the chosen provider                 │\n│                                                      │\n│  4. track_savings.py log  →  record the outcome      │\n│                                                      │\n│  5. dashboard.py  →  show cumulative savings         │\n└─────────────────────────────────────────────────────┘\n```\n\n---\n\n## Routing Rules (Summary)\n\n| Condition                                                                     | Route    |\n| ----------------------------------------------------------------------------- | -------- |\n| No local provider available                                                   | ☁️ Cloud |\n| Prompt contains sensitive data (`password`, `secret`, `api key`, `ssn`, etc.) | 🏠 Local |\n| Complexity score ≥ 3                                                          | ☁️ Cloud |\n| Complexity score \u003C 3                                                          | 🏠 Local |\n\nFor full scoring details, see [references\u002Frouting-logic.md](references\u002Frouting-logic.md).\n\n---\n\n## Executing with a Local Provider\n\nOnce `route_request.py` returns `\"decision\": \"local\"`, send the request:\n\n### Ollama\n\n```bash\ncurl http:\u002F\u002Flocalhost:11434\u002Fapi\u002Fgenerate \\\n  -d '{\"model\": \"llama3.2\", \"prompt\": \"YOUR_PROMPT\", \"stream\": false}'\n```\n\n### LM Studio \u002F llamafile (OpenAI-compatible)\n\n```bash\ncurl http:\u002F\u002Flocalhost:1234\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"model\": \"local-model\", \"messages\": [{\"role\": \"user\", \"content\": \"YOUR_PROMPT\"}]}'\n```\n\n---\n\n## Dashboard\n\nThe dashboard reads from `~\u002F.openclaw\u002Flocal-first-llm\u002Fsavings.json` (auto-created).\n\n```\n┌─────────────────────────────────────────┐\n│    🧠  Local-First LLM — Dashboard      │\n├─────────────────────────────────────────┤\n│  Local LLM:  ✅  ollama (llama3.2...)   │\n├─────────────────────────────────────────┤\n│  Total requests:         42             │\n│  Routed locally:         31  (73.8%)    │\n│  Routed to cloud:        11             │\n├─────────────────────────────────────────┤\n│  Tokens saved:       84,200             │\n│  Cost saved:           $0.4210          │\n└─────────────────────────────────────────┘\n```\n\nReset savings data:\n\n```bash\npython3 skills\u002Flocal-first-llm\u002Fscripts\u002Ftrack_savings.py reset\n```\n\n---\n\n## Additional References\n\n- **Routing scoring details**: [references\u002Frouting-logic.md](references\u002Frouting-logic.md)\n- **Local provider setup** (Ollama, LM Studio, llamafile): [references\u002Flocal-providers.md](references\u002Flocal-providers.md)\n- **Token estimation & cloud cost table**: [references\u002Ftoken-estimation.md](references\u002Ftoken-estimation.md)\n",{"name":5,"metadata":24,"description":7},{"openclaw":25},{"emoji":26,"install":27,"requires":28},"🏠",[],{"bins":29},[30],"python3","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fjoelnishanth\u002Flocal-first-llm",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill local-first-llm",{"tool":46,"command":47},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill local-first-llm",{"tool":49,"command":50},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill local-first-llm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fjoelnishanth\u002Flocal-first-llm\u002FSKILL.md",true,[],[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":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":62},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":62},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\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":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":62},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\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":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":62},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\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":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":62},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\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":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":62},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]