[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EWW9QQF7FXRP7N2PBEVKD4":3,"skill-same:01M7EWW9QQF7FXRP7N2PBEVKD4":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},"01M7EWW9QQF7FXRP7N2PBEVKD4","anomaly-alert",null,"Identify anomalous sessions using Agent Monitor data — cost outliers from the pricing engine, token anomalies (cache miss spikes, compaction baseline surges), unusual event type ratios (PreToolUse\u002FPostToolUse gaps, APIError clusters), behavioral deviations from workflow intelligence (complexity score outliers, error propagation anomalies), and sessions with abnormal metadata (extreme turn_count, high thinking_blocks, zero turn_duration).","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-技能与代理开发\u002Fanomaly-alert\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: anomaly-alert\ndescription: >\n  Identify anomalous sessions using Agent Monitor data — cost outliers from\n  the pricing engine, token anomalies (cache miss spikes, compaction baseline\n  surges), unusual event type ratios (PreToolUse\u002FPostToolUse gaps, APIError\n  clusters), behavioral deviations from workflow intelligence (complexity\n  score outliers, error propagation anomalies), and sessions with abnormal\n  metadata (extreme turn_count, high thinking_blocks, zero turn_duration).\n---\n\n# Anomaly Alert\n\nDetect anomalous sessions in Claude Code Agent Monitor data.\n\n## Input\n\nThe user provides: **$ARGUMENTS**\n\nThis may be:\n- \"all\" or empty (default: check all anomaly types)\n- \"cost\" for cost anomalies only\n- \"duration\" for duration anomalies only\n- \"errors\" for error rate anomalies only\n- A sensitivity level: \"strict\" (1σ), \"normal\" (2σ), \"relaxed\" (3σ)\n\n## Procedure\n\n1. **Fetch baseline data** from `http:\u002F\u002Flocalhost:4820`:\n   - `GET \u002Fapi\u002Fsessions?limit=500` — historical sessions for baseline\n   - `GET \u002Fapi\u002Fanalytics` — aggregated metrics\n   - `GET \u002Fapi\u002Fpricing\u002Fcost` — cost data per session\n\n2. **Compute baselines** for each metric:\n   - Mean, median, standard deviation\n   - P25, P75, P90, P95, P99 percentiles\n   - Interquartile range (IQR) for robust outlier detection\n\n3. **Detect anomalies** using statistical thresholds:\n\n   ### Cost Anomalies\n   - Sessions costing >2σ above mean\n   - Single sessions exceeding daily average\n   - Sudden cost spikes (session-over-session increase >200%)\n\n   ### Duration Anomalies\n   - Sessions lasting >2σ above mean duration\n   - Extremely short sessions (\u003C1 minute) that still incur cost\n   - Sessions with unusual active-vs-idle ratios\n\n   ### Error Rate Anomalies\n   - Sessions with error rates >2σ above baseline\n   - New error types not seen in previous sessions\n   - Sessions with >3 consecutive tool failures\n\n   ### Behavioral Anomalies\n   - Unusual tool combinations not seen before\n   - Sessions with abnormally high compaction counts\n   - Model switches mid-session (if unexpected)\n   - Sessions with no tool usage (pure conversation)\n\n   ### Token Anomalies\n   - Input\u002Foutput token ratio far from historical norm\n   - Cache miss rate significantly higher than average\n   - Token usage growing faster than session count\n\n4. **Classify each anomaly**:\n   - **🔴 Critical**: Likely indicates a real problem requiring attention\n   - **🟡 Warning**: Unusual but may be expected for certain tasks\n   - **🔵 Info**: Interesting deviation worth noting\n\n## Output Format\n\nPresent as an **Anomaly Report**:\n\n```\n═══════════════════════════════════════════════\n  ANOMALY DETECTION REPORT\n  Analyzed: N sessions | Baseline: last 30 days\n  Anomalies found: N (🔴 N critical, 🟡 N warn, 🔵 N info)\n═══════════════════════════════════════════════\n```\n\nFor each anomaly:\n- Session ID and timestamp\n- Anomaly type and severity\n- Observed value vs expected range\n- Possible explanation\n- Recommended action (if any)\n","# Anomaly Alert\n\nDetect anomalous sessions in Claude Code Agent Monitor data.\n\n## Input\n\nThe user provides: **$ARGUMENTS**\n\nThis may be:\n- \"all\" or empty (default: check all anomaly types)\n- \"cost\" for cost anomalies only\n- \"duration\" for duration anomalies only\n- \"errors\" for error rate anomalies only\n- A sensitivity level: \"strict\" (1σ), \"normal\" (2σ), \"relaxed\" (3σ)\n\n## Procedure\n\n1. **Fetch baseline data** from `http:\u002F\u002Flocalhost:4820`:\n   - `GET \u002Fapi\u002Fsessions?limit=500` — historical sessions for baseline\n   - `GET \u002Fapi\u002Fanalytics` — aggregated metrics\n   - `GET \u002Fapi\u002Fpricing\u002Fcost` — cost data per session\n\n2. **Compute baselines** for each metric:\n   - Mean, median, standard deviation\n   - P25, P75, P90, P95, P99 percentiles\n   - Interquartile range (IQR) for robust outlier detection\n\n3. **Detect anomalies** using statistical thresholds:\n\n   ### Cost Anomalies\n   - Sessions costing >2σ above mean\n   - Single sessions exceeding daily average\n   - Sudden cost spikes (session-over-session increase >200%)\n\n   ### Duration Anomalies\n   - Sessions lasting >2σ above mean duration\n   - Extremely short sessions (\u003C1 minute) that still incur cost\n   - Sessions with unusual active-vs-idle ratios\n\n   ### Error Rate Anomalies\n   - Sessions with error rates >2σ above baseline\n   - New error types not seen in previous sessions\n   - Sessions with >3 consecutive tool failures\n\n   ### Behavioral Anomalies\n   - Unusual tool combinations not seen before\n   - Sessions with abnormally high compaction counts\n   - Model switches mid-session (if unexpected)\n   - Sessions with no tool usage (pure conversation)\n\n   ### Token Anomalies\n   - Input\u002Foutput token ratio far from historical norm\n   - Cache miss rate significantly higher than average\n   - Token usage growing faster than session count\n\n4. **Classify each anomaly**:\n   - **🔴 Critical**: Likely indicates a real problem requiring attention\n   - **🟡 Warning**: Unusual but may be expected for certain tasks\n   - **🔵 Info**: Interesting deviation worth noting\n\n## Output Format\n\nPresent as an **Anomaly Report**:\n\n```\n═══════════════════════════════════════════════\n  ANOMALY DETECTION REPORT\n  Analyzed: N sessions | Baseline: last 30 days\n  Anomalies found: N (🔴 N critical, 🟡 N warn, 🔵 N info)\n═══════════════════════════════════════════════\n```\n\nFor each anomaly:\n- Session ID and timestamp\n- Anomaly type and severity\n- Observed value vs expected range\n- Possible explanation\n- Recommended action (if any)\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fanomaly-alert",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 anomaly-alert",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill anomaly-alert",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill anomaly-alert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fanomaly-alert\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",268,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fanomaly-alert\u002Fagents\u002Fopenai.yaml",[53,61,66,73,80,87],{"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":60},"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",[],[],"2026-11-16 10:05:34",{"skillNo":62,"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":63,"categories":64,"keywords":65,"publishedAt":60},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\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":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":60},"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":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":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":60},"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":60},"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":60},"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",[],[]]