CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

decision-gates

在 DSH 长程任务中为决策层加装五道防偏闸门:原始证据锚、对抗式对齐审计、跨包一致性校验、成本比对、防御自检,防止目标漂移、验收失真与摘要偏差。用于跨会话长任务、多 worker 并行、审计类任务、成本敏感任务的 checkpoint 记录与恢复,以及任何需要"决策层不跑偏"保障的执行场景。

Quality

83%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is decision-gates in ooooooooooooooooooop/agent-tools

SKILL.md
Quality
Evals
Security

Quality

Content

77%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-engineered process skill: clearly sequenced phases, strong validation/rollback loops, and concrete script-level guidance. Its main defects are broken references to a missing templates/ directory and some duplicated trigger-list text that could be consolidated.

Suggestions

Add the referenced templates/raw_evidence_anchors.json and templates/adversarial-audit-brief.md files to the bundle (or inline their structures and drop the paths) — the anchor template is load-bearing for phases 1, 2, and recovery, and currently every reference dead-ends.

State the gate-1 trigger-event list once (in 阶段 3) and have the 核心规则 item reference it, eliminating the near-verbatim duplicate and trimming the description's gate enumeration mismatch (says five gates, body defines seven).

Define or reference where 'create_goal' comes from (it appears only as a bare tool call in 阶段 1), so the initialization step is executable as written.

DimensionReasoningScore

Conciseness

Dense and imperative with essentially no filler ('决策层跑偏的根因不是提示词不够强,而是状态没有物化'), but the gate-1 trigger-event list is stated twice nearly verbatim (核心规则 item 2 and 阶段 3) and the '零 token 原则' paragraph partially restates the per-gate annotations — trimmable duplication, so above the midpoint but not the lean ideal of 5.

4 / 5

Actionability

Mostly executable: real script invocations ('gate_scope_lock.py', 'gate_deadband.py', 'python scripts/run_tests.py'), a concrete polling call ('job_output(job_id, wait=true, timeout_ms=60000)'), and a full anchor-JSON field contract. Minor gaps: every reference to 'templates/raw_evidence_anchors.json' and 'templates/adversarial-audit-brief.md' points at files that do not exist in the bundle, and 'create_goal' is invoked without any definition, so a few steps cannot be executed as written.

4 / 5

Workflow Clarity

Six phases are explicitly sequenced with validation gates and rollback loops throughout: gate 2 must pass before acceptance ('❌ 冲突不得进入验收'), audit ⚠️/❌ must be resolved before the next checkpoint, DEFENSE_DRIFT triggers rollback to the last clean checkpoint, recovery enforces a hard read order ('先锚后摘要'), and a 验证 section provides runnable regression commands. This matches the clear-sequence-with-explicit-validation-and-error-recovery anchor.

5 / 5

Progressive Disclosure

The single-file structure is coherent and script references (gate_consistency/cost/selfcheck/scope_lock/deadband/run_tests) resolve to real files, but the body repeatedly points to a 'templates/' directory (raw_evidence_anchors.json, adversarial-audit-brief.md) that is absent from the bundle — broken one-level references. It is not a 4 because navigation to core artifacts dead-ends; not a 2 because the remaining structure and references are mostly appropriate.

3 / 5

Total

16

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, concrete about both capability and applicability, with explicit use-when phrasing. Main weaknesses are a minor coverage gap (five gates named versus seven defined in the body) and some trigger synonyms living only in the frontmatter triggers list.

DimensionReasoningScore

Specificity

Names the domain (DSH long-horizon tasks) and lists five concrete mechanisms ('原始证据锚、对抗式对齐审计、跨包一致性校验、成本比对、防御自检') plus concrete actions ('checkpoint 记录与恢复'), but says '五道闸门' while the body now defines seven gates (scope lock and deadband interceptor are absent), a minor coverage gap.

4 / 5

Completeness

Explicitly answers both: what ('为决策层加装五道防偏闸门' with named gates and the harms prevented: '目标漂移、验收失真与摘要偏差') and when ('用于跨会话长任务、多 worker 并行、审计类任务、成本敏感任务的 checkpoint 记录与恢复,以及任何需要...的执行场景'). Not below 4 because the 'when' clause is explicit with concrete trigger phrases; not applicable above 5.

5 / 5

Trigger Term Quality

Natural trigger phrases are present ('跨会话长任务', '多 worker 并行', '审计类任务', '成本敏感任务', 'checkpoint 记录与恢复') and would plausibly appear in a user's request, but a few common variations (e.g. 断点恢复, 验收) only appear in the frontmatter triggers rather than the description itself.

4 / 5

Distinctiveness Conflict Risk

The '决策层不跑偏' / evidence-anchor framing carves a clear niche distinct from generic task-management skills, but '长程任务/checkpoint 记录与恢复' overlaps with the execution-discipline/task-mode-router skills it declares as dependencies — minor overlap risk, not the clear-niche minimal-conflict case of a 5.

4 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

ooooooooooooooooooop/personal-ai

Path

skills/decision-gates/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.