Skip to main content

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

Metadata

Release files for ai-collab-blackbox 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-collab-blackbox 1.1.0
File Size Uploaded Provenance
ai_collab_blackbox-1.1.0.tar.gz 27.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-collab-blackbox 1.1.0
File Interpreter ABI Platform
ai_collab_blackbox-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 62.2 kB

Release files / ai_collab_blackbox-1.1.0.tar.gz

Download URL ai_collab_blackbox-1.1.0.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
415c35c6cb76959557dac584133c9552ee555fd70a07c678a092898a2f05cc71
BLAKE2b-256 checksum
How to use checksums
2a912141990333bdbf03851604099efc7ba17ac39c63ea903aef3f2aeda252ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / ai_collab_blackbox-1.1.0-py3-none-any.whl

Download URL ai_collab_blackbox-1.1.0-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45b4c936a099e18df4d26b19b529e771071c5a4157b7278d67a434b7ca999be9
BLAKE2b-256 checksum
How to use checksums
e1449915a78a08a6dfb2b592fc50f8bd381737c711c7499bac00813083841bdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for ai-collab-blackbox 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page