[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698XFATP1JKC5GNTX29NSYK":3,"skill-same:01M698XFATP1JKC5GNTX29NSYK":92},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":58,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M698XFATP1JKC5GNTX29NSYK","model-usage",null,"Summarize CodexBar local cost logs by model for Codex or Claude, including current or full breakdowns.","openclaw\u002Fopenclaw","openclaw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F252820863?v=4","01M698P3FSAZ6B4R928ZF19KPT","01M698PDMDRVH56MV30D253NFP",394452,"MIT","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fmodel-usage\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"model usage","usage","model","brew","darwin","for","full","local","tap","cost","install","cli","logs","homebrew","codex","linux","summarize","2026-11-10 10:12:30",false,"---\nname: model-usage\ndescription: \"Summarize CodexBar local cost logs by model for Codex or Claude, including current or full breakdowns.\"\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"emoji\": \"?\",\n        \"os\": [\"darwin\", \"linux\"],\n        \"requires\": { \"bins\": [\"codexbar\"] },\n        \"install\":\n          [\n            {\n              \"id\": \"brew-cask\",\n              \"kind\": \"brew\",\n              \"formula\": \"steipete\u002Ftap\u002Fcodexbar\",\n              \"bins\": [\"codexbar\"],\n              \"label\": \"Install CodexBar CLI (Homebrew)\",\n            },\n          ],\n      },\n  }\n---\n\n# Model usage\n\n## Overview\n\nGet per-model usage cost from CodexBar's local cost logs. Supports \"current model\" (most recent daily entry) or \"all models\" summaries for Codex or Claude.\n\nCodexBar ships CLI builds for macOS and Linux. When `codexbar` is on `PATH`, the skill reads local usage directly; the bundled Python summarizer also accepts exported CodexBar JSON through `--input` anywhere Python is available.\n\n## Quick start\n\n1. Fetch cost JSON via CodexBar CLI or pass a JSON file.\n2. Use the bundled script to summarize by model.\n\n```bash\npython {baseDir}\u002Fscripts\u002Fmodel_usage.py --provider codex --mode current\npython {baseDir}\u002Fscripts\u002Fmodel_usage.py --provider codex --mode all\npython {baseDir}\u002Fscripts\u002Fmodel_usage.py --provider claude --mode all --format json --pretty\n```\n\n## Current model logic\n\n- Uses the most recent daily row with `modelBreakdowns`.\n- Picks the model with the highest cost in that row.\n- Falls back to the last entry in `modelsUsed` when breakdowns are missing.\n- Override with `--model \u003Cname>` when you need a specific model.\n\n## Inputs\n\n- Default: runs `codexbar cost --format json --provider \u003Ccodex|claude>`.\n- macOS and Linux: use the bundled Homebrew formula installer above for live local usage reads. Linux users can also use CodexBar's [AUR package](https:\u002F\u002Faur.archlinux.org\u002Fpackages\u002Fcodexbar-cli) or [official release tarballs](https:\u002F\u002Fgithub.com\u002Fsteipete\u002FCodexBar\u002Freleases).\n- Other platforms: use `--input` with exported CodexBar JSON.\n- File or stdin:\n\n```bash\ncodexbar cost --provider codex --format json > \u002Ftmp\u002Fcost.json\npython {baseDir}\u002Fscripts\u002Fmodel_usage.py --input \u002Ftmp\u002Fcost.json --mode all\ncat \u002Ftmp\u002Fcost.json | python {baseDir}\u002Fscripts\u002Fmodel_usage.py --input - --mode current\n```\n\n## Output\n\n- Text (default) or JSON (`--format json --pretty`).\n- Values are cost-only per model; tokens are not split by model in CodexBar output.\n\n## References\n\n- Read `references\u002Fcodexbar-cli.md` for CLI flags and cost JSON fields.\n","# Model usage\n\n## Overview\n\nGet per-model usage cost from CodexBar's local cost logs. Supports \"current model\" (most recent daily entry) or \"all models\" summaries for Codex or Claude.\n\nCodexBar ships CLI builds for macOS and Linux. When `codexbar` is on `PATH`, the skill reads local usage directly; the bundled Python summarizer also accepts exported CodexBar JSON through `--input` anywhere Python is available.\n\n## Quick start\n\n1. Fetch cost JSON via CodexBar CLI or pass a JSON file.\n2. Use the bundled script to summarize by model.\n\n```bash\npython {baseDir}\u002Fscripts\u002Fmodel_usage.py --provider codex --mode current\npython {baseDir}\u002Fscripts\u002Fmodel_usage.py --provider codex --mode all\npython {baseDir}\u002Fscripts\u002Fmodel_usage.py --provider claude --mode all --format json --pretty\n```\n\n## Current model logic\n\n- Uses the most recent daily row with `modelBreakdowns`.\n- Picks the model with the highest cost in that row.\n- Falls back to the last entry in `modelsUsed` when breakdowns are missing.\n- Override with `--model \u003Cname>` when you need a specific model.\n\n## Inputs\n\n- Default: runs `codexbar cost --format json --provider \u003Ccodex|claude>`.\n- macOS and Linux: use the bundled Homebrew formula installer above for live local usage reads. Linux users can also use CodexBar's [AUR package](https:\u002F\u002Faur.archlinux.org\u002Fpackages\u002Fcodexbar-cli) or [official release tarballs](https:\u002F\u002Fgithub.com\u002Fsteipete\u002FCodexBar\u002Freleases).\n- Other platforms: use `--input` with exported CodexBar JSON.\n- File or stdin:\n\n```bash\ncodexbar cost --provider codex --format json > \u002Ftmp\u002Fcost.json\npython {baseDir}\u002Fscripts\u002Fmodel_usage.py --input \u002Ftmp\u002Fcost.json --mode all\ncat \u002Ftmp\u002Fcost.json | python {baseDir}\u002Fscripts\u002Fmodel_usage.py --input - --mode current\n```\n\n## Output\n\n- Text (default) or JSON (`--format json --pretty`).\n- Values are cost-only per model; tokens are not split by model in CodexBar output.\n\n## References\n\n- Read `references\u002Fcodexbar-cli.md` for CLI flags and cost JSON fields.\n",{"name":5,"metadata":40,"description":7},{"openclaw":41},{"os":42,"emoji":43,"install":44,"requires":51},[22,33],"?",[45],{"id":46,"bins":47,"kind":21,"label":49,"formula":50},"brew-cask",[48],"codexbar","Install CodexBar CLI (Homebrew)","steipete\u002Ftap\u002Fcodexbar",{"bins":52},[48],"main","f1c93577085244aa96aa87b53a2df9b59d293bd7","skills\u002Fmodel-usage",82888,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw","https:\u002F\u002Fopenclaw.ai","https:\u002F\u002Fgithub.com\u002Fopenclaw","Your personal, open source AI assistant.","2026-11-15 03:04:02",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add openclaw\u002Fopenclaw --skill model-usage",{"tool":68,"command":69},"bunx","bunx skills add openclaw\u002Fopenclaw --skill model-usage",{"tool":71,"command":72},"pnpm","pnpm dlx skills add openclaw\u002Fopenclaw --skill model-usage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fmodel-usage\u002FSKILL.md",true,[76,82,88],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fcodexbar-cli.md","REFERENCE","参考文档",1299,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fmodel-usage\u002Freferences\u002Fcodexbar-cli.md",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Fmodel_usage.py","SCRIPT","脚本",11490,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fmodel-usage\u002Fscripts\u002Fmodel_usage.py",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Ftest_model_usage.py",5218,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fmodel-usage\u002Fscripts\u002Ftest_model_usage.py",[93,101,108,115,121,139],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":100},"01M7B4NEF2VK8CEA28F9Z2089W","creative-project","Design or revise branding, visual identities, logos, posters, illustrations, and social-media assets using project artwork or image references. Inspect the existing visual language, choose references, and iterate on named candidates.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fcreative-project\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":100},"01M7B4N421S0C6YTWSFK6AMK2W","ios-e2e","iOS app on the simulator - build, run, pair with an isolated Gateway, drive the UI, screenshots, logs and crashes, focused tests, and end-to-end proof.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fios-e2e\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":100},"01M78JA0MX5ED6CKZPST23E8T8","labs-graduation","Move a feature out of Control UI Labs, either on by default or still off by default. Use when asked to promote, graduate or ship a Labs feature.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Flabs-graduation\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":35},"01M698VP84FNM6G9MR1HPX7MF7","lobster","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fextensions\u002Flobster\u002FSKILL.md",[],[117],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":35},"01M698YY8QGQ7S8TJNKJG6VTPH","xurl","xurl CLI for authenticated X posts, replies, reads\u002Fsearch, DMs, media upload, followers, auth status, or raw v2 API calls.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fxurl\u002FSKILL.md",[],[123,29,128,129,28,130,131,132,133,26,134,135,23,136,137,138,21],"npm","status","node","replies","api","upload","calls","search","auth","Media","posts",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":35},"01M698YWT1CJ0WK88WB909R9RT","weather","Current weather and forecasts with web_fetch, falling back to wttr.in curl for locations, rain, temperature, travel planning.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fweather\u002FSKILL.md",[],[141,146,147,28,148,149,23,150,151,152,153,154,155,156,21],"back","travel","https","help","travel planning","planning","web","curl","temperature","fetch","with"]