CtrlK
BlogDocsLog inGet started
Tessl Logo

agent-hooks

Four lifecycle hooks every agent runs: on-session-start scans LESSONS-LEARNED.md and resumes checkpoints, on-pre-delegate verifies tracker issues and file partitions, on-post-delegate runs fast-review and CI checks, on-session-end executes the session guard and writes logs. Use when starting a new session, running pre-flight checks before delegation, coordinating between agents, reviewing a completed handoff, or wrapping up a session. Trigger terms: multi-agent setup, delegate tasks, agent coordination, session management, run pre-flight checks, start a new session, coordinate between agents, wrap up session

77

Quality

96%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Discovery

100%

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

This is a strong skill description that clearly articulates four specific lifecycle hooks with concrete actions, provides explicit 'Use when' guidance, and includes a well-curated list of trigger terms. The description is specific to multi-agent coordination and session management, making it highly distinctive. The only minor concern is that the description is somewhat dense, but it remains clear and well-structured.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions across four lifecycle hooks: scanning LESSONS-LEARNED.md, resuming checkpoints, verifying tracker issues and file partitions, running fast-review and CI checks, executing session guard, and writing logs.

3 / 3

Completeness

Clearly answers both 'what' (four lifecycle hooks with specific actions for each) and 'when' (explicit 'Use when...' clause covering starting sessions, pre-flight checks, delegation coordination, reviewing handoffs, and wrapping up). Both are well-articulated.

3 / 3

Trigger Term Quality

Includes a comprehensive set of natural trigger terms that users would actually say: 'multi-agent setup', 'delegate tasks', 'agent coordination', 'session management', 'run pre-flight checks', 'start a new session', 'coordinate between agents', 'wrap up session'. These cover common variations well.

3 / 3

Distinctiveness Conflict Risk

Targets a very specific niche of multi-agent lifecycle management with distinct concepts like lifecycle hooks, session guards, LESSONS-LEARNED.md, and delegation verification. Unlikely to conflict with other skills due to the specialized domain.

3 / 3

Total

12

/

12

Passed

Implementation

92%

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

This is a strong, well-structured skill that provides concrete, executable guidance for four distinct lifecycle hooks in a multi-agent system. The use of tables, numbered steps, hard gates, and anti-patterns makes it highly actionable and clear. The main weakness is that referenced files (HOOKS-REFERENCE.md, logging-mandatory.md) are not available in the bundle, making progressive disclosure harder to fully validate.

DimensionReasoningScore

Conciseness

The content is lean and efficient. It uses tables for structured data, avoids explaining concepts Claude already knows (like what lifecycle hooks are or how shell commands work), and every line serves a purpose. The ASCII diagram at the top is a compact way to convey the lifecycle flow.

3 / 3

Actionability

Every hook step includes concrete, executable shell commands (rg, cat, jq, gh, comm, pnpm). The pre-delegate checklist has specific pass/fail criteria (e.g., comm output must be empty, state must be CLOSED). Commands are copy-paste ready with realistic arguments.

3 / 3

Workflow Clarity

Each lifecycle hook is clearly sequenced with numbered steps in tables. Validation checkpoints are explicit — on-pre-delegate requires all 6 checks to pass before proceeding, on-post-delegate has a hard gate on logging, and on-session-end has a hard gate referencing the quality gate. The re-delegation feedback loop (step 6 of post-delegate: 3rd failure → failures log) provides error recovery.

3 / 3

Progressive Disclosure

The skill references HOOKS-REFERENCE.md multiple times and links to a logging snippet, which is good structure. However, no bundle files are provided, so we cannot verify these references resolve. The content itself is well-organized but the repeated 'See HOOKS-REFERENCE.md' references without the actual file existing in the bundle weakens confidence in navigation.

2 / 3

Total

11

/

12

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.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
monkilabs/opencastle
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.