Skip to main content

cc-hub

The home directory for coding agents launched by cc-connect.

A chat-driven agent has three parts: the chat (a bot on Feishu, WeChat, Telegram and others), the bridge that connects the chat to your machine (cc-connect), and a local directory the agent lives in. cc-hub is that directory, the hub: the agent's persona, what it knows about you, its memory, its operating instructions and its skills, plus a small CLI that seeds, checks and upgrades them. It plays the role of an OpenClaw workspace.

The hub is agent-agnostic. It ships no Claude- or Codex-specific files; on first run the agent creates the pointers its own ecosystem needs (hub-adapt).

Quick start

uv tool install cc-hub
cc-hub init                     # creates ~/.cc-hub
cc-hub doctor

Install from a regular terminal; on Windows not from a shell inside the Claude desktop app (see docs/install.md).

Point cc-connect at the hub (work_dir = "/home/you/.cc-hub", see docs/cc-connect.md) and send the first message. The agent follows BOOTSTRAP.md: adapts to its runtime, gets a name, learns how to address you, registers its scheduled tasks, and deletes the bootstrap file.

Commands

Command Purpose
cc-hub init [dir] Seed a hub. Existing files are never overwritten.
cc-hub doctor [--fix] [--json] Health checks: required files, memory budgets, pointers.
cc-hub update [--dry-run] Refresh framework-owned files; user files untouched; backups kept.
cc-hub memory log|search|recent Daily logs and long-term memory.
cc-hub link <skills-dir> Link every hub skill into an agent's skills directory.
cc-hub where Print the hub directory and the package location.
cc-hub version Print the cc-hub version.

Hub layout

~/.cc-hub/
├── AGENTS.md  AGENTS.local.md  BOOTSTRAP.md      instructions
├── SOUL.md  IDENTITY.md  USER.md                 persona and user
├── MEMORY.md  memory/YYYY-MM-DD.md               memory
├── skills/  cron/  scripts/                      skills, scheduled prompts, your scripts
└── hub.toml                                      configuration

cc-hub update replaces only framework-owned files: AGENTS.md above its closing marker, BOOTSTRAP.md, skills/hub-*, cron/README.md, cron/memory-consolidate.md and .gitignore. Everything else is yours, including whatever you or cc-connect add below the closing marker of AGENTS.md.

Documentation

中文说明见 README.zh-CN.md。

License

MIT

Metadata

Release files for cc-hub 0.3.1

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

Source distribution (sdist)

Source distribution for cc-hub 0.3.1
File Size Uploaded Provenance Actions
cc_hub-0.3.1.tar.gz 52.7 kB With provenance Details for cc_hub-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cc-hub 0.3.1
File Interpreter ABI Platform Actions
cc_hub-0.3.1-py3-none-any.whl Python 3 none any Details for cc_hub-0.3.1-py3-none-any.whl

Total release size: 81.6 kB

Release files / cc_hub-0.3.1.tar.gz

Download URL cc_hub-0.3.1.tar.gz
Size 52.7 kB
Tags Source
SHA-256 checksum
How to use checksums
baf807dd06ff61b10fbe4f52950a2644f089f534d4e382b4a17249a839b6512f
BLAKE2b-256 checksum
How to use checksums
63f51c5b37c0b2341798288dc35c5d562990a149d70dbf7ceea9d60b38e15491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / cc_hub-0.3.1-py3-none-any.whl

Download URL cc_hub-0.3.1-py3-none-any.whl
Size 28.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a688b3ba21e8bd22a58f69c208b1ec8b03b6fa14baed8b8a91411115a1d32ae
BLAKE2b-256 checksum
How to use checksums
b8bd28077cdefe11fa42d8d98b45c93732c54a40f30151cc8a8de11dfce86ed9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Security for cc-hub 0.3.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cc_hub-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

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.

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