pack-draft

Generate community pack files and project overlays from observed agent failures.

25|7|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/xoai/sage --skill pack-draft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pack-draft
Source: https://github.com/xoai/sage/tree/main/skills/pack-draft
Command: npx skills add https://github.com/xoai/sage --skill pack-draft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of pack files, essential for defining and organizing AI agent behaviors and rules, by translating observations and processed data into structured formats.

Core Features & Use Cases

  • Community Pack Generation: Scaffolds and writes patterns, anti-patterns, constitution additions, and manifests for new community packs.
  • Project Overlay Creation: Generates overrides.md and minimal pack.yaml for project-specific pack adjustments.
  • Use Case: A developer needs to create a new skill pack to improve agent performance on a specific task. They use pack-draft to systematically translate observed agent failures into actionable patterns and rules, ensuring the new pack is well-documented and effective.

Quick Start

Use the pack-draft skill to generate a community pack named 'homepage-redesign'.

Frequently Asked Questions about pack-draft

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

FAQPage Schema
How do I generate AI agent pack files from observed failures?

You can generate AI agent pack files by translating observed agent failures and project context into structured patterns, anti-patterns, and configuration files using automated scaffolding and markdown generation.

What is the best way to create project-specific overlays for AI agent skills?

Creating project-specific overlays involves generating an overrides.md file and a minimal pack.yaml to apply targeted adjustments to existing AI agent skill behaviors without altering the core community pack.

How do I scaffold a new community pack for AI agent skill development?

Scaffolding a new community pack automates the creation of structured manifests, constitution additions, and markdown documentation to systematically define and organize new AI agent behaviors and rules.

Do I need bash scripting to create patterns and anti-patterns for AI agents?

Yes, bash scripting is required for scaffolding the pack file structure, while markdown generation is used to write the actual content for patterns, anti-patterns, and configuration files.

When do I need to draft pack files instead of manually writing agent configurations?

Drafting pack files is needed when you want to systematically translate processed observations into structured patterns and rules, ensuring new community packs or project overlays are well-documented and effective.