[{"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",394352,"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",82861,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw","https:\u002F\u002Fopenclaw.ai","https:\u002F\u002Fgithub.com\u002Fopenclaw","Your personal, open source AI assistant.","2026-11-12 03:01:25",{"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,99,117,135,157,181],{"skillNo":94,"name":95,"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":96,"categories":97,"keywords":98,"publishedAt":35},"01M698VP84FNM6G9MR1HPX7MF7","lobster","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fextensions\u002Flobster\u002FSKILL.md",[],[95],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"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",[],[101,23,106,107,108,109,110,26,28,21,111,112,113,114,115,116,29],"api","calls","replies","posts","upload","node","Media","search","npm","status","auth",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"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",[],[119,124,125,28,126,21,127,128,129,130,131,132,23,133,134],"travel planning","travel","fetch","curl","https","help","planning","web","back","temperature","with",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":146,"publishedAt":35},"01M698YV2Q0R0JJKAWGFS21K0N","visualize","Create inline visuals for code and explanations, or author persistent OpenClaw dashboard widgets with show_widget.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Fvisualize\u002FSKILL.md",[141],{"categoryNo":142,"categoryName":143,"taxonomyType":144,"taxonomyTypeDesc":145},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[137,147,148,149,150,23,134,151,152,153,154,155,9,156],"widgets","openclaw dashboard","author","inline","show","code","create","visuals","dashboard","widget",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":171,"publishedAt":35},"01M698YS2TRJH9ENG28HD9CD87","trello","Manage Trello boards, lists, and cards via the Trello REST API.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Ftrello\u002FSKILL.md",[163,168],{"categoryNo":164,"categoryName":165,"taxonomyType":166,"taxonomyTypeDesc":167},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":169,"categoryName":170,"taxonomyType":144,"taxonomyTypeDesc":145},"01JBSEEDCAT000000000000030","开发工程师",[159,128,172,173,174,175,176,177,28,21,178,127,106,179,180],"cloud","manage","via","rest api","token","atlassian","jq","REST","developer",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":187,"publishedAt":35},"01M698YQ9Q3M4W78EWV2KSCSVW","tmux","Control tmux sessions\u002Fpanes for interactive CLIs: list, capture output, send keys, paste text, monitor prompts.","https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Fblob\u002Fmain\u002Fskills\u002Ftmux\u002FSKILL.md",[],[183,28,188,22,23,189,190,191,192,193,194,195,21,196,197,198,199,200,33],"send","keys","paste","output","control","prompts","interactive","list","capture","panes","text","monitor","sessions"]