Skip to main content

Project skill plus global CLI for multi-AI collaborative work logging.

Project description

ai-collab-blackbox

🇨🇳 中文说明 (Chinese Version)

A1 Coder team's collaborative blackbox protocol for AI work handoff.

This repo ships in two layers:

  • a normal project skill folder for AI agents
  • an optional global command that can deploy that skill into any target project and run the built-in logging programs

ai-collab-blackbox is not just a document. It includes an actual program layer that validates AI-provided JSON records and writes structured work logs into the project.


What It Is

When multiple AI agents work on the same codebase, each round should leave behind a clean, machine-readable handoff record.

This project provides exactly that:

  • append-only work history
  • per-AI logs
  • a global timeline
  • a normal skill folder AI can read inside the project
  • script utilities that write the final files safely

Deployment Model

1. Normal skill in the project

The actual skill still lives as a normal folder inside the project:

<project>/.agents/skills/ai-collab-blackbox/

That folder contains:

  • SKILL.md
  • SKILL_zh.md
  • references/
  • scripts/

This is the part AI reads and uses in-project.

2. Optional global command

If you install the package globally, you get:

ai-blackbox

That command can:

  • deploy the skill folder into any target project
  • show the bundled skill content
  • run the program functions directly:
    • write
    • validate
    • render

So the final model is:

  • project-local skill
  • global helper command

Install

Option A: Use as a normal skill only

Copy this directory directly into the target project:

cp -r ai-collab-blackbox/. <project>/.agents/skills/ai-collab-blackbox/

Option B: Install the global helper command

From source:

pip install .

Or from a packaged release zip/wheel:

pip install ai-collab-blackbox.zip

Global Command Usage

Deploy the skill into any project

ai-blackbox init --project-root /path/to/project

This creates:

/path/to/project/.agents/skills/ai-collab-blackbox/

Query where the skill would be installed

ai-blackbox where --project-root /path/to/project

Show command info

ai-blackbox info

Show the bundled skill text

ai-blackbox show-skill --lang zh
ai-blackbox show-skill --lang en

Program Capabilities

This repo includes real executable logic, not just skill docs.

Write worklog files

ai-blackbox write --project-root /path/to/project --file record.json

Validate a JSON / JSONL record

ai-blackbox validate record.jsonl

Render a readable block log

ai-blackbox render .ai/claude_opus_4/worklog.jsonl

Files Written

For each AI, the protocol writes:

.ai/
├── <AI_ID>/
│   ├── worklog.md
│   └── worklog.jsonl
└── all_time.jsonl

Why This Shape

A normal skill alone is readable by AI, but it cannot install itself globally. A pure CLI alone can run commands, but it is not a normal in-project skill.

So this repo keeps both:

  • the skill directory for AI usage
  • the global CLI for deployment and direct program execution

This is the cleanest way to support both workflows.


Non-Goals

This project does not:

  • parse IDE history automatically
  • generate git diffs automatically
  • replace git
  • invent AI identifiers on its own

License

MIT-0


Author

@icestomr012002

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

ai_collab_blackbox-1.1.0.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

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

ai_collab_blackbox-1.1.0-py3-none-any.whl (35.0 kB view details)

Uploaded Python 3

File details

Details for the file ai_collab_blackbox-1.1.0.tar.gz.

File metadata

  • Download URL: ai_collab_blackbox-1.1.0.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for ai_collab_blackbox-1.1.0.tar.gz
Algorithm Hash digest
SHA256 415c35c6cb76959557dac584133c9552ee555fd70a07c678a092898a2f05cc71
MD5 ee6399067ec8dde138c7edc531fa1081
BLAKE2b-256 2a912141990333bdbf03851604099efc7ba17ac39c63ea903aef3f2aeda252ed

See more details on using hashes here.

File details

Details for the file ai_collab_blackbox-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_collab_blackbox-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45b4c936a099e18df4d26b19b529e771071c5a4157b7278d67a434b7ca999be9
MD5 569bad71fe683c456e0d7e31aa479235
BLAKE2b-256 e1449915a78a08a6dfb2b592fc50f8bd381737c711c7499bac00813083841bdf

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