[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CS0X9WQ4864JS3QPG79XN3":3,"skill-same:01M6CS0X9WQ4864JS3QPG79XN3":63},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":6,"updatedAt":43,"install":44,"resources":56},"01M6CS0X9WQ4864JS3QPG79XN3","poe-usage",null,"Check Poe API usage — queries current point balance and usage history using a Poe API key from the environment or fir config.","kfet\u002Ffir","kfet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14585?v=4","01M6CRZCB8P1V37WM3X0GB2DA6","Kalin Fetvadjiev","01M6CRZCFG1EW1WEN4RK84W1N5",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fpoe-usage\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"poe usage","usage","config","api","history","check","environment","queries","balance","true","point","2026-11-10 10:12:30",false,"---\nbuiltin: true\nname: poe-usage\ndescription: Check Poe API usage — queries current point balance and usage history using a Poe API key from the environment or fir config.\noverride: true\n---\n\n# Poe Usage Skill\n\nQuery the Poe Usage API to check your point balance and see per-bot usage history.\n\n## Prerequisites\n\nThe script resolves your Poe API key from (in order):\n\n1. **`POE_API_KEY` environment variable** — set it in your shell\n2. **fir models config** — `~\u002F.config\u002Ffir\u002Fmodels.json` at `.providers.Poe.apiKey`\n3. **fir auth storage** — `~\u002F.config\u002Ffir\u002Fauth.json` under the `\"poe\"` provider key.\n   Both credential shapes are supported:\n   - `{\"type\": \"api_key\", \"key\": \"sk-poe-...\"}` (manual API key)\n   - `{\"type\": \"oauth\", \"access\": \"sk-poe-...\", \"refresh\": \"...\", \"expires\": 1234}` (written by `fir login poe`)\n\nThe OAuth `access` token is itself a usable Poe API key, so either shape works.\nIf the stored OAuth token is expired, the script prints a warning and still tries\nthe token; re-run `fir login poe` to refresh it.\n\nTo store a manual key in fir's auth storage, add a `poe` entry to `~\u002F.config\u002Ffir\u002Fauth.json`:\n\n```json\n{\n  \"poe\": { \"type\": \"api_key\", \"key\": \"YOUR_POE_API_KEY\" }\n}\n```\n\nGet your API key at https:\u002F\u002Fpoe.com\u002Fapi\u002Fkeys.\n\n## Step 1 — Run the Script\n\n```bash\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\"\n```\n\n### Options\n\n```bash\n# Show balance only\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\" --balance\n\n# Show usage history (default: last 100 entries)\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\" --history\n\n# Show both (default)\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\"\n\n# Limit history entries and paginate\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\" --limit 50\n\n# Filter to last N days\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\" --days 7\n```\n\n| Flag | Description | Default |\n|------|-------------|---------|\n| `--balance` | Show only current point balance | off (show both) |\n| `--history` | Show only usage history | off (show both) |\n| `--limit` | Max entries per API page (1-100) | 100 |\n| `--days` | Only show entries from last N days | 30 |\n\n## Step 2 — Interpret the Response\n\nExample output:\n\n```\nPoe Point Balance\n=================\nCurrent balance: 1,500 points\n\nUsage History (last 7 days)\n============================\n\nBot                     Calls   Points    Cost ($)\n──────────────────────────────────────────────────────\nClaude-3.5-Sonnet          42    3,390      2.53\nGPT-4                      18    1,908      1.43\n──────────────────────────────────────────────────────\nTOTAL                      60    5,298      3.96\n```\n\n### API Fields\n\n| Field | Meaning |\n|---|---|\n| `current_point_balance` | Available points across plan + add-ons |\n| `bot_name` | Model\u002Fbot used for the query |\n| `cost_points` | Points consumed by a single query |\n| `cost_usd` | USD cost for that query |\n| `creation_time` | Unix timestamp in **microseconds** |\n| `query_id` | Unique query ID (used as pagination cursor) |\n| `cost_breakdown_in_points` | Per-query breakdown of input\u002Foutput token costs |\n| `usage_type` | Where points were spent: Chat, API, Canvas App |\n\n## Troubleshooting\n\n- **401 error**: `POE_API_KEY` is invalid or expired. Get a new one at https:\u002F\u002Fpoe.com\u002Fapi\u002Fkeys.\n- **Empty results**: No activity in the queried period. Try `--days 30`.\n","# Poe Usage Skill\n\nQuery the Poe Usage API to check your point balance and see per-bot usage history.\n\n## Prerequisites\n\nThe script resolves your Poe API key from (in order):\n\n1. **`POE_API_KEY` environment variable** — set it in your shell\n2. **fir models config** — `~\u002F.config\u002Ffir\u002Fmodels.json` at `.providers.Poe.apiKey`\n3. **fir auth storage** — `~\u002F.config\u002Ffir\u002Fauth.json` under the `\"poe\"` provider key.\n   Both credential shapes are supported:\n   - `{\"type\": \"api_key\", \"key\": \"sk-poe-...\"}` (manual API key)\n   - `{\"type\": \"oauth\", \"access\": \"sk-poe-...\", \"refresh\": \"...\", \"expires\": 1234}` (written by `fir login poe`)\n\nThe OAuth `access` token is itself a usable Poe API key, so either shape works.\nIf the stored OAuth token is expired, the script prints a warning and still tries\nthe token; re-run `fir login poe` to refresh it.\n\nTo store a manual key in fir's auth storage, add a `poe` entry to `~\u002F.config\u002Ffir\u002Fauth.json`:\n\n```json\n{\n  \"poe\": { \"type\": \"api_key\", \"key\": \"YOUR_POE_API_KEY\" }\n}\n```\n\nGet your API key at https:\u002F\u002Fpoe.com\u002Fapi\u002Fkeys.\n\n## Step 1 — Run the Script\n\n```bash\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\"\n```\n\n### Options\n\n```bash\n# Show balance only\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\" --balance\n\n# Show usage history (default: last 100 entries)\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\" --history\n\n# Show both (default)\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\"\n\n# Limit history entries and paginate\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\" --limit 50\n\n# Filter to last N days\nbash \"$SKILL_DIR\u002Fscripts\u002Fusage.sh\" --days 7\n```\n\n| Flag | Description | Default |\n|------|-------------|---------|\n| `--balance` | Show only current point balance | off (show both) |\n| `--history` | Show only usage history | off (show both) |\n| `--limit` | Max entries per API page (1-100) | 100 |\n| `--days` | Only show entries from last N days | 30 |\n\n## Step 2 — Interpret the Response\n\nExample output:\n\n```\nPoe Point Balance\n=================\nCurrent balance: 1,500 points\n\nUsage History (last 7 days)\n============================\n\nBot                     Calls   Points    Cost ($)\n──────────────────────────────────────────────────────\nClaude-3.5-Sonnet          42    3,390      2.53\nGPT-4                      18    1,908      1.43\n──────────────────────────────────────────────────────\nTOTAL                      60    5,298      3.96\n```\n\n### API Fields\n\n| Field | Meaning |\n|---|---|\n| `current_point_balance` | Available points across plan + add-ons |\n| `bot_name` | Model\u002Fbot used for the query |\n| `cost_points` | Points consumed by a single query |\n| `cost_usd` | USD cost for that query |\n| `creation_time` | Unix timestamp in **microseconds** |\n| `query_id` | Unique query ID (used as pagination cursor) |\n| `cost_breakdown_in_points` | Per-query breakdown of input\u002Foutput token costs |\n| `usage_type` | Where points were spent: Chat, API, Canvas App |\n\n## Troubleshooting\n\n- **401 error**: `POE_API_KEY` is invalid or expired. Get a new one at https:\u002F\u002Fpoe.com\u002Fapi\u002Fkeys.\n- **Empty results**: No activity in the queried period. Try `--days 30`.\n",{"name":5,"builtin":35,"override":35,"description":7},true,"main","76b360b35f87ec18e1776cf6feafc7a025bdea64","pkg\u002Fresources\u002Fbuiltin_skills\u002Fpoe-usage",0,"https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir","https:\u002F\u002Fgithub.com\u002Fkfet","https:\u002F\u002Fgithub.com\u002Fkalin-sa","2026-11-15 03:16:15",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":35},[46,49,52],{"tool":47,"command":48},"npx","npx skills add kfet\u002Ffir --skill poe-usage",{"tool":50,"command":51},"bunx","bunx skills add kfet\u002Ffir --skill poe-usage",{"tool":53,"command":54},"pnpm","pnpm dlx skills add kfet\u002Ffir --skill poe-usage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fpoe-usage\u002FSKILL.md",[57],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Fusage.sh","SCRIPT","脚本",7652,"https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fpoe-usage\u002Fscripts\u002Fusage.sh",[64,88,108,131,149,180],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":30},"01M6CS290490SZNX8V35TF3N6X","wt","Spawn a fresh fir agent in its own tmux session on its own git worktree. Use whenever the user wants the work — or the conversation about the work — to happen over there, not here. If the user points at this skill, or has directly loaded it in the context, that alone is the cue — spawn, don't inline.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fwt\u002FSKILL.md",[],[66,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,28,86,87],"tmux","git","worktree","git worktree","work","context","user","spawn","session","use","conversation","cue","fresh","it","about","at","inline",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":30},"01M6CS26KAKJ7VYRQ3RJ31SJ6S","wrap-up","Wrap up work on a project branch — review, fix, and simplify in a loop until clean, then ff-merge to main.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fwrap-up\u002FSKILL.md",[],[95,96,97,98,99,100,101,102,75,103,104,105,36,106,107,28],"wrap up","up","wrap","review","merge","simplify","loop","work on","branch","fix","clean","merge to main","project",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":30},"01M6CS23P85MSVBX11XMFB29PF","tmux-observer","Attach a tmux window to an already-running fir session — observe its transcript and drive its input via tmux send-keys. Use when you need to watch or steer another fir agent.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftmux-observer\u002FSKILL.md",[],[71,115,116,117,79,80,118,119,120,121,122,123,124,28,125,126,127,128,129,130],"tmux observer","observer","transcript","drive","observe","attach","watch","input","via","you","keys","steer","window","send","when","running",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":30},"01M6CS21ENQ3D7Z08TDKXHJRR6","tmux-driver","Drive interactive CLIs (python, gdb, etc.) via named tmux sessions with multi-window support. Falls back to fir's built-in PTY driver when tmux is unavailable.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftmux-driver\u002FSKILL.md",[],[71,138,139,140,141,142,143,144,118,145,146,123,147,148,28,127,129],"tmux driver","driver","python","support","sessions","interactive","PTY","back","gdb","multi","with",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":160,"publishedAt":30},"01M6CS1YWSAH2TQ7S4VK7VKJT6","telegram-bot-setup","Set up a new Telegram bot channel for a fir project — install the telegram MCP, create a per-project state dir, drop in the bot token, wire .fir\u002Fmcp.json with TELEGRAM_STATE_DIR, pair the user, and verify. Use when the user asks to add, configure, or onboard a Telegram bot for a fir worktree\u002Fproject.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Ftelegram-bot-setup\u002FSKILL.md",[155],{"categoryNo":156,"categoryName":157,"taxonomyType":158,"taxonomyTypeDesc":159},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[161,162,163,164,165,166,167,168,73,169,170,171,172,173,174,175,176,80,96,177,107,148,28,178,129,179],"bot","setup","telegram bot","telegram","telegram bot setup","MCP","create","state","SET","verify","onboard","configure","json","pair","install","channel","drop","for","new",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":30},"01M6CS1VSW4C1W1QED8NDHBHZ9","sync","Sync with an upstream source repo — detect changed files, apply equivalent downstream edits, update the baseline, and report any new features or non-trivial changes picked up.","https:\u002F\u002Fgithub.com\u002Fkfet\u002Ffir\u002Fblob\u002Fmain\u002Fpkg\u002Fresources\u002Fbuiltin_skills\u002Fsync\u002FSKILL.md",[],[182,187,188,189,190,96,191,192,193,148,28,194,195,196,197,179],"update","report","baseline","repo","files","upstream","detect","source","changes","features","apply"]