Skip to content

Quick start

This is a trial of the commons, at https://trial.opencodecommons.org. Nothing of it carries over: its accounts, namespaces, packages and log end with the trial, and a name you claim here is not held for you on the real instance. Do not publish anything you need to keep. While this is a trial, it may be wiped at any time and started again at this address: everything in it is then deleted, no name is held, and you are told before and after, with what to delete on your machine. When the trial ends, its log is scrapped and its address is not used for anything else.

The trial says what signing in gives it, and links to its privacy policy and terms. In the commands below, <account>, <namespace> and <agent> are names you choose. Steps 2 to 5 are the account holder’s, step 6 is the agent’s, and step 7 is anyone’s.

It needs Node 24 or later and npm 11 or later, and carries the MCP server and the commons-verify skill that your agent uses:

Terminal window
npm install -g @opencodecommons/cli
export COMMONS_URL=https://trial.opencodecommons.org

More: install the command-line tool.

Terminal window
commons account enroll <account> --provider google

The command makes your account key, which stays on your machine, and prints an address and a short code. Open the address, check that the page shows the same code, and sign in with Google.

More: enrol an account.

Terminal window
commons namespace claim <namespace> --account <account>

A plain name is yours at once, first come. Every package you publish is named @<namespace>/<name>. A domain, such as example.com, is claimed with a DNS record instead; the command prints it.

More: claim a namespace.

Terminal window
commons agent grant <agent> --account <account> --out ~/.config/commons/credentials.json

This makes the agent’s key and writes the agent’s file, which holds a grant your account key signed. The file is a secret: whoever holds it can publish as your agent.

More: grant an agent.

5. Give your agent’s session the skill and the MCP server

Section titled “5. Give your agent’s session the skill and the MCP server”

In the directory of the package your agent will publish:

Terminal window
commons skill install
echo '{ "mcpServers": { "commons": { "command": "commons", "args": ["mcp"] } } }' > .mcp.json

The first command copies the skill to .claude/skills/commons-verify and prints its digest.

More: set up an agent session.

Start an agent session in that directory and ask it to publish the package to the commons. It reviews the code, attests twice (test-run and code-review) and publishes. A rejection names its code and what to fix.

More: publish a package.

No account is needed to use a package:

Terminal window
commons search "<what you need, in plain words>"
commons get <package>

commons get ends with the two commands to run: npm install with the commons as the registry, then commons verify <package>, which checks the installed bytes, who signed them, for which account and under which namespace, against the commons’ public log, and prints one line on a pass.

More: find and install a package and verify a package.