Sandbox
@alexei-led/cc-thingz

Portable agent bundle for Claude Code, Codex, Cursor, and Pi

cc-thingz packages reusable agent assets into target-specific bundles for Claude Code, Codex CLI, GitHub Copilot, Cursor, Grok, and Pi. The canonical content lives in `src/`, while `dist/` holds the generated outputs and compatibility wrappers for each platform.

35 stars5 forksPythonUpdated 6d ago
Who it's for

Builders who want one shared set of skills, hooks, and agent assets across several coding assistants.

What it delivers

You can install the same reusable workflows across your agents instead of recreating them per tool.

What it does

Multi-target packaging

Builds separate bundles for Claude Code, Codex CLI, Pi, Copilot, Cursor, and Grok from one source tree.

Portable skills and agents

Stores canonical skills and agent definitions under `src/skills/` and `src/agents/` for reuse across targets.

Hooks and Pi extensions

Includes typed hooks under `src/hooks/` and Pi-native extension assets under `src/plugins/pi/`.

Compatibility wrappers

Provides root marketplace files and Codex project-agent profiles so the package can be installed through different vendor paths.

Build and drift checks

Uses Agent Bundler commands like `make build` and `make check` to generate and verify the packaged outputs.

How to get it

  1. 1Compatibility manifests at the repository root preserve Git and local-path installation…
    claude plugin marketplace add alexei-led/cc-thingz
    codex plugin marketplace add alexei-led/cc-thingz
    copilot plugin marketplace add alexei-led/cc-thingz
    grok plugin marketplace add alexei-led/cc-thingz
    pi install git:github.com/alexei-led/cc-thingz
  2. 2The Pi archive is directly installable. Install pi-subagents separately only when using…
    pi install npm:pi-subagents -l
    pi install ./alexei-led-cc-thingz-pi.tgz -l
  3. 3For a local release rehearsal
    agbun build --root .
    agbun check --root .
    agbun package --root . --out /tmp/cc-thingz-release

README

cc-thingz — Coding Companion

CI License: MIT Targets Skills Agent Bundler

Portable skills, agents, hooks, and Pi-native extensions for Claude Code, Codex CLI, GitHub Copilot, Cursor, Grok, and Pi. Gemini is retired.

Build

Requires Agent Bundler with build, check, and package, plus support for per-agent sidecars, declared hook environments, Pi-native assets, and Codex project-agent profiles. Verify packaging support:

agbun package --help

Build and check the complete generated tree:

make build
make check

make build is a direct agbun build --root . invocation. make check runs the non-mutating agbun check --root . drift gate. Agent Bundler replaces the configured dist/ output tree during builds, so do not edit generated files.

Source layout

agentbundle.json                    # Agent Bundler manifest
src/
├── skills/<name>/SKILL.md          # canonical YAML-frontmatter skills
│   └── .agentbundler/targets/*.json # optional target overlays
├── agents/<name>.md                # canonical agent assets
├── .agentbundler/packages/*.json   # package membership and metadata
├── hooks/<name>/                   # typed Agent Bundler hooks
└── plugins/pi/<asset>/             # declarative Pi-native extension tree
    └── extensions/                 # Pi-native tools and compatibility runner

dist/<target>/<package>/             # generated Agent Bundler package roots
.claude-plugin/marketplace.json      # repository-root compatibility wrapper
.agents/plugins/marketplace.json     # repository-root compatibility wrapper
.codex/agents/*.toml                 # fixed-path Codex project-agent profiles
.github/plugin/marketplace.json      # repository-root compatibility wrapper
.cursor-plugin/marketplace.json      # repository-root compatibility wrapper
package.json#pi                      # merged Pi root compatibility manifest

Skills use Agent Bundler overlays for target-specific frontmatter, body, and support-file changes. Target-wide preambles are composition entries in agentbundle.json. Canonical source remains readable Markdown with YAML frontmatter; Agent Bundler emits normalized JSON frontmatter.

Package membership is defined by src/.agentbundler/packages/*.json. Each package lists exact skill and agent asset paths. Root marketplace files are routing wrappers only: their entries point into dist/<target> and contain no independent package trees. Do not edit dist/ or give the wrappers independent metadata.

Targets and output

TargetOutputPackage contract
Claude Codedist/claude/<package>/Marketplace packages, agents, and hooks
Codex CLIdist/codex/<package>/Plugin packages plus .codex/agents/*.toml profiles
Pidist/pi/Aggregate package, typed hooks, and native extensions
GitHub Copilotdist/copilot/<package>/Marketplace packages, agents, and hooks
Cursordist/cursor/<package>/Marketplace packages, agents, and supported hooks
Grok Builddist/grok/<package>/Marketplace packages, agents, and hooks
Gemini CLInoneRetired

Release packages

agbun package --root . --out DIR creates deterministic, target-native release archives:

  • alexei-led-cc-thingz-claude.tar.gz
  • alexei-led-cc-thingz-codex.tar.gz
  • alexei-led-cc-thingz-pi.tgz
  • alexei-led-cc-thingz-copilot.tar.gz
  • alexei-led-cc-thingz-cursor.tar.gz
  • alexei-led-cc-thingz-grok.tar.gz

The release workflow attaches all six files. Each archive expands directly to the native package or marketplace root shown above. The Codex archive also includes separate .codex/agents/*.toml profiles; they are not plugin contents. Installation and marketplace registration use the target vendor's CLI; Agent Bundler does not mutate user configuration or publish to a vendor registry.

Repository-root installation

Compatibility manifests at the repository root preserve Git and local-path installation while keeping dist/<target> canonical:

claude plugin marketplace add alexei-led/cc-thingz
codex plugin marketplace add alexei-led/cc-thingz
copilot plugin marketplace add alexei-led/cc-thingz
grok plugin marketplace add alexei-led/cc-thingz
pi install git:github.com/alexei-led/cc-thingz

Marketplace registration exposes the seven cc-thingz packages; install the required package IDs separately. Pi loads the aggregate package. Cursor uses the root .cursor-plugin/marketplace.json through Cursor Marketplace rather than a plugin-management CLI.

Grok reads the Claude root marketplace for compatibility. Use dist/grok for Grok-specific overlays because Claude and Grok share the same root marker and cannot both select different target paths from one manifest. Root .codex/agents mirrors the generated project-agent profiles for checkout use; marketplace plugin installation does not install those fixed-path profiles into an unrelated Codex project.

See Repository-root compatibility for local paths, verification, limitations, and migration details. Install npm:pi-subagents separately when using the packaged cc-thingz.* agents in Pi.

The Pi archive is directly installable. Install pi-subagents separately only when using the packaged cc-thingz.* agents:

pi install npm:pi-subagents -l
pi install ./alexei-led-cc-thingz-pi.tgz -l

For a local release rehearsal:

agbun build --root .
agbun check --root .
agbun package --root . --out /tmp/cc-thingz-release

The generated Pi package includes its typed hook adapter, native ask_user_question and todo tools, plus hook-runner, permission-gate, and plan-mode. Its compatibility config contains only Pi-specific revdiff plan review and notifications, so portable Agent Bundler hooks do not run twice.

The package command, flat per-agent sidecars, safe Pi hook environments, native extension assets, and Codex project-agent profiles require a compatible installed Agent Bundler pinned in .agentbundler-version.

Installation diagnostics

Use the installation-doctor skill from the installed discovery plugin to inspect cached plugins without changing configuration or cloning this repository. The checkout also retains make doctor. See doctor usage and migration and runtime defaults before upgrading older installations.

Target differences and gaps

See Agent Bundler port status for target-specific behavior, runtime validation, and upstream/vendor boundaries. Do not recreate a custom compiler or post-process dist/.

Development checks

make lint
make validate
make build
make check
make test
make test-ts
make ci
agbun package --root . --out /tmp/cc-thingz-release

make validate checks Agent Bundler availability, source genericity, and executable source scripts. make test verifies source/release helpers, hook manifests, target inventories, agent envelopes, version consistency, archives, and Pi decision-hook protocol output. make test-ts covers Pi-native extension and compatibility-runner behavior.

Contributing

Read CONTRIBUTING.md. Keep canonical content under src/, package configuration in agentbundle.json and src/.agentbundler/packages/, and generated output under dist/.

License

MIT

Files in the repo

Repository payload31 top-level entries
  • .agents
  • .claude
  • .claude-plugin
  • .codex
  • .cursor-plugin
  • .github
  • dist
  • docs
  • scripts
  • src
  • tests
  • .agentbundler-version
  • .gitattributes
  • .gitignore
  • .gitleaks.toml
  • .markdownlint.yaml
  • .node-version
  • .shellcheckrc
  • agentbundle.json
  • AGENTS.md
  • bun.lock
  • CHANGELOG.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • LICENSE
  • Makefile
  • package.json
  • pyproject.toml
  • README.md
  • tsconfig.json
  • uv.lock

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More plugins

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

138k
1 add

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

82k
code-yeongyu/
oh-my-openagent

OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.

69k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

94k

Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns

4.3k