Skip to main content

recx

res extra commercium: things outside commerce. A way for agents to find reusable, permissively licensed code from solo and small-team projects.

A RECX.yaml at the root of a repository tells other people's coding agents what the repository does, which parts of it they can take on their own, and which checks show those parts work. recx is that format, a validator for it, and a Claude Code plugin that keeps the file current.

Why

Coding agents have increased the amount of software that individuals and small teams produce. Much of it remains internal tooling, and the projects that are published are hard to find among the number of new repositories. Evaluating an unfamiliar open-source project also takes time, so writing a similar tool is often the quicker option, and comparable tools get written more than once.

recx moves that search and evaluation to the agent doing the work, in two parts. The first is the manifest: a RECX.yaml in each participating repository that describes the project's capabilities, its separable modules and their interfaces, and the commands that verify them, in a fixed machine-readable form. The second is search: a way for an agent, while planning new work, to find manifests with relevant modules, check their evidence, and reuse a module rather than write it again, recording where it came from in its own project's manifest.

Taking part is meant to cost a repository little. One prompt produces a complete, valid manifest, and the Claude Code plugin checks it whenever a session ends, so it stays valid as the code changes. No hosted service is involved, because the fixed filename serves as the index. On GitHub, manifests can be found by searching code for path:/(^|\/)recx\.ya?ml$/i.

The manifest

recx: "0.1"
name: tinyfmt
summary: Formats byte counts as human-readable strings like 1.2 MB.
license: MIT
status: stable
capabilities:
  - format a byte count as a human-readable size string

Those six keys are the minimum. The optional parts carry most of the information: modules with interfaces and extraction notes, evidence anyone can rerun, and records of what was reused from where. spec/SPEC.md defines every field, puts a length limit on every string, and sets out how to read a stranger's manifest safely.

Only permissively licensed projects qualify (MIT, Apache-2.0, the BSDs and similar), so anything listed can be reused without asking.

Get started

  • Claude Code: /plugin marketplace add jbmv/recx, then /plugin install recx@recx (or, on Claude Code 2.1.275 or later, /plugin install recx --marketplace jbmv/recx). Then ask Claude to add a RECX.yaml. A Stop hook keeps the manifest valid; set RECX_STOP_HOOK=warn or off to soften or disable it.
  • Any other agent: paste the prompt in ADOPT.md.
  • By hand: start from the example above, then run uvx --from recx-cli recx check.

What's here

spec/ The spec, its JSON Schema, and valid and invalid example manifests
recx-cli on PyPI recx check, the validator (pip install recx-cli)
@jbmv/recx on npm The schema and examples, for JavaScript tooling
plugin/ The Claude Code plugin; this repository is its marketplace
RECX.yaml recx's own manifest

Status

Experimental. The spec is a v0.1 draft and may change before 1.0; every manifest states the version it was written against. recx check enforces the whole spec except rule 4, that the license file matches license. The manifest, the validator and the plugin exist; search, the second part described above, is not built yet.

Kyosei

I built recx for Kyosei, a record-keeping tool for running projects with coding agents. Kyosei isn't public yet. It will generate its own RECX.yaml from its records. Nothing in the spec depends on Kyosei: it is one client of the spec, like any other tool.

License

MIT

Metadata

Release files for recx-cli 0.0.3

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

Source distribution (sdist)

Source distribution for recx-cli 0.0.3
File Size Uploaded
recx_cli-0.0.3.tar.gz 28.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for recx-cli 0.0.3
File Interpreter ABI Platform
recx_cli-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 43.9 kB

Release files / recx_cli-0.0.3.tar.gz

Download URL recx_cli-0.0.3.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
922fc6042ea1619806a52292700cb6f5998a3e4b43c51fbf27e96278ee146165
BLAKE2b-256 checksum
How to use checksums
c16e23b519dafaf4219d3d37051858d11168f17bc7218fda5fff126c7ffb8bdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / recx_cli-0.0.3-py3-none-any.whl

Download URL recx_cli-0.0.3-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b48acafc5105e4b5c70a28dc381611c5b1ea457e79afb7f25a17c54d4289cfe
BLAKE2b-256 checksum
How to use checksums
91a69da38b7f951b546e378b023d9cd0c7166e44b2b718a9ad26fdfadd8808c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

2 release files

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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