一键导入
sentinel-stats
Show Sentinel telemetry stats — rule performance, latency, violations, and hottest targets
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Show Sentinel telemetry stats — rule performance, latency, violations, and hottest targets
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
View or update Sentinel configuration
Scaffold Sentinel config and rules directory in the current repository, installing prerequisites if needed
Create or edit a Sentinel rule through guided conversation
Dismiss a draft Sentinel rule and prevent re-proposal
List pending draft Sentinel rules with provenance
Scan documentation files for conventions and generate draft Sentinel rules
| name | sentinel-stats |
| description | Show Sentinel telemetry stats — rule performance, latency, violations, and hottest targets |
| user-invocable | true |
Show a performance dashboard from Sentinel's JSONL telemetry log.
Run the stats script from the repo root (it auto-discovers .claude/sentinel/config.yaml and reads log_file from it):
python3 ${CLAUDE_PLUGIN_ROOT}/skills/sentinel-stats/sentinel-stats.py
If the script prints an error about no log file, tell the user:
Telemetry logging is not enabled. Add
log_file: "telemetry.jsonl"to your.claude/sentinel/config.yamland re-run your workflow to collect data.
A specific log file path can also be passed directly: python3 ... /path/to/log.jsonl
Present the output to the user. Then provide a brief interpretation highlighting:
fast_pattern pre-filters.If the user wants machine-readable output, run with --json.
Based on the stats interpretation, suggest the most relevant action:
/sentinel-rule — edit or create rules to fix noisy, flaky, or missing coverage/sentinel-config — tune confidence_threshold, timeout_ms, or switch models if latency is high/sentinel-learn — discover new conventions from documentation if rule coverage is thin