session-lifecycle-automation

Automate session lifecycle hooks, maintenance agents, and commission directories for a workspace.

2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/DojoGenesis/gateway --skill session-lifecycle-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-lifecycle-automation
Source: https://github.com/DojoGenesis/gateway/tree/main/plugins/wisdom-garden/skills/session-lifecycle-automation
Command: npx skills add https://github.com/DojoGenesis/gateway --skill session-lifecycle-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sessions often close without preserving decisions, surprises, and open questions, leading to knowledge loss, re‑learning, and reduced productivity for solo operators.

Core Features & Use Cases

  • Audit the current automation state of a workspace, detecting existing hooks, scheduled tasks, and commission directories.
  • Configure session bookend hooks, schedule background maintenance agents, and set up a commission directory for fire‑and‑forget delegation.
  • Use Case: A developer onboarding a new project can run this skill to automatically establish all automation loops, preventing the 44% zero‑artifact session leak.

Quick Start

Configure session lifecycle automation for the workspace at /path/to/workspace.

Frequently Asked Questions about session-lifecycle-automation

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

FAQPage Schema
How do I automate session lifecycle hooks to preserve workspace decisions?

Automate session lifecycle hooks by configuring bookend scripts that capture decisions and open questions when sessions close. This skill modifies workspace settings to prevent the 44% zero-artifact session leak, preserving knowledge without manual intervention for solo operators.

What are session lifecycle hooks and when do I need them?

Session lifecycle hooks are automated triggers that run at session start and end to preserve artifacts like decisions and open questions. You need them when sessions frequently close without saving context, causing knowledge loss and re-learning in solo operator development workspaces.

How do I set up background maintenance agents and a commission directory?

Set up background maintenance agents and commission directories by running this skill against your workspace path. It schedules automated maintenance tasks and creates a fire-and-forget delegation directory, enabling solo operators to queue background work without interrupting active development sessions.

Can I use session automation hooks with my existing ~/.claude/settings.json?

Yes, session automation hooks integrate by modifying your existing ~/.claude/settings.json file. The skill requires filesystem access to read current automation state, update settings, schedule cron tasks, and create commission directories within the workspace.

What's the best way to audit existing workspace automation before adding hooks?

Audit existing workspace automation by running this skill's audit function, which detects current hooks, scheduled tasks, and commission directories. This identifies what automation loops already exist before configuring new session bookend hooks, preventing duplicate or conflicting configurations.

Why do my development sessions lose context and decisions without manual maintenance?

Sessions lose context because without lifecycle hooks, decisions and open questions are not automatically preserved when sessions close. This creates a 44% zero-artifact session leak rate, forcing solo operators to re-learn project state and reducing overall productivity.