[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7APED3E3Y5XY0DAMP3H4M20":3,"skill-same:01M7APED3E3Y5XY0DAMP3H4M20":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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7APED3E3Y5XY0DAMP3H4M20","cost-tracking",null,"Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log. Use when the user asks about costs, spending, usage, tokens, budgets, or cost breakdowns by model, session, or date.","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fcost-tracking\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cost-tracking\ndescription: Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log. Use when the user asks about costs, spending, usage, tokens, budgets, or cost breakdowns by model, session, or date.\nmetadata:\n  origin: community\n---\n\n# Cost Tracking\n\nUse this skill to analyze Claude Code cost and usage history from the metrics log\nthat ECC's `stop:cost-tracker` hook writes.\n\n## Where the data lives\n\nThe tracker appends one JSON object per session-stop to\n`~\u002F.claude\u002Fmetrics\u002Fcosts.jsonl`. Each row is a **cumulative snapshot for that\nsession**, so to total spend you take the **latest row per `session_id`** and\nsum across sessions — summing every row multiply-counts.\n\nRow schema:\n\n| Field | Meaning |\n| --- | --- |\n| `timestamp` | ISO timestamp of the snapshot |\n| `session_id` | Claude Code session identifier |\n| `transcript_path` | Path to the session transcript |\n| `model` | Model used |\n| `input_tokens` \u002F `output_tokens` | Token counts |\n| `cache_write_tokens` \u002F `cache_read_tokens` | Prompt-cache token counts |\n| `estimated_cost_usd` | Precomputed cumulative cost in USD for the session |\n\nPrefer `estimated_cost_usd` over hand-calculating pricing — model and cache\nprices change, and the tracker is the source of truth.\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 model, session, or date, or a CSV export.\n\n## How It Works\n\nFirst verify the log exists (use `node`, not `sqlite3` — the tracker writes\nJSONL, and `node` is cross-platform):\n\n```bash\nnode -e 'const fs=require(\"fs\"),os=require(\"os\"),p=require(\"path\");const f=p.join(os.homedir(),\".claude\",\"metrics\",\"costs.jsonl\");console.log(fs.existsSync(f)?\"cost log found\":\"cost log not found: \"+f)'\n```\n\nIf the log is missing, do not fabricate usage data. Tell the user that cost\ntracking populates after the first session ends with the `stop:cost-tracker`\nhook enabled.\n\n## Example — summary, by model, last 7 days\n\n```bash\nnode -e '\nconst fs=require(\"fs\"),os=require(\"os\"),path=require(\"path\");\nconst f=path.join(os.homedir(),\".claude\",\"metrics\",\"costs.jsonl\");\nif(!fs.existsSync(f)){console.log(\"cost log not found: \"+f);process.exit(0);}\nconst rows=fs.readFileSync(f,\"utf8\").split(\u002F\\r?\\n\u002F).filter(Boolean).map(l=>{try{return JSON.parse(l)}catch{return null}}).filter(Boolean);\nconst bySession=new Map();\nfor(const r of rows){const k=r.session_id||r.transcript_path||r.timestamp;const p=bySession.get(k);if(!p||String(r.timestamp)>String(p.timestamp))bySession.set(k,r);}\nconst latest=[...bySession.values()];\nconst cost=r=>Number(r.estimated_cost_usd)||0, day=r=>String(r.timestamp||\"\").slice(0,10), sum=a=>a.reduce((s,r)=>s+cost(r),0), f4=n=>\"$\"+n.toFixed(4);\nconst today=new Date().toISOString().slice(0,10), yest=new Date(Date.now()-864e5).toISOString().slice(0,10);\nconsole.log(\"today: \"+f4(sum(latest.filter(r=>day(r)===today)))+\" | yesterday: \"+f4(sum(latest.filter(r=>day(r)===yest)))+\" | total: \"+f4(sum(latest))+\" (\"+latest.length+\" sessions)\");\nconst m=new Map();for(const r of latest){const k=r.model||\"(unknown)\";m.set(k,(m.get(k)||0)+cost(r));}\nconsole.log(\"by model:\");[...m.entries()].sort((a,b)=>b[1]-a[1]).forEach(([k,v])=>console.log(\"  \"+f4(v)+\"  \"+k));\n'\n```\n\nFor a session drilldown or CSV export, iterate the same `latest` set (or the raw\nrows for CSV) and print the fields you need.\n\n## Reporting Guidance\n\nWhen presenting cost data, include today's spend vs yesterday, total across all\nsessions, a by-model breakdown, and session count. Format sub-dollar amounts\nwith four decimals, larger amounts with two.\n\n## Anti-Patterns\n\n- Do not sum every row — they are cumulative per session; reduce to the latest\n  row per `session_id` first.\n- Do not estimate costs from raw token counts when `estimated_cost_usd` is present.\n- Do not assume the log exists without checking.\n- Do not hard-code current model pricing in user-facing answers.\n- Do not recommend installing unreviewed hooks or plugins that execute arbitrary code.\n\n## Related\n\n- `\u002Fcost-report` - Command-form report over the same metrics log.\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 the metrics log\nthat ECC's `stop:cost-tracker` hook writes.\n\n## Where the data lives\n\nThe tracker appends one JSON object per session-stop to\n`~\u002F.claude\u002Fmetrics\u002Fcosts.jsonl`. Each row is a **cumulative snapshot for that\nsession**, so to total spend you take the **latest row per `session_id`** and\nsum across sessions — summing every row multiply-counts.\n\nRow schema:\n\n| Field | Meaning |\n| --- | --- |\n| `timestamp` | ISO timestamp of the snapshot |\n| `session_id` | Claude Code session identifier |\n| `transcript_path` | Path to the session transcript |\n| `model` | Model used |\n| `input_tokens` \u002F `output_tokens` | Token counts |\n| `cache_write_tokens` \u002F `cache_read_tokens` | Prompt-cache token counts |\n| `estimated_cost_usd` | Precomputed cumulative cost in USD for the session |\n\nPrefer `estimated_cost_usd` over hand-calculating pricing — model and cache\nprices change, and the tracker is the source of truth.\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 model, session, or date, or a CSV export.\n\n## How It Works\n\nFirst verify the log exists (use `node`, not `sqlite3` — the tracker writes\nJSONL, and `node` is cross-platform):\n\n```bash\nnode -e 'const fs=require(\"fs\"),os=require(\"os\"),p=require(\"path\");const f=p.join(os.homedir(),\".claude\",\"metrics\",\"costs.jsonl\");console.log(fs.existsSync(f)?\"cost log found\":\"cost log not found: \"+f)'\n```\n\nIf the log is missing, do not fabricate usage data. Tell the user that cost\ntracking populates after the first session ends with the `stop:cost-tracker`\nhook enabled.\n\n## Example — summary, by model, last 7 days\n\n```bash\nnode -e '\nconst fs=require(\"fs\"),os=require(\"os\"),path=require(\"path\");\nconst f=path.join(os.homedir(),\".claude\",\"metrics\",\"costs.jsonl\");\nif(!fs.existsSync(f)){console.log(\"cost log not found: \"+f);process.exit(0);}\nconst rows=fs.readFileSync(f,\"utf8\").split(\u002F\\r?\\n\u002F).filter(Boolean).map(l=>{try{return JSON.parse(l)}catch{return null}}).filter(Boolean);\nconst bySession=new Map();\nfor(const r of rows){const k=r.session_id||r.transcript_path||r.timestamp;const p=bySession.get(k);if(!p||String(r.timestamp)>String(p.timestamp))bySession.set(k,r);}\nconst latest=[...bySession.values()];\nconst cost=r=>Number(r.estimated_cost_usd)||0, day=r=>String(r.timestamp||\"\").slice(0,10), sum=a=>a.reduce((s,r)=>s+cost(r),0), f4=n=>\"$\"+n.toFixed(4);\nconst today=new Date().toISOString().slice(0,10), yest=new Date(Date.now()-864e5).toISOString().slice(0,10);\nconsole.log(\"today: \"+f4(sum(latest.filter(r=>day(r)===today)))+\" | yesterday: \"+f4(sum(latest.filter(r=>day(r)===yest)))+\" | total: \"+f4(sum(latest))+\" (\"+latest.length+\" sessions)\");\nconst m=new Map();for(const r of latest){const k=r.model||\"(unknown)\";m.set(k,(m.get(k)||0)+cost(r));}\nconsole.log(\"by model:\");[...m.entries()].sort((a,b)=>b[1]-a[1]).forEach(([k,v])=>console.log(\"  \"+f4(v)+\"  \"+k));\n'\n```\n\nFor a session drilldown or CSV export, iterate the same `latest` set (or the raw\nrows for CSV) and print the fields you need.\n\n## Reporting Guidance\n\nWhen presenting cost data, include today's spend vs yesterday, total across all\nsessions, a by-model breakdown, and session count. Format sub-dollar amounts\nwith four decimals, larger amounts with two.\n\n## Anti-Patterns\n\n- Do not sum every row — they are cumulative per session; reduce to the latest\n  row per `session_id` first.\n- Do not estimate costs from raw token counts when `estimated_cost_usd` is present.\n- Do not assume the log exists without checking.\n- Do not hard-code current model pricing in user-facing answers.\n- Do not recommend installing unreviewed hooks or plugins that execute arbitrary code.\n\n## Related\n\n- `\u002Fcost-report` - Command-form report over the same metrics log.\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,"metadata":24,"description":7},{"origin":25},"community","main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fcost-tracking",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill cost-tracking",{"tool":41,"command":42},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill cost-tracking",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill cost-tracking","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fskills\u002Fcost-tracking\u002FSKILL.md",true,[],[50,59,66,74,81,88],{"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":55,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\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":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]