CtrlK
BlogDocsLog inGet started
Tessl Logo

crush-hooks

Use when the user wants to add, write, debug, or configure a Crush hook — gating or blocking tool calls, approving or rewriting tool input before execution, injecting context into tool results, or troubleshooting hook behavior in crush.json.

69

Quality

84%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Critical

Do not install without reviewing

SKILL.md
Quality
Evals
Security

Quality

Content

76%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-structured, highly actionable skill body with executable examples and clear sections. The main gap is the missing validate/verify feedback loop in the authoring workflow, which the rubric caps at 3 for destructive/gating operations.

Suggestions

Add an explicit validation checkpoint to the Authoring Checklist (e.g., test the hook against a safe sample tool call and confirm the expected decision/exit code before relying on it).

Consider moving the full JSON-envelope field semantics and env-var/exit-code tables into a reference file under references/, keeping SKILL.md as a tighter overview with a one-level-deep pointer.

Trim a few explanatory asides (e.g. the 'Default to deny — reach for halt only when...' prose) or relocate them to the Debugging section to tighten conciseness toward the top anchor.

DimensionReasoningScore

Conciseness

Lean, table-driven, and free of concept padding, but a few explanatory asides ('Default to deny — reach for halt only when...') sit slightly beyond the bare essentials.

4 / 5

Actionability

Copy-paste-ready bash scripts, a concrete jsonc config block, an inline one-liner, and explicit env-var/exit-code tables cover the common authoring cases fully.

5 / 5

Workflow Clarity

The Authoring Checklist and Debugging section give a coherent sequence, but because hooks can block/halt tool calls (destructive/gating) the absence of an explicit validate-then-verify checkpoint caps this at 3 per the rubric.

3 / 5

Progressive Disclosure

No bundle files exist; the single reference (docs/hooks/README.md) is one level deep and clearly signaled, and sections are well organized — though some I/O-contract detail could be externalized and the lone reference points outside the bundle.

4 / 5

Total

16

/

20

Passed

Description

92%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, concrete description with explicit 'Use when' trigger guidance and a comprehensive list of hook-related actions. Only minor keyword-synonym breadth keeps trigger_term_quality from the top anchor.

DimensionReasoningScore

Specificity

Enumerates multiple concrete actions — 'add, write, debug, or configure', 'gating or blocking tool calls', 'approving or rewriting tool input', 'injecting context', 'troubleshooting' — giving comprehensive coverage of the hook capability surface.

5 / 5

Completeness

Explicitly answers 'when' ('Use when the user wants to...') and 'what' (enumerated concrete hook behaviors) with concrete trigger phrases.

5 / 5

Trigger Term Quality

Natural user phrases like 'add, write, debug, or configure a Crush hook' and 'gating or blocking tool calls' are present, but synonym/extension breadth (e.g. bare 'hooks') is limited compared to the comprehensive-anchor bar.

4 / 5

Distinctiveness Conflict Risk

'Crush hook' and 'crush.json' plus the specific gating/rewriting behaviors carve a clear niche with minimal overlap risk against other skills.

5 / 5

Total

19

/

20

Passed

Validation

100%

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

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
charmbracelet/crush
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.