[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6Q22F955SBX0P45YCJ48CNJ":3,"skill-same:01M6Q22F955SBX0P45YCJ48CNJ":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6Q22F955SBX0P45YCJ48CNJ","openclaw-cost-guard",null,"Track OpenClaw\u002FClawdbot token and cost usage from session JSONL logs (prefer real usage.cost when present), generate daily\u002Fweekly summaries and top expensive sessions, and run budget checks (exit code on breach). Use to monitor spend, enforce budgets via cron\u002Falerts, and apply a token-saving playbook to reduce output\u002Ftool-call cost.","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F爪机器人工具\u002Fopenclaw-cost-guard\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"cost guard","openclaw cost guard","guard","cost","openclaw","alerts","track","weekly","reduce","top","jsonl","present","token","clawdbot","Budget","playbook","logs","code","run","generate","2026-11-10 10:12:30",false,"---\nname: openclaw-cost-guard\ndescription: Track OpenClaw\u002FClawdbot token and cost usage from session JSONL logs (prefer real usage.cost when present), generate daily\u002Fweekly summaries and top expensive sessions, and run budget checks (exit code on breach). Use to monitor spend, enforce budgets via cron\u002Falerts, and apply a token-saving playbook to reduce output\u002Ftool-call cost.\n---\n\n# OpenClaw Cost Guard\n\nUse this skill when you need:\n- **accurate cost reports** (daily\u002Fweekly\u002Flifetime)\n- **top expensive sessions**\n- **guardrails to reduce token burn** (without changing config unless user asks)\n\n## 1) Data source (important)\n\nPrefer **session JSONL** logs (they contain per-call `usage`, often with **real USD cost**):\n- OpenClaw: `~\u002F.openclaw\u002Fagents\u002F*\u002Fsessions\u002F*.jsonl`\n- Legacy\u002Fcompat: `~\u002F.clawdbot\u002Fagents\u002F*\u002Fsessions\u002F*.jsonl`\n\nDo **not** estimate from “current context window” style token fields.\n\n## 2) Quick commands\n\n### Daily costs (last 7 days)\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --last-days 7\n```\n\n### Today \u002F yesterday\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --today\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --yesterday\n```\n\n### Top expensive sessions\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --top-sessions 10\n```\n\n### JSON output (for dashboards)\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --last-days 30 --json\n```\n\n## 3) If cost is missing (fallback estimate)\n\nSome providers may omit `usage.cost`. You can provide per-1M-token prices:\n\n```bash\nexport PRICE_INPUT=1.75\nexport PRICE_OUTPUT=14\nexport PRICE_CACHE_READ=0.175\nexport PRICE_CACHE_WRITE=0\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --last-days 7\n```\n\n## 4) Budget alerts\n\nThe extractor can run as a **budget check**:\n\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --today --budget-usd 5\n```\n\n- If budget is exceeded, it prints an **ALERT** and exits with code **2** (default).\n- For non-failing checks:\n\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --today --budget-usd 5 --budget-mode warn\n```\n\n### Wiring it to a cron alert (recommended)\nRun it daily (or hourly) and if exit code is 2, send yourself a Telegram message.\n(Implementation depends on your OpenClaw channel setup; do not embed secrets in scripts.)\n\n## 5) Token-saving playbook (teach the AI)\n\nWhen the user says “use as few tokens as possible”, apply:\n- **Default response budget:** 1–6 lines, bullets > paragraphs\n- **Ask 1 question max** (only if truly blocking)\n- **Progressive disclosure:** offer details only if asked\n- **Tool calls:** batch; avoid repeated `status`\u002Fbrowser calls\n- **No log dumps** into chat; summarize + point to file path\n- **Hard limits:** max 3 web iterations (search\u002Ffetch) per task\n\nOptional phrasing to keep yourself in check:\n> \"Answer in \u003C=6 lines. If more is needed, ask permission.\"","# OpenClaw Cost Guard\n\nUse this skill when you need:\n- **accurate cost reports** (daily\u002Fweekly\u002Flifetime)\n- **top expensive sessions**\n- **guardrails to reduce token burn** (without changing config unless user asks)\n\n## 1) Data source (important)\n\nPrefer **session JSONL** logs (they contain per-call `usage`, often with **real USD cost**):\n- OpenClaw: `~\u002F.openclaw\u002Fagents\u002F*\u002Fsessions\u002F*.jsonl`\n- Legacy\u002Fcompat: `~\u002F.clawdbot\u002Fagents\u002F*\u002Fsessions\u002F*.jsonl`\n\nDo **not** estimate from “current context window” style token fields.\n\n## 2) Quick commands\n\n### Daily costs (last 7 days)\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --last-days 7\n```\n\n### Today \u002F yesterday\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --today\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --yesterday\n```\n\n### Top expensive sessions\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --top-sessions 10\n```\n\n### JSON output (for dashboards)\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --last-days 30 --json\n```\n\n## 3) If cost is missing (fallback estimate)\n\nSome providers may omit `usage.cost`. You can provide per-1M-token prices:\n\n```bash\nexport PRICE_INPUT=1.75\nexport PRICE_OUTPUT=14\nexport PRICE_CACHE_READ=0.175\nexport PRICE_CACHE_WRITE=0\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --last-days 7\n```\n\n## 4) Budget alerts\n\nThe extractor can run as a **budget check**:\n\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --today --budget-usd 5\n```\n\n- If budget is exceeded, it prints an **ALERT** and exits with code **2** (default).\n- For non-failing checks:\n\n```bash\npython3 {baseDir}\u002Fscripts\u002Fextract_cost.py --today --budget-usd 5 --budget-mode warn\n```\n\n### Wiring it to a cron alert (recommended)\nRun it daily (or hourly) and if exit code is 2, send yourself a Telegram message.\n(Implementation depends on your OpenClaw channel setup; do not embed secrets in scripts.)\n\n## 5) Token-saving playbook (teach the AI)\n\nWhen the user says “use as few tokens as possible”, apply:\n- **Default response budget:** 1–6 lines, bullets > paragraphs\n- **Ask 1 question max** (only if truly blocking)\n- **Progressive disclosure:** offer details only if asked\n- **Tool calls:** batch; avoid repeated `status`\u002Fbrowser calls\n- **No log dumps** into chat; summarize + point to file path\n- **Hard limits:** max 3 web iterations (search\u002Ffetch) per task\n\nOptional phrasing to keep yourself in check:\n> \"Answer in \u003C=6 lines. If more is needed, ask permission.\"",{"name":5,"description":7},"main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","爪机器人工具\u002Fopenclaw-cost-guard",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill openclaw-cost-guard",{"tool":57,"command":58},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill openclaw-cost-guard",{"tool":60,"command":61},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill openclaw-cost-guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F爪机器人工具\u002Fopenclaw-cost-guard\u002FSKILL.md",true,[65,71,75],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"_meta.json","REFERENCE","参考文档",328,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F爪机器人工具\u002Fopenclaw-cost-guard\u002F_meta.json",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"README.md",1481,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F爪机器人工具\u002Fopenclaw-cost-guard\u002FREADME.md",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fextract_cost.py","SCRIPT","脚本",9894,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F爪机器人工具\u002Fopenclaw-cost-guard\u002Fscripts\u002Fextract_cost.py",[82,106,128,136,143,170],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":38},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[84,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":107,"name":108,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":38},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[112,113,114,115,116,117,118,91,119,95,120,121,122,123,124,125,126,30,127],"api","zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","prices",{"skillNo":129,"name":130,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":38},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[112,134,135,113,114,115,116,117,118,91,119,95,121,122,123,124,125,126,30,127],"api skill","zerion api skill",{"skillNo":137,"name":138,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":38},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[115,112,142,113,114,116,117,91,119,95,120,121,122,123,124,125,126,30,127],"zerion api mcp",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":38},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":38},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[150,151,153,177,178,179,180,181,182,161,183,184,185,186,187,188,189,190,127,168],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]