CLI that packages, installs, and manages Claude Code subagent personas and workflow knowledge assets.
Project description
agent-workflow-kit
A Python CLI that packages, installs, and manages Claude Code subagent personas and workflow knowledge assets. It is the opinionated workflow layer that sits on top of awesome-claude-hooks -- the two projects complement each other but remain independent.
Why
Setting up a Claude Code workflow system on a new machine means manually copying 12+ markdown files into the right directories, editing ~/.claude/CLAUDE.md to add @ references, and hoping you remember which version is current. agent-workflow-kit automates that entire lifecycle: install, update, customize, and uninstall -- with checksums, backups, and conflict detection.
Installation
pipx install agent-workflow-kit
Or with uv:
uv tool install agent-workflow-kit
Requires Python 3.12+.
Quick Start
# Install all assets into ~/.claude/
agent-kit install
# Check installation health
agent-kit doctor
# See what's available
agent-kit list
Commands
| Command | Description |
|---|---|
agent-kit install |
Copy agents, workflows, and guidelines to ~/.claude/, inject managed section into CLAUDE.md, save manifest |
agent-kit uninstall |
Remove managed files, CLAUDE.md section, and manifest |
agent-kit update |
Detect upstream changes, handle conflicts with user-modified files |
agent-kit status |
Show the current state of all managed files |
agent-kit list [category] |
List available assets (agents, workflows, guidelines, or all) |
agent-kit diff <file> |
Show diff between installed and bundled version of a file |
agent-kit doctor |
Validate installation health (directories, manifest, CLAUDE.md) |
Common Flags
agent-kit install --dry-run # Preview without making changes
agent-kit install --force # Overwrite existing files (creates backups)
agent-kit install --skip-claude-md # Install files without touching CLAUDE.md
agent-kit install --claude-home /path/to/dir # Override default ~/.claude/
agent-kit update --check-only # Report status without modifying
agent-kit update --force # Overwrite user-modified files
agent-kit uninstall --keep-files # Only remove manifest and CLAUDE.md section
Bundled Assets
Agents (installed to ~/.claude/agents/)
| Agent | Description |
|---|---|
| Ada | Pair programming agent -- TDD, architecture, mentoring |
| Norwood | Discovery and planning -- code archaeology, solution design, risk analysis |
| Eco | Research agent -- web search, documentation review, synthesis |
| Ive | UX design -- accessibility, interaction patterns, component specs |
| Shelly | Task generation and sprint planning -- story points, task breakdown |
| Zod | Technical review -- security, performance, maintainability audits |
Workflows (installed to ~/.claude/knowledge/workflows/)
| Workflow | Description |
|---|---|
| tasks-workflow | Task Workflow System -- structured task tracking in tasks/ directories |
| retro | Sprint retrospective process |
| project-initialization | New project setup with discovery, scaffolding, and task generation |
Guidelines (installed to ~/.claude/knowledge/)
| Guideline | Description |
|---|---|
| file-and-context-optimization | File size targets (100-500 lines), splitting strategies |
| tool-utilization | ReAct framework for tool calls |
| testing-strategy | TDD rules, testing pyramid, Red-Green-Refactor |
How It Works
Install Flow
- Creates target directories under
~/.claude/(agents, knowledge/workflows, etc.) - Copies each bundled markdown asset to its target location
- Injects a sentinel-bounded managed section into
~/.claude/CLAUDE.mdwith@references - Writes a manifest (
~/.claude/.workflow-kit/manifest.json) tracking installed files with SHA-256 checksums
Update Flow
- Reads the manifest to identify installed files
- Compares on-disk checksums against manifest (detects user modifications)
- Compares bundled assets against manifest (detects upstream changes)
- For each file, reports one of:
current,user modified,outdated,missing,conflict - Applies updates with backup, skipping user-modified files unless
--forceis used
CLAUDE.md Management
The kit uses HTML comment sentinels to manage its section:
<!-- agent-kit:begin -- managed by agent-workflow-kit, do not edit -->
## Agent Kit Agents
- Pair programming agent: @~/.claude/agents/Ada.md
...
## Agent Kit Workflows
...
## Agent Kit Guidelines
...
<!-- agent-kit:end -->
User content outside the sentinels is never touched. The section is cleanly removed on uninstall.
Development
This project uses just as a task runner and uv for package management.
Requirements
Setup
git clone https://github.com/mandelbro/agent-workflow-kit.git
cd agent-workflow-kit
uv sync --extra dev
Running locally
# Run via just
just run -- install --dry-run
# Or directly with uv
uv run agent-kit --help
Commands
# Run all checks (format, lint, typecheck, test)
just
# Individual commands
just test # uv run pytest
just lint # uv run ruff check --fix src/ tests/
just format # uv run ruff format src/ tests/
just typecheck # uv run pyright
just coverage # pytest --cov --cov-fail-under=80
Releasing
Releases are automated via release-please. On every push to main, release-please opens (or updates) a release PR with a changelog derived from Conventional Commits. Merging that PR triggers a GitHub Release and publishes to PyPI via trusted OIDC publishing.
To publish manually: Actions > Release > Run workflow with a git tag (e.g. v0.2.0).
Project Structure
src/claude_workflow_kit/
├── cli/
│ ├── app.py # Typer app entry point (7 commands)
│ ├── install.py # install / uninstall
│ ├── update.py # update / diff
│ └── status.py # status / list / doctor
├── core/
│ ├── config.py # Pydantic settings (CLAUDE_HOME, derived paths)
│ ├── manifest.py # Manifest read/write, SHA-256 checksums, file status
│ ├── file_ops.py # Atomic write, backup, copy, remove
│ ├── claude_md.py # Sentinel-based CLAUDE.md section management
│ └── registry.py # Asset registry mapping bundled files to targets
└── assets/ # 12 bundled markdown files
├── agents/ # 6 agent personas
├── workflows/ # 3 workflow definitions
├── guidelines/ # 2 guideline files
└── coding-principles/ # 1 coding principle
Configuration
The default install target is ~/.claude/. Override it with:
# Environment variable
export CLAUDE_HOME=/path/to/custom/dir
agent-kit install
# CLI flag (per command)
agent-kit install --claude-home /path/to/custom/dir
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_workflow_kit-0.2.1.tar.gz.
File metadata
- Download URL: agent_workflow_kit-0.2.1.tar.gz
- Upload date:
- Size: 69.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b6ac726530ec70792f2dbd1d250a32ceb866e9ff248d69d45e168e575a2c310
|
|
| MD5 |
8a6b5d13f29f8ac544bf5044dc2841bc
|
|
| BLAKE2b-256 |
222ae22c129911400126b0f3346a12ce3a59e32b66af418817dc11bb802c5a77
|
Provenance
The following attestation bundles were made for agent_workflow_kit-0.2.1.tar.gz:
Publisher:
release.yml on mandelbro/agent-workflow-kit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_workflow_kit-0.2.1.tar.gz -
Subject digest:
3b6ac726530ec70792f2dbd1d250a32ceb866e9ff248d69d45e168e575a2c310 - Sigstore transparency entry: 1202845495
- Sigstore integration time:
-
Permalink:
mandelbro/agent-workflow-kit@8604c5d6c7d34ec73d50870ea1466c6756b99828 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mandelbro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8604c5d6c7d34ec73d50870ea1466c6756b99828 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agent_workflow_kit-0.2.1-py3-none-any.whl.
File metadata
- Download URL: agent_workflow_kit-0.2.1-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ebfed4c31b800f488d012ad523c6c4939eb9ddff38f0f0d3e7a057a1cdb9960
|
|
| MD5 |
787b2dc0b6b003d2dcfb061f29a6b10d
|
|
| BLAKE2b-256 |
b7423abcf73b5a657c9158ee69d64ae5f98ae0ac2d2efe9c94e47840bec3a48f
|
Provenance
The following attestation bundles were made for agent_workflow_kit-0.2.1-py3-none-any.whl:
Publisher:
release.yml on mandelbro/agent-workflow-kit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_workflow_kit-0.2.1-py3-none-any.whl -
Subject digest:
4ebfed4c31b800f488d012ad523c6c4939eb9ddff38f0f0d3e7a057a1cdb9960 - Sigstore transparency entry: 1202845496
- Sigstore integration time:
-
Permalink:
mandelbro/agent-workflow-kit@8604c5d6c7d34ec73d50870ea1466c6756b99828 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mandelbro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8604c5d6c7d34ec73d50870ea1466c6756b99828 -
Trigger Event:
push
-
Statement type: