Skip to content
Back to skills

Lifecycle Hooks Sequenzia Agent Alchemy 4

ASecurity

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)

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 12, 2026
ai-agentsshell

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill lifecycle-hooks-sequenzia-agent-alchemy-4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lifecycle Hooks Sequenzia Agent Alchemy 4?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lifecycle Hooks Sequenzia Agent Alchemy 4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-lifecycle-hooks-sequenzia-agent-alchemy-4-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-lifecycle-hooks-sequenzia-agent-alchemy-4-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lifecycle-hooks
description: >-
  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)
dependencies: []
---

# Lifecycle Hooks

## On before_action

**Trigger:** Fires before the agent executes any action
**Applies when:** Action is a file write, file edit, or shell command

Auto-approve file operations targeting deep-analysis session and cache directories.
This allows the deep-analysis workflow to write session files without requiring user approval for each operation.

The implementation logic is in **references/auto-approve-da-session.sh**. This script:
- Reads action context from stdin as JSON
- Checks if the target path matches `.agents/sessions/__da_live__/`, `.agents/sessions/exploration-cache/`, or `.agents/sessions/da-*/`
- For matching paths: approves the operation automatically
- For non-matching paths: passes through to normal permission flow

## Integration Notes

**What this component does:** Defines automated behavioral rules that were originally enforced by platform lifecycle hooks.

**Origin:** Converted from 1 lifecycle hook (PreToolUse)

**Capabilities needed:**
- Event/lifecycle hook system (if the target harness supports one)
- Alternatively, implement as middleware, conditional checks, or manual review steps

**Adaptation guidance:**
- This behavior was originally enforced automatically by the platform. In the target harness, it may need to be implemented as middleware, event handlers, or manual review steps.
- The script in `references/` can be executed directly if the harness supports shell-based hooks.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.