[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M731MWMC3R85EBZW7DQNR9VV":3,"skill-same:01M731MWMC3R85EBZW7DQNR9VV":49},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M731MWMC3R85EBZW7DQNR9VV","cost-tracking",null,"Track and report Claude Code token usage, spending, and budgets from a local cost-tracking database. Use when the user asks about costs, spending, usage, tokens, budgets, or cost breakdowns by project, tool, session, or date.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcost-tracking\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: cost-tracking\ndescription: Track and report Claude Code token usage, spending, and budgets from a local cost-tracking database. Use when the user asks about costs, spending, usage, tokens, budgets, or cost breakdowns by project, tool, session, or date.\norigin: community\n---\n\n# Cost Tracking\n\nUse this skill to analyze Claude Code cost and usage history from a local SQLite\ndatabase. It is intended for users who already have a cost-tracking hook or\nplugin writing usage rows to `~\u002F.claude-cost-tracker\u002Fusage.db`.\n\nSource: salvaged from stale community PR #1304 by `MayurBhavsar`.\n\n## When to Use\n\n- The user asks \"how much have I spent?\", \"what did this session cost?\", or\n  \"what is my token usage?\"\n- The user mentions budgets, spending limits, overruns, or cost controls.\n- The user wants a cost breakdown by project, tool, session, model, or date.\n- The user wants to compare today against yesterday or inspect a recent trend.\n- The user asks for a CSV export of recent usage records.\n\n## How It Works\n\nFirst verify prerequisites:\n\n```bash\ncommand -v sqlite3 >\u002Fdev\u002Fnull && echo \"sqlite3 available\" || echo \"sqlite3 missing\"\ntest -f ~\u002F.claude-cost-tracker\u002Fusage.db && echo \"Database found\" || echo \"Database not found\"\n```\n\nIf the database is missing, do not fabricate usage data. Tell the user that cost\ntracking is not configured and suggest installing or enabling a trusted local\ncost-tracking hook\u002Fplugin.\n\nThe expected `usage` table usually contains one row per tool call or model\ninteraction. Column names vary by tracker, but the examples below assume:\n\n| Column | Meaning |\n| --- | --- |\n| `timestamp` | ISO timestamp for the usage event |\n| `project` | Project or repository name |\n| `tool_name` | Tool or event name |\n| `input_tokens` | Input token count, when recorded |\n| `output_tokens` | Output token count, when recorded |\n| `cost_usd` | Precomputed cost in USD |\n| `session_id` | Claude Code session identifier |\n| `model` | Model used for the event |\n\nPrefer `cost_usd` over hand-calculating pricing. Model prices and cache pricing\nchange over time, and the tracker should be the source of truth for how each row\nwas priced.\n\n## Examples\n\n### Quick Summary\n\n```bash\nsqlite3 ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT\n    'Today: $' || ROUND(COALESCE(SUM(CASE WHEN date(timestamp) = date('now') THEN cost_usd END), 0), 4) ||\n    ' | Total: $' || ROUND(COALESCE(SUM(cost_usd), 0), 4) ||\n    ' | Calls: ' || COUNT(*) ||\n    ' | Sessions: ' || COUNT(DISTINCT session_id)\n  FROM usage;\n\"\n```\n\n### Cost By Project\n\n```bash\nsqlite3 -header -column ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT project, ROUND(SUM(cost_usd), 4) AS cost, COUNT(*) AS calls\n  FROM usage\n  GROUP BY project\n  ORDER BY cost DESC;\n\"\n```\n\n### Cost By Tool\n\n```bash\nsqlite3 -header -column ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT tool_name, ROUND(SUM(cost_usd), 4) AS cost, COUNT(*) AS calls\n  FROM usage\n  GROUP BY tool_name\n  ORDER BY cost DESC;\n\"\n```\n\n### Last Seven Days\n\n```bash\nsqlite3 -header -column ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT date(timestamp) AS date, ROUND(SUM(cost_usd), 4) AS cost, COUNT(*) AS calls\n  FROM usage\n  GROUP BY date(timestamp)\n  ORDER BY date DESC\n  LIMIT 7;\n\"\n```\n\n### Session Drilldown\n\n```bash\nsqlite3 -header -column ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT session_id,\n    MIN(timestamp) AS started,\n    MAX(timestamp) AS ended,\n    ROUND(SUM(cost_usd), 4) AS cost,\n    COUNT(*) AS calls\n  FROM usage\n  GROUP BY session_id\n  ORDER BY started DESC\n  LIMIT 10;\n\"\n```\n\n## Reporting Guidance\n\nWhen presenting cost data, include:\n\n1. Today's spend and yesterday comparison.\n2. Total spend across the tracked database.\n3. Top projects ranked by cost.\n4. Top tools ranked by cost.\n5. Session count and average cost per session when enough data exists.\n\nFor small amounts, format currency with four decimal places. For larger amounts,\ntwo decimals are enough.\n\n## Anti-Patterns\n\n- Do not estimate costs from raw token counts when `cost_usd` is present.\n- Do not assume the database exists without checking.\n- Do not run unbounded `SELECT *` exports on large databases.\n- Do not hard-code current model pricing in user-facing answers.\n- Do not recommend installing unreviewed hooks or plugins that execute arbitrary\n  code.\n\n## Related\n\n- `\u002Fcost-report` - Command-form report using the same database.\n- `cost-aware-llm-pipeline` - Model-routing and budget-design patterns.\n- `token-budget-advisor` - Context and token-budget planning.\n- `strategic-compact` - Context compaction to reduce repeated token spend.\n","# Cost Tracking\n\nUse this skill to analyze Claude Code cost and usage history from a local SQLite\ndatabase. It is intended for users who already have a cost-tracking hook or\nplugin writing usage rows to `~\u002F.claude-cost-tracker\u002Fusage.db`.\n\nSource: salvaged from stale community PR #1304 by `MayurBhavsar`.\n\n## When to Use\n\n- The user asks \"how much have I spent?\", \"what did this session cost?\", or\n  \"what is my token usage?\"\n- The user mentions budgets, spending limits, overruns, or cost controls.\n- The user wants a cost breakdown by project, tool, session, model, or date.\n- The user wants to compare today against yesterday or inspect a recent trend.\n- The user asks for a CSV export of recent usage records.\n\n## How It Works\n\nFirst verify prerequisites:\n\n```bash\ncommand -v sqlite3 >\u002Fdev\u002Fnull && echo \"sqlite3 available\" || echo \"sqlite3 missing\"\ntest -f ~\u002F.claude-cost-tracker\u002Fusage.db && echo \"Database found\" || echo \"Database not found\"\n```\n\nIf the database is missing, do not fabricate usage data. Tell the user that cost\ntracking is not configured and suggest installing or enabling a trusted local\ncost-tracking hook\u002Fplugin.\n\nThe expected `usage` table usually contains one row per tool call or model\ninteraction. Column names vary by tracker, but the examples below assume:\n\n| Column | Meaning |\n| --- | --- |\n| `timestamp` | ISO timestamp for the usage event |\n| `project` | Project or repository name |\n| `tool_name` | Tool or event name |\n| `input_tokens` | Input token count, when recorded |\n| `output_tokens` | Output token count, when recorded |\n| `cost_usd` | Precomputed cost in USD |\n| `session_id` | Claude Code session identifier |\n| `model` | Model used for the event |\n\nPrefer `cost_usd` over hand-calculating pricing. Model prices and cache pricing\nchange over time, and the tracker should be the source of truth for how each row\nwas priced.\n\n## Examples\n\n### Quick Summary\n\n```bash\nsqlite3 ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT\n    'Today: $' || ROUND(COALESCE(SUM(CASE WHEN date(timestamp) = date('now') THEN cost_usd END), 0), 4) ||\n    ' | Total: $' || ROUND(COALESCE(SUM(cost_usd), 0), 4) ||\n    ' | Calls: ' || COUNT(*) ||\n    ' | Sessions: ' || COUNT(DISTINCT session_id)\n  FROM usage;\n\"\n```\n\n### Cost By Project\n\n```bash\nsqlite3 -header -column ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT project, ROUND(SUM(cost_usd), 4) AS cost, COUNT(*) AS calls\n  FROM usage\n  GROUP BY project\n  ORDER BY cost DESC;\n\"\n```\n\n### Cost By Tool\n\n```bash\nsqlite3 -header -column ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT tool_name, ROUND(SUM(cost_usd), 4) AS cost, COUNT(*) AS calls\n  FROM usage\n  GROUP BY tool_name\n  ORDER BY cost DESC;\n\"\n```\n\n### Last Seven Days\n\n```bash\nsqlite3 -header -column ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT date(timestamp) AS date, ROUND(SUM(cost_usd), 4) AS cost, COUNT(*) AS calls\n  FROM usage\n  GROUP BY date(timestamp)\n  ORDER BY date DESC\n  LIMIT 7;\n\"\n```\n\n### Session Drilldown\n\n```bash\nsqlite3 -header -column ~\u002F.claude-cost-tracker\u002Fusage.db \"\n  SELECT session_id,\n    MIN(timestamp) AS started,\n    MAX(timestamp) AS ended,\n    ROUND(SUM(cost_usd), 4) AS cost,\n    COUNT(*) AS calls\n  FROM usage\n  GROUP BY session_id\n  ORDER BY started DESC\n  LIMIT 10;\n\"\n```\n\n## Reporting Guidance\n\nWhen presenting cost data, include:\n\n1. Today's spend and yesterday comparison.\n2. Total spend across the tracked database.\n3. Top projects ranked by cost.\n4. Top tools ranked by cost.\n5. Session count and average cost per session when enough data exists.\n\nFor small amounts, format currency with four decimal places. For larger amounts,\ntwo decimals are enough.\n\n## Anti-Patterns\n\n- Do not estimate costs from raw token counts when `cost_usd` is present.\n- Do not assume the database exists without checking.\n- Do not run unbounded `SELECT *` exports on large databases.\n- Do not hard-code current model pricing in user-facing answers.\n- Do not recommend installing unreviewed hooks or plugins that execute arbitrary\n  code.\n\n## Related\n\n- `\u002Fcost-report` - Command-form report using the same database.\n- `cost-aware-llm-pipeline` - Model-routing and budget-design patterns.\n- `token-budget-advisor` - Context and token-budget planning.\n- `strategic-compact` - Context compaction to reduce repeated token spend.\n",{"name":5,"origin":24,"description":7},"community","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa",".claude\u002Fskills\u002Fcost-tracking",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill cost-tracking",{"tool":41,"command":42},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill cost-tracking",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill cost-tracking","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcost-tracking\u002FSKILL.md",true,[],[50,58,65,73,81,89],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]