Skip to main content

CLI tool for generating CLAUDE.md/AGENTS.md from agentpack.yml

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

agent-container-pack (acp)

CLI tool that generates CLAUDE.md/AGENTS.md and MCP configurations from a single agentpack.yml manifest.

Why acp?

Claude Code and Codex CLI have different configuration formats. acp uses a single YAML manifest (agentpack.yml) as the source of truth, generating the appropriate files for each tool:

  • CLAUDE.md / AGENTS.md - Project instructions
  • .claude/settings.json - Claude Code MCP configuration
  • codex.config.toml - Codex CLI MCP configuration

Installation

# With uv (recommended)
uvx acp --help

# Or install globally
uv tool install agent-container-pack

# Or with pip
pip install agent-container-pack

Usage

New Project

# 1. Initialize project (creates .devcontainer/ and agentpack.yml)
cd my-project
acp init

# 2. Edit agentpack.yml (project name, MCP servers, etc.)
vim agentpack.yml

# 3. Generate configuration files
acp generate --write

Existing Project

# 1. Create agentpack.yml manually or via init
acp init

# 2. Edit agentpack.yml to match your project
vim agentpack.yml

# 3. Generate
acp generate --write

Team Workflow

# Team members clone the repo and run:
git clone <repo>
cd <repo>
acp generate --write
# → Ready to use Claude Code / Codex CLI

Workflow Diagram

acp init          # Run once
       ↓
agentpack.yml           # Edit this file (single source of truth)
       ↓
acp generate      # Run after each yml change
       ↓
CLAUDE.md, AGENTS.md    # Auto-generated (don't edit manually)
.claude/settings.json
codex.config.toml

Commands

acp init

Initialize a new agentpack project with devcontainer and manifest skeleton.

acp init [directory] [--template <source>] [--stack <id>] [--force]
Option Description Default
directory Target directory .
--template Template source github:ryoooo/acp-template-default
--stack Stack to use (python, node, etc.) python
--force Overwrite existing files false

acp generate

Generate configuration files from agentpack.yml.

acp generate [--write] [--directory <path>]
Option Description Default
--write Write files to disk (otherwise dry-run) false
--directory Project directory .

Manifest Format

Create an agentpack.yml in your project root:

version: "1"

project:
  name: "my-project"
  description: "Project description"

stack: python

stacks:
  python:
    detect:
      any: ["pyproject.toml", "requirements.txt"]
    deps: "uv sync"
    lint: "uv run ruff check ."
    typecheck: "uv run ty check"
    test: "uv run pytest"
    run: "uv run python main.py"

mcp:
  servers:
    Ref:
      transport: http
      url: "https://api.ref.tools/mcp"
      env:
        X_REF_API_KEY: "${env:X_REF_API_KEY}"

workflows:
  - name: "Development Flow"
    steps:
      - "uv run ruff format . && uv run ruff check ."
      - "uv run pytest"

pre_commit: ["prettier", "ruff", "ty"]

safety:
  preset: default

See docs/plans/2026-01-02-agentpack-v0.1-design.md for full manifest specification.

Generated Files

File Purpose
CLAUDE.md Claude Code project instructions
AGENTS.md Codex CLI project instructions (same content)
.claude/settings.json Claude Code MCP server configuration
codex.config.toml Codex CLI MCP server configuration

Development

# Install dependencies
uv sync

# Run tests
uv run pytest

# Lint and format
uv run ruff format .
uv run ruff check .

# Type check
uv run ty check

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_container_pack-0.1.0.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_container_pack-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file agent_container_pack-0.1.0.tar.gz.

File metadata

  • Download URL: agent_container_pack-0.1.0.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_container_pack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7771999aa543b211c730befc2b340e60c260c81aad95ff251786eda1f5ce39d1
MD5 f9909bd615369252a0dae01af099f19c
BLAKE2b-256 9073c8dc323450ba59736a15c993595568a9982a76fd7d7d65aa6cba7d447394

See more details on using hashes here.

File details

Details for the file agent_container_pack-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agent_container_pack-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_container_pack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cde4272b1a7199f72d7a12810b5a558f88641c788e042da4cd5a78929dfc272b
MD5 3f0cc532dd5eb4b10e5301a225be1002
BLAKE2b-256 838a4fc0eaf93fb3687143afebad5256bde48eda49dbc0376183ac7b4f27ba85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page