mirror of
https://github.com/hanzoai/skills.git
synced 2026-11-19 00:47:36 +00:00
site.py now lists a SKILL.md under skills/ only when /<name>.md is that file byte for byte and every file it points at by a relative path (references/, scripts/, templates/, tools/, a sibling page) is published. 120 entries pointed at files the site does not serve, reference docs were listed as skills, and 18 names served another file. 188 skills remain. tests/discovery.py holds the published index to the same rule. build.py deletes every page it did not write, except the hand-written pages in KEEP, walks skills/ in name order so a shared name resolves the same on every filesystem, and refuses to run without HIPS_DIR. Rebuilt against hanzoai/hips main: the 40 discover-* pages and 20 HIPs whose source is gone are removed, the stale code-review, engineering-code-review and ml pages match their source, and 66 pages that were never built (60 skills among them) and 4 new HIPs are published. .gitignore anchors the root symlinks, so public/gemini.md is not ignored on a case-insensitive checkout.
1.1 KiB
1.1 KiB
CodexBar CLI quick ref (usage + cost)
Install
- App: Preferences -> Advanced -> Install CLI
- Repo: ./bin/install-codexbar-cli.sh
Commands
- Usage snapshot (web/cli sources):
- codexbar usage --format json --pretty
- codexbar --provider all --format json
- Local cost usage (Codex + Claude only):
- codexbar cost --format json --pretty
- codexbar cost --provider codex|claude --format json
Cost JSON fields
The payload is an array (one per provider).
- provider, source, updatedAt
- sessionTokens, sessionCostUSD
- last30DaysTokens, last30DaysCostUSD
- daily[]: date, inputTokens, outputTokens, cacheReadTokens, cacheCreationTokens, totalTokens, totalCost, modelsUsed, modelBreakdowns[]
- modelBreakdowns[]: modelName, cost
- totals: totalInputTokens, totalOutputTokens, cacheReadTokens, cacheCreationTokens, totalTokens, totalCost
Notes
- Cost usage is local-only. It reads JSONL logs under:
- Codex: ~/.codex/sessions/*/.jsonl
- Claude: ~/.config/claude/projects//*.jsonl or ~/.claude/projects//*.jsonl
- If web usage is required (non-local), use codexbar usage (not cost).