combined

Configure MCP server connectivity and session lifecycle hooks via YAML frontmatter.

182|8|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/compozy/agh --skill combined
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: combined
Source: https://github.com/compozy/agh/tree/main/internal/skills/testdata/loader/combined
Command: npx skills add https://github.com/compozy/agh --skill combined

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you configure an agent runtime by bundling MCP server connectivity and lifecycle hook automation into a single, reusable definition.

Core Features & Use Cases

  • MCP server wiring: Connects and configures MCP servers (e.g., a Git MCP server) with the required command, args, and environment.
  • Lifecycle hooks: Runs deterministic commands when specific session events occur (e.g., when a session stops) to perform cleanup or logging.
  • Use Case: When running developer-agent sessions through AGH, automatically start an MCP-backed Git capability and ensure a consistent stop-time cleanup action runs after each session ends.

Quick Start

Use this skill to register an MCP server and a session.post_stop hook so agent sessions automatically publish capabilities and execute the cleanup step when they stop.

Frequently Asked Questions about combined

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

FAQPage Schema
How do I configure an MCP server for an agent runtime?

To configure an MCP server for an agent runtime, you define the server's name, command, arguments, and environment variables within a YAML frontmatter block. This bundles connectivity so the agent can access external tools.

How do I run cleanup commands when an agent session stops?

You run cleanup commands when an agent session stops by defining lifecycle hooks in your YAML frontmatter. You specify a session event, the command to execute, arguments, timeout, and environment variables for deterministic execution.

What are lifecycle hooks in an agent runtime?

Lifecycle hooks in an agent runtime are deterministic, event-driven actions that execute when specific session events occur. They are configured via YAML to perform tasks like cleanup or logging upon session termination.

Can I bundle MCP server configuration and session lifecycle hooks together?

Yes, you can bundle MCP server connectivity and lifecycle hook automation together into a single, reusable YAML definition. This allows you to wire external tool access and cleanup actions in one configuration.

What do I need to define when wiring a Git MCP server?

When wiring a Git MCP server, you need to define the server name, the startup command, arguments, and environment placeholders in YAML frontmatter. This registers the capability for the agent session.