Agent skill

lifecycle-hooks

Behavioral rules and lifecycle event handlers for the core-tools package. Includes auto-approval of file operations targeting deep-analysis session directories.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Requires: []
Path: skills/agent/lifecycle-hooks-sequenzia-agent-alchemy-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Auto-Approve Deep Analysis Session Operations
  2. Approved Paths
  3. Logic
  4. Implementation Reference
  5. Debug Logging
  6. Integration Notes
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going