Skip to content
cccskills
FreePublished on GitHub

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)

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md2.0 KB
  • references/auto-approve-da-session.sh2.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Lifecycle Hooks

This skill defines behavioral rules that were originally enforced by platform lifecycle hooks. These rules describe automated behaviors that trigger at specific points in the agent workflow.


On before_action

Trigger: Fires before the agent executes any action (file write, shell command, etc.) Applies when: Action matches Write|Edit|Bash

This rule auto-approves file operations targeting deep-analysis session and cache directories. It prevents permission prompts from interrupting autonomous exploration workflows.

The implementation logic is in references/auto-approve-da-session.sh. This script:

  • Reads action context from stdin (JSON with action type and parameters)
  • Checks if the target file path or command references session directories (.agents/sessions/__da_live__/, .agents/sessions/exploration-cache/, .agents/sessions/da-*/)
  • If matched, approves the action automatically
  • If not matched, passes through to normal permission flow (no opinion)

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/before_action)

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 command hook script in references/ can be executed directly if the harness supports shell-based hooks.
  • The auto-approval targets session file operations to enable uninterrupted deep analysis workflows.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Analyze test coverage and identify gaps with actionable recommendations

The English summary is being prepared. Showing the original description.

sequenzia/agent-alchemy45Updated Jun 1, 2026

Analyze an existing spec for inconsistencies, missing information, ambiguities, and structure issues. Use when user says "analyze spec", "review spec", "spec quality check", "validate requirements", "audit spec", or "check spec quality".

The English summary is being prepared. Showing the original description.

sequenzia/agent-alchemy45Updated Jun 1, 2026

Provides architectural pattern knowledge for designing feature implementations including MVC, event-driven, microservices, and CQRS patterns. Use when designing system architecture or choosing implementation patterns.

The English summary is being prepared. Showing the original description.

sequenzia/agent-alchemy45Updated Jun 1, 2026

Executes diagnostic investigation tasks to test debugging hypotheses. Runs tests, traces execution, checks git history, and reports evidence. (converted from agent)

The English summary is being prepared. Showing the original description.

sequenzia/agent-alchemy45Updated Jun 1, 2026

Systematic, hypothesis-driven debugging workflow with triage-based track routing. Use when asked to "fix this bug", "debug this", "why is this failing", "this is broken", "investigate this error", "track down this issue", or any debugging situation. Supports --deep flag to force full investigation.

The English summary is being prepared. Showing the original description.

sequenzia/agent-alchemy45Updated Jun 1, 2026

Systematic, hypothesis-driven debugging workflow with triage-based track routing. Use for debugging, fixing bugs, and investigating errors.

The English summary is being prepared. Showing the original description.

sequenzia/agent-alchemy45Updated Jun 1, 2026

See all skills by sequenzia

Report a problem with this skill