一键导入
sentinel-drafts
List pending draft Sentinel rules with provenance
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
List pending draft Sentinel rules with provenance
用 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
Show Sentinel telemetry stats — rule performance, latency, violations, and hottest targets
Dismiss a draft Sentinel rule and prevent re-proposal
Scan documentation files for conventions and generate draft Sentinel rules
| name | sentinel-drafts |
| description | List pending draft Sentinel rules with provenance |
| user-invocable | true |
List all pending draft rules proposed by Sentinel Scribe.
Read all .draft.yaml files from .claude/sentinel/drafts/
For each draft, extract from the YAML:
id — rule identifiertrigger — file_write, bash, mcp, or anyseverity — block or warnscope — glob patterns (show first 2, then "and N more" if longer)_draft.source — user_feedback, agent_self_correction, or documentation_draft.synthesized — when it was created (show as relative time: "2h ago", "3d ago")_draft.evidence — the human words that triggered this (show first item, truncated to 60 chars)Sort by _draft.synthesized (newest first)
Display as a formatted list:
N pending draft rules:
id (severity, trigger) — age
Scope: glob1, glob2
Evidence: "human words..."
id2 (severity, trigger) — age
Scope: glob1
Evidence: "human words..."
If no drafts exist, say: "No pending draft rules. Scribe analyzes sessions at exit for conventions (human feedback and agent self-corrections), or run /sentinel-learn to scan documentation."
After listing, remind: "Use /sentinel-promote <id> to activate a draft, or /sentinel-dismiss <id> to discard it."
After listing drafts, suggest these to the user:
/sentinel-promote <id> — activate a draft rule you want to enforce/sentinel-dismiss <id> — discard a draft and prevent re-proposal/sentinel-learn — scan documentation again if no drafts exist yet