openclawclaude-codev1.0.0
Portable Agent Kit
@cdrguru⭐ 1 stars· last commit 1mo ago· 0 open issues
Portable Agent Kit — reusable Claude Code initialization skill for consistent project scaffolding.
7.9/10
Verified
Mar 9, 2026// RATINGS
🟢ProSkills ScoreAI Verified
7.9/10📍
Not yet listed on ClawHub or SkillsMP
// README
# Portable Agent Collaboration Kit (PACK)
> **A zero-dependency framework for multi-agent AI collaboration and strategic project alignment.**
[](https://opensource.org/licenses/MIT)
[](https://www.python.org/downloads/)
[](#requirements)
---
## Why This Kit?
Modern AI-assisted development involving multiple agents (planners, coders, reviewers, auditors) requires more than just code; it requires **strategic orchestration**. Without clear coordination:
- Agents overwrite each other's work
- Context "drifts" from the original requirements
- Handoffs are unclear and messy
- Environmental friction (Node versions, script paths) blocks progress
**PACK solves these problems** with a dual-layer framework: an **Operational Layer** (`.agent/`) for day-to-day work, and a **Strategic Layer** (`.pde/`) for maintaining project integrity.
---
## Features
| Feature | Description |
|---------|-------------|
| **Model-Agnostic** | Works with Claude, GPT, Gemini, local LLMs, or any AI |
| **PDE Strategy Engine** | Keep your project aligned with its "North Star" (`.pde/`) |
| **Agentic Auditing** | Optional Gemini-powered architecture and plan reviewer |
| **Skill System** | Repeatable playbooks (bootstrap, logs, gemini-audit) |
| **Unified Setup** | One command to bootstrap any repository |
| **Zero Dependencies** | Pure Python stdlib - no pip install needed |
| **ASCII-Only** | Maximum compatibility across systems and editors |
| **Append-Only Logs** | Preserve collaboration history, never lose context |
---
## Quick Start
### 1. Install & Deploy
```bash
python3 deploy_agent_kit.py --dest /path/to/your/repo
```
### 2. Unified Initialization
For a fresh repository, run the all-in-one setup:
```bash
./.agent/tools/bin/pack-init.sh
```
### 3. Start Collaborating
1. Set your project name: `export PROJECT_NAME="my-project"`
2. Edit `.agent/AGENTS.md` to define your agent roles.
---
## The Dual-Layer Architecture
### Layer 1: Operational (`.agent/`)
The **Operational Layer** handles asynchronous coordination between agents.
- **`AGENTS.md`**: Roster of roles (Builder, Planner, Auditor).
- **`HANDOFF.md`**: Current state of the active session.
- **`skills/`**: Reusable workflows (e.g., `gemini-audit`).
### Layer 2: Strategic (`.pde/`)
The **PACK Development Engine (PDE)** provides structural maintenance for the kit itself.
- **`MANIFEST.md`**: The project's North Star and quarterly objectives.
- **`friction_log.md`**: Tracking and resolving workflow pain points.
- **`roadmap.md`**: Strategic evolution of the collaboration model.
---
## What's Included
```text
.
+-- .agent/ # Operational coordination
| +-- AGENTS.md # Agent roster and rules
| +-- skills/ # Repeatable workflows
| +-- ai/ # Persona profiles & protocols
| +-- tools/
| +-- bin/
| +-- pack-init.sh # Unified setup script
| +-- audit_task.sh # Headless auditor
+-- .pde/ # Strategic alignment (maintainers)
| +-- MANIFEST.md # The North Star
| +-- state/ # friction_log, roadmap
+-- deploy_agent_kit.py # Installer script
+-- lmstudio_mcp.py # Generated by setup_offline_ai.py (not in repo)
+-- templates/
| +-- parallel-cloud-tasks-kit/ # Portable cloud task batch workflow
| +-- iterative-dev-protocol.md # Orchestrated batch-iterate-merge cycle
| +-- prompt-attribution-protocol.md # Prompt origin tracking template
```
---
## Templates
Reusable add-ons you can copy into any repo:
- `templates/parallel-cloud-tasks-kit/` — generate 5 disjoint cloud tasks, review, and merge them safely.
- See `templates/parallel-cloud-tasks-kit/README.md` for full instructions.
- `templates/iterative-dev-protocol.md` — orchestrated Generate/Execute/Merge/Archive cycle for continuous parallel batch development. Wraps the parallel cloud tasks pattern into a repeatable state machine.
- `templates/prompt-attribution-protocol.md` — reusable template for adding the Prompt Attribution & Clarification Protocol to any repo's agent instructions file.
### Parallel Cloud Tasks — Quick Use
```bash
# From this repo, copy the kit into your target repo
cp -R templates/parallel-cloud-tasks-kit /path/to/your/repo/
# In the target repo, open SCANNER_PROMPT.md and edit the CONFIG block:
# - PROJECT_NAME, SOURCE_DIRS, TEST_COMMAND, BASE_BRANCH, etc.
```
Run the workflow (in the target repo):
1. Paste `SCANNER_PROMPT.md` into Local Claude Code to generate `cloud_tasks/`
2. Open 5 Cloud sessions and paste `cloud_tasks/task_N.md` into each
3. Paste `MERGE_PROTOCOL.md` into Local Claude Code to review/merge
Compatibility:
- Requires a git repo
- Merge protocol assumes GitHub + `gh` CLI (adjust if using another host)
### Iterative Dev Protocol — Quick Use
The iterative protocol adds a repeatable cycle on top of parallel cloud tasks:
1. **Generate** — scan for the next batch of disjoint tasks
2. **Execute** — spawn parallel cloud sessions
3. **Merge** — review, test, and squash-merge each PR
4. **Archive** — preserve batch history and loop
```bash
# Copy the template into your orchestrator session
cat templates/iterative-dev-protocol.md
# Fill in the variables: ${ProjectName}, ${BatchSize}, ${TestCommand}, ${TaskPriority}
# Paste into your orchestrating agent to start the cycle
```
The protocol includes a state machine for resuming mid-cycle and guardrails for task isolation.
---
## Usage Highlights
### Recording a Handoff
```bash
python3 .agent/tools/utilities/update_agent_conversation_log.py \
--agent builder \
--summary "Implemented login feature" \
--handoff reviewer
```
### Context-Aware Offline AI
If using **LM Studio**, the `lmstudio_mcp.py` bridge includes a **`get_pack_context`** tool, allowing local models to "reach into" the `.agent` folder to read the current task and handoff state automatically.
---
## Requirements
- **Python 3.8+** (uses only standard library)
- **Node.js v20+** (required for Gemini CLI integration)
- **Any AI Model**: Claude, GPT, Gemini, Codex, or local LLMs
---
## License
MIT License - see [LICENSE](LICENSE) details.
---
**Stop losing context. Start collaborating.**
// REPO STATS
1 stars
0 open issues
Last commit: 1mo ago
// SHARE
// SOURCE
View on GitHub// PROSKILLS SCORE
7.9/10
Good
BREAKDOWN
Code Quality7.5/10
Documentation8.5/10
Functionality8/10
Maintenance7.5/10
Security7.5/10
Uniqueness7.5/10
Usefulness8.5/10