auto-trigger

Define automatic trigger relationships between skills using YAML front matter hooks.

69|11|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/zhaono1/agent-playbook --skill auto-trigger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-trigger
Source: https://github.com/zhaono1/agent-playbook/tree/main/skills/auto-trigger
Command: npx skills add https://github.com/zhaono1/agent-playbook --skill auto-trigger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defines and centralizes automatic trigger relationships between skills to simplify and automate workflow orchestration. This is a configuration skill intended to be referenced by other skills rather than invoked directly.

Core Features & Use Cases

  • Hook definitions: declare after_complete, before_start, and on_error triggers to chain skills.
  • Mode options: support auto, background, and ask_first to control when triggers fire.
  • Project-wide orchestration: enables a cohesive flow across multiple skills by reading and applying defined triggers in the workflow orchestrator.
  • Example usage: a completed PR planning skill triggers session-logger and code-reviewer automatically.

Quick Start

Add a hooks section in a triggering skill's front matter to specify the next skill and mode.

Frequently Asked Questions about auto-trigger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate skill workflow orchestration to cascade triggers without user prompts?

You automate skill workflow orchestration by defining automatic trigger relationships in YAML front matter, enabling after_complete and on_error flows to cascade to subsequent skills without user prompts.

How do I configure hooks to chain multiple skills together automatically?

You configure hooks to chain skills by adding a hooks section in a triggering skill's front matter to specify the next skill and mode, declaring after_complete, before_start, and on_error triggers.

What trigger modes are available for controlling when skill automation fires?

Available trigger modes for skill automation include auto, background, and ask_first, which control exactly when triggers fire within the workflow orchestrator during project-wide orchestration.

Do I need to invoke the automatic trigger configuration directly during a workflow?

No, the automatic trigger configuration is intended to be referenced by other skills rather than invoked directly, centralizing trigger relationships for the workflow orchestrator to read and apply.

What YAML front matter fields are required for consistent workflow integration?

Required YAML front matter fields for consistent workflow integration include name, description, allowed-tools, and hook definitions, ensuring proper integration with the workflow orchestrator.

Can I trigger a code reviewer and session logger automatically after a planning skill completes?

Yes, a completed PR planning skill can trigger session-logger and code-reviewer automatically by defining an after_complete hook in the skill's YAML front matter.