session-init

Bootstrap an agent session by reading project metadata and generating a briefing.

3|3|Updated Aug 19, 2024
One-click install
npx skills add https://github.com/AMDResearch/dh_comms --skill session-init-amdresearch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-init
Source: https://github.com/AMDResearch/dh_comms/tree/main/.agents/skills/session-init
Command: npx skills add https://github.com/AMDResearch/dh_comms --skill session-init-amdresearch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bootstrap a new agent session to kick off conversations with minimal context by reading project metadata, identifying active workflows, detecting prior aborted sessions, and producing a concise briefing for immediate action.

Core Features & Use Cases

  • Canonical session entry point: reads project metadata and policies, identifies current focus and active workflows, ensures prerequisites are in place, and generates a briefing that minimizes context loading.
  • Recovery-aware orchestration: checks for prior aborted sessions, uncommitted changes, and stale handoffs, providing guidance to recover and resume work safely.
  • Structured handoff preparation: prepares necessary context and sequencing so the agent can begin work with minimal setup on the next turn.

Quick Start

Instruct the agent to run the command start session to bootstrap the session and obtain a concise briefing.

Frequently Asked Questions about session-init

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

FAQPage Schema
How do I bootstrap an agent session with minimal context loading?

To bootstrap an agent session, instruct the agent to run the start session command. This reads project metadata, detects active workflows, and generates a concise briefing to kick off conversations with minimal context loading.

What is session initialization and recovery-aware orchestration for agents?

Session initialization is the canonical entry point that checks for prior aborted sessions, uncommitted changes, and stale handoffs. Recovery-aware orchestration provides guidance to safely recover and resume work before starting new tasks.

How do I prepare a structured handoff for an agent workflow?

Preparing a structured handoff involves reading project policies and sequencing necessary context. The session initialization process prepares this context so the agent can begin work with minimal setup on the next turn.

What files are required to initialize an agent session?

Initializing an agent session verifies the presence of essential files including .agents/project.json, .agents/state/current-focus.md, and .agents/state/active-workflows.md. It surfaces inconsistencies if these prerequisites are missing.

When should I run a pre-session check for my agent?

Run a pre-session check at the start of conversations or when requesting initialization. It applies policy ingestion, verifies essential files, detects aborted sessions, and creates a session-active marker upon start.