[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F582AANGSKXRAN40RTVVEN":3,"skill-same:01M7F582AANGSKXRAN40RTVVEN":52},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F582AANGSKXRAN40RTVVEN","slo-check",null,"Define and check simple service-level objectives for Claude Code from Agent Monitor data — session completion rate, tool success rate (PostToolUse\u002FPreToolUse), and error rate (APIError\u002Ftotal) — then compare each to its target and report the error budget remaining. Use when reporting reliability or when someone asks \"are we meeting our SLOs?\".","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fslo-check\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: slo-check\ndescription: >\n  Define and check simple service-level objectives for Claude Code from Agent\n  Monitor data — session completion rate, tool success rate\n  (PostToolUse\u002FPreToolUse), and error rate (APIError\u002Ftotal) — then compare each\n  to its target and report the error budget remaining. Use when reporting\n  reliability or when someone asks \"are we meeting our SLOs?\".\n---\n\n# SLO Check\n\nTurn raw event counts into a clear SLO scorecard with error-budget accounting.\n\n## Input\n\nThe user provides: **$ARGUMENTS**\n\nThis may be:\n- empty — use the default SLO targets below over all available data\n- targets like \"completion=95 success=99 error=1\" — override the defaults (percentages)\n- a window like \"last 7d\" or \"today\" — restrict the measurement period\n\nDefault SLO targets: completion rate ≥ 95%, tool success rate ≥ 99%, error rate ≤ 1%.\n\n## Data Sources\n\n| Endpoint | Returns |\n|----------|---------|\n| `GET \u002Fapi\u002Fanalytics` | `event_types` (PreToolUse, PostToolUse, APIError counts), `sessions_by_status`, `daily_events` (365d), `daily_sessions` (365d) — the raw numerators\u002Fdenominators for every SLI |\n| `GET \u002Fapi\u002Fstats` | `total_sessions`, `total_events`, `events_today`, `sessions_by_status` — fleet totals and recency |\n| `GET \u002Fapi\u002Fevents?session_id=X` | Per-session stream — drill into the sessions that breach an SLO |\n\n## Report Sections\n\n### 1. Service Level Indicators (SLIs)\nCompute each SLI from `GET \u002Fapi\u002Fanalytics` \u002F `GET \u002Fapi\u002Fstats`:\n- **Completion rate** = completed sessions \u002F total sessions (from `sessions_by_status`; count `active`\u002F`running` as in-flight, exclude them from the denominator if still open).\n- **Tool success rate** = `PostToolUse \u002F PreToolUse` (capped at 100%).\n- **Error rate** = `APIError \u002F total_events`.\nWithin a window, derive the numerators\u002Fdenominators from `daily_events` \u002F `daily_sessions`.\n\n### 2. SLO Scorecard\nFor each SLI, compare to its target and mark MET ✅ or BREACHED ❌.\n\n### 3. Error Budget\nFor each objective, report the **error budget** and how much remains:\n- Budget = `1 − target` (e.g., 1% for a 99% target).\n- For \"higher-is-better\" SLOs (completion, success): remaining = `(observed − target) \u002F (1 − target)`.\n- For \"lower-is-better\" SLOs (error rate): remaining = `(target − observed) \u002F target`.\n- A negative result means the budget is exhausted — report how far over (e.g., \"2.7× over budget\").\n\n### 4. Breach Drill-Down\nFor any breached SLO, list the sessions contributing most to the breach (most failed tools or most APIErrors) via `GET \u002Fapi\u002Fevents?session_id=X`.\n\n## Output\n\n- A Markdown scorecard table: SLI | observed | target | status | error budget remaining.\n- Rates as percentages to 2 decimals; any currency in USD to 4 decimals.\n- Cite exact counts and `session_id` values — never fabricate numerators or denominators.\n- End with the SLO most at risk and the single action that would recover the most budget.\n- Read-only: only report what the API returns. If `curl` cannot reach `http:\u002F\u002Flocalhost:4820`, tell the user to start the dashboard with `npm start` from the repo root.\n","# SLO Check\n\nTurn raw event counts into a clear SLO scorecard with error-budget accounting.\n\n## Input\n\nThe user provides: **$ARGUMENTS**\n\nThis may be:\n- empty — use the default SLO targets below over all available data\n- targets like \"completion=95 success=99 error=1\" — override the defaults (percentages)\n- a window like \"last 7d\" or \"today\" — restrict the measurement period\n\nDefault SLO targets: completion rate ≥ 95%, tool success rate ≥ 99%, error rate ≤ 1%.\n\n## Data Sources\n\n| Endpoint | Returns |\n|----------|---------|\n| `GET \u002Fapi\u002Fanalytics` | `event_types` (PreToolUse, PostToolUse, APIError counts), `sessions_by_status`, `daily_events` (365d), `daily_sessions` (365d) — the raw numerators\u002Fdenominators for every SLI |\n| `GET \u002Fapi\u002Fstats` | `total_sessions`, `total_events`, `events_today`, `sessions_by_status` — fleet totals and recency |\n| `GET \u002Fapi\u002Fevents?session_id=X` | Per-session stream — drill into the sessions that breach an SLO |\n\n## Report Sections\n\n### 1. Service Level Indicators (SLIs)\nCompute each SLI from `GET \u002Fapi\u002Fanalytics` \u002F `GET \u002Fapi\u002Fstats`:\n- **Completion rate** = completed sessions \u002F total sessions (from `sessions_by_status`; count `active`\u002F`running` as in-flight, exclude them from the denominator if still open).\n- **Tool success rate** = `PostToolUse \u002F PreToolUse` (capped at 100%).\n- **Error rate** = `APIError \u002F total_events`.\nWithin a window, derive the numerators\u002Fdenominators from `daily_events` \u002F `daily_sessions`.\n\n### 2. SLO Scorecard\nFor each SLI, compare to its target and mark MET ✅ or BREACHED ❌.\n\n### 3. Error Budget\nFor each objective, report the **error budget** and how much remains:\n- Budget = `1 − target` (e.g., 1% for a 99% target).\n- For \"higher-is-better\" SLOs (completion, success): remaining = `(observed − target) \u002F (1 − target)`.\n- For \"lower-is-better\" SLOs (error rate): remaining = `(target − observed) \u002F target`.\n- A negative result means the budget is exhausted — report how far over (e.g., \"2.7× over budget\").\n\n### 4. Breach Drill-Down\nFor any breached SLO, list the sessions contributing most to the breach (most failed tools or most APIErrors) via `GET \u002Fapi\u002Fevents?session_id=X`.\n\n## Output\n\n- A Markdown scorecard table: SLI | observed | target | status | error budget remaining.\n- Rates as percentages to 2 decimals; any currency in USD to 4 decimals.\n- Cite exact counts and `session_id` values — never fabricate numerators or denominators.\n- End with the SLO most at risk and the single action that would recover the most budget.\n- Read-only: only report what the API returns. If `curl` cannot reach `http:\u002F\u002Flocalhost:4820`, tell the user to start the dashboard with `npm start` from the repo root.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fslo-check",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill slo-check",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill slo-check",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill slo-check","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fslo-check\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",258,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fslo-check\u002Fagents\u002Fopenai.yaml",[53,60,65,72,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":61,"name":55,"nameZh":6,"description":56,"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},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\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":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]