
Auto Trigger
- 644 installs
- 65 repo stars
- Updated June 21, 2026
- charon-fan/agent-playbook
auto-trigger is a configuration skill that defines automatic hook relationships between agent-playbook skills so developers who orchestrate multi-skill agent workflows get follow-up actions without manual prompting.
About
auto-trigger is a configuration skill in the charon-fan/agent-playbook collection that declares automatic trigger relationships between skills via YAML front-matter hooks. It is not invoked directly; workflow-orchestrator reads these hook definitions and executes follow-up skills such as session-logger when a parent skill completes. Developers reach for auto-trigger when building repeatable agent workflows where one skill should always chain into logging, validation, or cleanup steps. Example hooks use after_complete with mode auto to fire downstream skills without extra user input.
- Defines automatic trigger relationships between skills via YAML hooks
- Supports after_complete, prd_complete, prd_implemented and implementation_complete events
- Triggers can run in auto, background or conditional modes
- Central configuration skill referenced by workflow-orchestrator
- Prevents context loss between sequential agent tasks
Auto Trigger by the numbers
- 644 all-time installs (skills.sh)
- Ranked #373 of 2,742 Automation & Workflows skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/charon-fan/agent-playbook --skill auto-triggerAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 644 |
|---|---|
| repo stars | ★ 65 |
| Security audit | 2 / 3 scanners passed |
| Last updated | June 21, 2026 |
| Repository | charon-fan/agent-playbook ↗ |
How do you auto-chain agent skills after completion?
Automatically chain skills together so the right follow-up action runs without manual prompting.
Who is it for?
Developers building agent-playbook workflows who need deterministic skill-to-skill chaining without manual re-prompting.
Skip if: Developers who invoke skills one-off without orchestration or who do not use the agent-playbook workflow-orchestrator.
When should I use this skill?
User is configuring agent-playbook skill hooks, chaining post-completion actions, or wiring workflow-orchestrator automation.
What you get
Hook definitions in skill front matter, orchestrated multi-skill execution chains, and automated follow-up skill invocations.
- hook definitions
- automated skill chains
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_submissionSession Management
session_start:
auto_triggers:
- skill: session-logger
action: create_session_file
session_end:
auto_triggers:
- skill: session-logger
action: update_session_fileHook Format in Skills
To add auto-trigger capability to a skill, add to its front matter:
---
name: my-skill
description: Skill description
allowed-tools: Read, Write, Edit
hooks:
before_start:
- trigger: session-logger
mode: auto
context: "Start {skill_name}"
after_complete:
- trigger: self-improving-agent
mode: background
- trigger: session-logger
mode: auto
on_error:
- trigger: self-improving-agent
mode: background
---Implementation Guide
When a skill completes its workflow:
1. Check `hooks` in its own front matter (before_start, after_complete, on_error, on_progress) 2. For each hook:
- If
mode: auto, record or run a low-risk follow-up only when the host runtime supports it - If
mode: background, record a non-blocking follow-up; do not mutate durable files silently - If
mode: ask_first, ask user before triggering - If
condition:exists, check it first
3. Pass context to the triggered skill
Example Integration
prd-planner should add:
---
name: prd-planner
description: Creates PRDs using persistent file-based planning...
allowed-tools: Read, Write, Edit, Bash, Grep, Glob, AskUserQuestion, WebSearch
hooks:
after_complete:
- trigger: self-improving-agent
mode: background
context: "PRD created at {prd_file}"
- trigger: session-logger
mode: auto
context: "PRD creation complete"
---self-improving-agent already has:
---
name: self-improving-agent
description: Universal self-improvement that learns from all skill experiences...
allowed-tools: Read, Write,Edit, Bash, Grep, Glob, WebSearch
hooks:
after_complete:
- trigger: create-pr
mode: ask_first
condition: skills_modified
- trigger: session-logger
mode: auto
context: "Self-improvement cycle complete"
on_error:
- trigger: self-improving-agent
mode: background
---create-pr should add:
---
name: create-pr
description: Creates pull requests with bilingual documentation updates...
allowed-tools: Read, Write, Edit, Bash, Grep, AskUserQuestion
hooks:
after_complete:
- trigger: session-logger
mode: auto
context: "PR created: {pr_title}"
---Chain Visualization
┌──────────────┐
│ prd-planner │
└──────┬───────┘
│ after_complete
├──→ self-improving-agent (background)
│ └──→ create-pr (ask_first)
│ └──→ session-logger (auto)
└──→ session-logger (auto)Error Correction Chain
on_error:
triggers:
- skill: self-improving-agent
mode: background
context: "Error occurred in {skill_name}"
- skill: session-logger
mode: auto
context: "Error captured for {skill_name}"Important Rules
1. Don't create infinite loops - Ensure chains terminate 2. Ask before major actions - Use mode: ask_first for PRs, deployments, and durable file changes 3. Background tasks - Use mode: background for non-blocking analysis or proposal artifacts 4. Pass context - Always include relevant context to triggered skills
Auto-Trigger
Configuration skill that documents follow-up hook metadata between skills.
Installation
This skill is part of the agent-playbook collection.
Usage
This is a configuration skill and is not intended for direct invocation.
Typical usage is through workflow-orchestrator, which reads the hook definitions from this skill and records or runs supported follow-up actions.
Example
# In another skill's front matter
hooks:
after_complete:
- trigger: session-logger
mode: autoRelated skills
How it compares
Pick auto-trigger over ad-hoc reprompting when you need declarative, reusable skill chains inside agent-playbook orchestration.
FAQ
Should I invoke auto-trigger directly?
auto-trigger is a configuration skill in agent-playbook and is not intended for direct invocation. workflow-orchestrator reads hook definitions from auto-trigger and executes follow-up skills when parent skills complete.
How do auto-trigger hooks look in practice?
auto-trigger hooks live in another skill's YAML front matter under after_complete, listing a trigger skill name and mode auto. workflow-orchestrator reads that definition and runs the follow-up skill without manual prompting.
Is Auto Trigger safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.