lifecycle-hooks
Behavioral rules and lifecycle event handlers for the core-tools package. Includes auto-approval of file operations targeting deep-analysis session directories.
npx skills add majiayu000/claude-skill-registry --skill lifecycle-hooks-sequenzia-agent-alchemy-2 --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 behavioral rules and lifecycle event handlers converted from the core-tools hook configuration. These rules describe when certain operations should be automatically approved or handled without user intervention. --- ## Auto-Approve Deep Analysis Session Operations **Trigger:** Before any file write, file edit, or shell command execution. **Matcher:** Operations targeting Write, Edit, or shell commands. **Behavior:** Automatically approve file operations that target deep-analysis session and cache directories. All other operations pass through to the normal permission flow. ### Approved Paths The following directory patterns are auto-approved for file operations: | Pattern | Description | |---------|-------------| | `.agents/sessions/__da_live__/*` | Active deep-analysis session files | | `.agents/sessions/exploration-cache/*` | Exploration cache (cached analysis results) | | `.agents/sessions/da-*/*` | Archived deep-analysis sessions | ### Logic 1. For **file write/edit** operations: Extract the target file path. If it matches any of the approved path patterns above, approve the operation automatically. 2. For **shell commands**: Check if the co
- Auto-Approve Deep Analysis Session Operations
- Approved Paths
- Logic
- Implementation Reference
- Debug Logging
- Integration Notes
What does the lifecycle-hooks skill do?
Behavioral rules and lifecycle event handlers for the core-tools package. Includes auto-approval of file operations targeting deep-analysis session directories.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill lifecycle-hooks-sequenzia-agent-alchemy-2 --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.
