New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Declarative trigger metadata that documents follow-up intent between agent-playbook skills, not an executable hook system.

skills.sh installs
628
GitHub stars
89
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers PRD creation, implementation, session management, and error-correction chains with yaml trigger definitions
  • Defines auto, background, and ask_first modes, plus optional condition checks and passed context values
  • Enforces that ask_first gates PRs, deployments, and durable file changes, and that chains must terminate
  • Designed for host runtimes or agents that explicitly support hooks; other hosts should use manual capture

Install

$ npx -y skills add zhaono1/agent-playbook --skill auto-trigger -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Auto-Trigger Hooks

This skill defines trigger intent between skills. When a skill completes its workflow, a host runtime or agent may read this metadata, record a pending follow-up, and execute the next skill only when that action is supported and safe for the current session.

Hook Definitions

PRD Creation Chain

prd_complete:
  triggers:
    - skill: self-improving-agent
      mode: background
      condition: PRD file exists and is complete
    - skill: session-logger
      mode: auto
      context: "PRD created for {feature_name}"

prd_implemented:
  triggers:
    - skill: session-logger
      mode: auto
      context: "Implemented PRD: {feature_name}"

Implementation Chain

implementation_complete:
  triggers:
    - skill: code-reviewer
      mode: ask_first
      message: "Implementation complete. Run code review?"
    - skill: create-pr
      mode: ask_first
      condition: user_requested_submission

Session Management

session_start:
  auto_triggers:
    - skill: session-logger
      action: create_session_file

session_end:
  auto_triggers:
    - skill: session-logger
      action: update_session_file

Details

Repository
github.com/zhaono1/agent-playbook
Categories
Agent Workflow & Planning, Skill & Plugin Building
First seen
May 16, 2026

More from zhaono1/agent-playbook

All 24

Similar to Auto Trigger

More Agent Workflow & Planning