lifecycle-hooks
Behavioral rules and lifecycle event handlers for the core-tools package. Defines automated behaviors that trigger at specific points in the agent workflow. (converted from hooks)
npx skills add majiayu000/claude-skill-registry --skill lifecycle-hooks-sequenzia-agent-alchemy --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Lifecycle Hooks This skill defines automated behaviors that trigger at specific points in the agent workflow for the core-tools package. --- ## On before_action **Trigger:** Fires before the agent executes any action (file write, shell command, etc.) **Applies when:** Action matches `Write|Edit|Bash` Auto-approve file operations targeting deep-analysis session and cache directories. This allows the deep-analysis workflow to write session files (checkpoints, findings, cache) without requiring manual approval for each operation. The implementation logic is in **references/auto-approve-da-session.sh**. This script: - Checks if the file operation targets `.agents/sessions/__da_live__/`, `.agents/sessions/exploration-cache/`, or `.agents/sessions/da-*/` directories - Auto-approves matching operations to enable autonomous session management - Passes through all other operations to normal permission flow - Expected input: Action context as JSON on stdin (with `tool_name` and `tool_input` fields) - Expected output: JSON permission decision or empty (no opinion) --- ## Integration Notes This skill documents lifecycle automation that was originally implemented as platform-specific hooks. W
- On beforeaction
- Integration Notes
What does the lifecycle-hooks skill do?
Behavioral rules and lifecycle event handlers for the core-tools package. Defines automated behaviors that trigger at specific points in the agent workflow. (converted from hooks)
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill lifecycle-hooks-sequenzia-agent-alchemy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
