بنقرة واحدة
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