Skip to content

About

Codex adaptations of selected cc-thingz plugins with reviewed upstream imports

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AI Thingz for Codex

Codex adaptations of selected plugins from umputun/cc-thingz. Each plugin has its own version and can be installed separately. This repository maintains the Codex workflows. The imported Claude workflows remain reference material.

Install release-tools

Requires a Codex version with codex plugin support, Python 3.9 or later, Bash, Git and jq. Publishing also requires the authenticated command-line tool for the repository host: gh for GitHub, glab for GitLab, or tea for Gitea.

codex plugin marketplace add cloud-simple/ai-thingz-codex
codex plugin add release-tools@ai-thingz-codex

For a local source checkout, replace the marketplace source with its absolute path. Restart Codex if the installed skills do not appear. The plugin contains two skills:

Skill Request Result
release-tools:last-tag "What changed since the last release?" A table of commits after the nearest reachable tag, with optional details.
release-tools:new "Prepare a minor release" A version, draft notes and project release-file updates, then a final preview before publication.

The plugin installs no hooks and changes no trust settings. It never treats installing a plugin or requesting a release as confirmation of an unseen release preview.

The scripts prepare data and validate the target. The skill directs any file changes, Git actions and publication, under the active project instructions. Failed tag fetches stop preparation. Releases must target the clean, updated default branch. Gitea notes currently use commits only. See COMPATIBILITY.md for component support and verification limits.

Source layout

.agents/plugins/marketplace.json   Codex plugin catalog
plugins/release-tools/             Installable Codex plugin
vendor/cc-thingz/                  Unchanged upstream files and upstream tests
upstream.json                     Source repository, exact commit, versions and file hashes
scripts/                          Import, build and package checks
tests/                            Codex adapter tests

plugins/release-tools/upstream/ is generated from the imported helpers. Its copies and license ship inside the plugin so an installed package works without the rest of this repository. Do not edit that generated directory or vendor/cc-thingz/ by hand.

Update upstream

Review a specific upstream commit in a local checkout. Import the complete set of plugins you want to retain; repeated --plugin options select that set. The importer verifies that the checkout's origin identifies umputun/cc-thingz. It reads committed files, not local edits.

python3 scripts/sync_upstream.py --source /path/to/cc-thingz --commit FULL_COMMIT_ID --plugin release-tools
python3 scripts/build_plugins.py
python3 scripts/check_package.py
python3 -B -m unittest discover -s tests -v
bash vendor/cc-thingz/tests/test-release-tools.sh

The importer requires a full commit ID and refuses to overwrite an import that differs from its recorded hashes. It imports the selected plugin directories, their matching shell test files when present, and the upstream license. It does not fetch, execute upstream code or update Codex adapters automatically. After reviewing the imported diff, run the imported tests as code from that reviewed revision.

Put the import, generated helpers and any required adapter changes in one pull request. Review skill text as well as scripts, because workflow changes can require adapter changes even when the helper code is unchanged. Bump the affected Codex plugin's version independently of upstream. Keep behavior differences in COMPATIBILITY.md.

Checks

python3 scripts/sync_upstream.py --check
python3 scripts/build_plugins.py --check
python3 scripts/check_package.py
python3 -B -m unittest discover -s tests -v
bash vendor/cc-thingz/tests/test-release-tools.sh

The adapter tests use temporary repositories and fake forge commands. They do not publish tags or releases to GitHub, GitLab or Gitea. Package checks include a copied plugin under a path with spaces. Continuous integration runs the checks on Linux and macOS.

Versioning and licensing

Each plugins/<name>/.codex-plugin/plugin.json declares that plugin's version. Use release tags of the form <plugin-name>-v<version>, such as release-tools-v0.1.0, when distributing this multi-plugin repository. Include the upstream commit from upstream.json in release notes. The current release-tools workflow creates vX.Y.Z tags in user projects; this repository's plugin-specific tags require the manual repository release process.

The Codex adaptations use the MIT license. Imported files retain the upstream MIT license, which is also bundled with the runtime helpers.

About

Codex adaptations of selected cc-thingz plugins with reviewed upstream imports

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages