[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F3Y205CY87ZG77C70J239E":3,"skill-same:01M7F3Y205CY87ZG77C70J239E":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},"01M7F3Y205CY87ZG77C70J239E","regression-watch",null,"Detect quality and efficiency regressions over time using Agent Monitor data — rising error rate (APIError events), falling cache hit rate, growing compaction frequency, and climbing cost-per-session. Splits history into an earlier baseline window and a recent window and reports which metrics are getting worse, by how much, and where. Use when checking whether things are degrading or trending in the wrong direction.","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-技能与代理开发\u002Fregression-watch\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: regression-watch\ndescription: >\n  Detect quality and efficiency regressions over time using Agent Monitor data —\n  rising error rate (APIError events), falling cache hit rate, growing compaction\n  frequency, and climbing cost-per-session. Splits history into an earlier\n  baseline window and a recent window and reports which metrics are getting\n  worse, by how much, and where. Use when checking whether things are degrading\n  or trending in the wrong direction.\n---\n\n# Regression Watch\n\nDetect whether Claude Code sessions are getting worse over time across quality and\nefficiency metrics, using Agent Monitor data.\n\n## Input\n\nThe user provides: **$ARGUMENTS**\n\nThis may be:\n- empty or \"all\" — check every regression metric (default)\n- \"errors\" — error-rate regression only\n- \"cache\" — cache hit-rate regression only\n- \"compaction\" — compaction-frequency regression only\n- \"cost\" — cost-per-session regression only\n- A window like \"last 30d\" or \"30 vs 90\" — set the recent vs baseline window sizes\n\n## Data Sources\n\n| Endpoint | Returns |\n|----------|---------|\n| `GET \u002Fapi\u002Fanalytics` | `daily_events` (365d), `daily_sessions` (365d), `event_types`, `tokens` (total_input, total_output, total_cache_read, total_cache_write — baselines pre-summed), `avg_events_per_session` |\n| `GET \u002Fapi\u002Fevents?session_id=X` | Event stream incl. `APIError`, `Compaction`, `PreToolUse`\u002F`PostToolUse` — used to localize regressions to specific sessions |\n| `GET \u002Fapi\u002Fpricing\u002Fcost` | `{ total_cost, breakdown[...] }` — total cost to derive cost-per-session |\n| `GET \u002Fapi\u002Fpricing\u002Fcost\u002F{sessionId}` | Per-session cost — used to compare recent vs baseline session cost |\n| `GET \u002Fapi\u002Fworkflows\u002F{sessionId}` | `compaction` (impact), `errorPropagation` (by depth), `effectiveness` — per-session quality signals |\n| `GET \u002Fapi\u002Fsessions?limit=N` | Sessions with `started_at`, `cost`, `metadata` — to bucket sessions into time windows |\n\n## Report Sections\n\n### 1. Windowing\nSplit history into a **baseline window** (older) and a **recent window** (newer).\nDefault: recent = last 30 days, baseline = the 30–90 day range before it. Use\n`daily_events`\u002F`daily_sessions` for series metrics and `GET \u002Fapi\u002Fsessions?limit=N`\nto assign sessions to each window by `started_at`.\n\n### 2. Error Rate Regression\n- Recent error rate = `APIError count \u002F total events` in the recent window\n  (from `event_types` and `daily_events`, or per-session `GET \u002Fapi\u002Fevents`).\n- Compare to the baseline rate. Flag if recent is higher.\n- Report the absolute and relative change and which sessions contributed most\n  `APIError` events.\n\n### 3. Cache Hit Rate Regression\n- Cache hit rate = `total_cache_read \u002F (total_cache_read + total_input)`.\n- Compute for each window (per-window input\u002Fcache_read from session metadata or\n  the pricing breakdown). Flag a **falling** hit rate — that means more\n  uncached input tokens and higher cost.\n\n### 4. Compaction Frequency Regression\n- Compaction frequency = `Compaction events \u002F session` per window (from\n  `event_types` \u002F `daily_events`, confirmed via per-session\n  `GET \u002Fapi\u002Fworkflows\u002F{id}` `compaction`). Flag a **rising** rate — context is\n  overflowing more often.\n\n### 5. Cost-per-Session Regression\n- Cost-per-session = window total cost \u002F window session count, using\n  `GET \u002Fapi\u002Fpricing\u002Fcost` overall and `GET \u002Fapi\u002Fpricing\u002Fcost\u002F{id}` for the\n  sessions in each window. Flag a **climbing** value.\n\n### 6. Verdict\nRoll up which metrics regressed, rank by relative worsening, and name the most\nlikely driver (e.g., cache hit rate fell → cost per session climbed).\n\n## Output\n\n- A Markdown table: metric | baseline | recent | Δ | direction (▲ worse \u002F ▼ better) | verdict.\n- Tag each regressed metric 🔴 (clear regression), 🟡 (mild\u002Fwithin noise), or 🟢 (improved).\n- Currency in USD to 4 decimals; rates as percentages to 2 decimals.\n- List the specific session IDs that contributed most to any regression.\n- End with the single highest-priority regression to address and a concrete next step.\n- Read-only: only report what the API returns; never fabricate baselines.\n","# Regression Watch\n\nDetect whether Claude Code sessions are getting worse over time across quality and\nefficiency metrics, using Agent Monitor data.\n\n## Input\n\nThe user provides: **$ARGUMENTS**\n\nThis may be:\n- empty or \"all\" — check every regression metric (default)\n- \"errors\" — error-rate regression only\n- \"cache\" — cache hit-rate regression only\n- \"compaction\" — compaction-frequency regression only\n- \"cost\" — cost-per-session regression only\n- A window like \"last 30d\" or \"30 vs 90\" — set the recent vs baseline window sizes\n\n## Data Sources\n\n| Endpoint | Returns |\n|----------|---------|\n| `GET \u002Fapi\u002Fanalytics` | `daily_events` (365d), `daily_sessions` (365d), `event_types`, `tokens` (total_input, total_output, total_cache_read, total_cache_write — baselines pre-summed), `avg_events_per_session` |\n| `GET \u002Fapi\u002Fevents?session_id=X` | Event stream incl. `APIError`, `Compaction`, `PreToolUse`\u002F`PostToolUse` — used to localize regressions to specific sessions |\n| `GET \u002Fapi\u002Fpricing\u002Fcost` | `{ total_cost, breakdown[...] }` — total cost to derive cost-per-session |\n| `GET \u002Fapi\u002Fpricing\u002Fcost\u002F{sessionId}` | Per-session cost — used to compare recent vs baseline session cost |\n| `GET \u002Fapi\u002Fworkflows\u002F{sessionId}` | `compaction` (impact), `errorPropagation` (by depth), `effectiveness` — per-session quality signals |\n| `GET \u002Fapi\u002Fsessions?limit=N` | Sessions with `started_at`, `cost`, `metadata` — to bucket sessions into time windows |\n\n## Report Sections\n\n### 1. Windowing\nSplit history into a **baseline window** (older) and a **recent window** (newer).\nDefault: recent = last 30 days, baseline = the 30–90 day range before it. Use\n`daily_events`\u002F`daily_sessions` for series metrics and `GET \u002Fapi\u002Fsessions?limit=N`\nto assign sessions to each window by `started_at`.\n\n### 2. Error Rate Regression\n- Recent error rate = `APIError count \u002F total events` in the recent window\n  (from `event_types` and `daily_events`, or per-session `GET \u002Fapi\u002Fevents`).\n- Compare to the baseline rate. Flag if recent is higher.\n- Report the absolute and relative change and which sessions contributed most\n  `APIError` events.\n\n### 3. Cache Hit Rate Regression\n- Cache hit rate = `total_cache_read \u002F (total_cache_read + total_input)`.\n- Compute for each window (per-window input\u002Fcache_read from session metadata or\n  the pricing breakdown). Flag a **falling** hit rate — that means more\n  uncached input tokens and higher cost.\n\n### 4. Compaction Frequency Regression\n- Compaction frequency = `Compaction events \u002F session` per window (from\n  `event_types` \u002F `daily_events`, confirmed via per-session\n  `GET \u002Fapi\u002Fworkflows\u002F{id}` `compaction`). Flag a **rising** rate — context is\n  overflowing more often.\n\n### 5. Cost-per-Session Regression\n- Cost-per-session = window total cost \u002F window session count, using\n  `GET \u002Fapi\u002Fpricing\u002Fcost` overall and `GET \u002Fapi\u002Fpricing\u002Fcost\u002F{id}` for the\n  sessions in each window. Flag a **climbing** value.\n\n### 6. Verdict\nRoll up which metrics regressed, rank by relative worsening, and name the most\nlikely driver (e.g., cache hit rate fell → cost per session climbed).\n\n## Output\n\n- A Markdown table: metric | baseline | recent | Δ | direction (▲ worse \u002F ▼ better) | verdict.\n- Tag each regressed metric 🔴 (clear regression), 🟡 (mild\u002Fwithin noise), or 🟢 (improved).\n- Currency in USD to 4 decimals; rates as percentages to 2 decimals.\n- List the specific session IDs that contributed most to any regression.\n- End with the single highest-priority regression to address and a concrete next step.\n- Read-only: only report what the API returns; never fabricate baselines.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fregression-watch",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 regression-watch",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill regression-watch",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill regression-watch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fregression-watch\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",270,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fregression-watch\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",[],[]]