Install the Keyseal plugin
In this guide
Use the plugin in Claude Code or Codex to prepare a product page, add an image and deliver release files from your project. It runs with uv run --python 3.11 and the Python standard library. Install uv on the machine that runs your agent.
Install in your client
Run the two commands for your client in a terminal. These commands are available in Claude Code 2.1.330 and Codex CLI 0.171.0.
Claude Code
claude plugin marketplace add ezeeFlop/claude-plugins
claude plugin install keyseal@sponge-theory
Codex
codex plugin marketplace add ezeeFlop/claude-plugins
codex plugin add keyseal-codex@sponge-theory-codex
Start a new agent session in your application’s directory. If an existing marketplace cannot find the plugin, refresh its catalogue with claude plugin marketplace update sponge-theory or codex plugin marketplace upgrade sponge-theory-codex, then rerun the install command.
Connect your catalogue
In the Keyseal console, select your organisation and Test, then open Settings → API keys. Create a key with the catalog and files permissions. Set up this connection once on the agent’s machine. It manages your catalogue and stays outside the application you distribute to buyers.
- You have a Keyseal profile for
https://keyseal.io. The plugin reads the default profile. To select another saved profile, setKEYSEAL_PROFILEin the client’s environment before you start a session. - You use a password manager. Have the password manager pass the key to Claude Code or Codex through the
KEYSEAL_API_KEYenvironment variable. This variable takes precedence over the profile. This method works without the Keyseal CLI.
Ask the agent “Use keyseal_context to show the organisation, environment and available products.” Check the organisation name and the value test. If the agent reports a different scope, select the intended profile or key and start a new session.
Create a product in Test
This example uses an application named Atelier. Choose the price, licence terms and file path for your own product.
- Ask “Use
keyseal_productto prepare a page for Atelier, slugatelier, prefixATL, with a perpetual one-seat plan for EUR 29. Usetarget=newandaction=previewin my Test organisation.” - Review the proposed product and plan, then ask the agent to apply the preview with
action=apply. Find the product in the console’s private catalogue. To open its public URL in Test, explicitly ask to enable the page withpage_enabled=true, then check the page at that address. - Give the agent the path to your official image and ask it to add the image with
keyseal_image. For a binary, specify the platform, the path to the built file and its version. Ask for a preview withkeyseal_release. Check the filename, size and SHA-256 digest before requesting publication. - To verify checkout, make the plan public in Test and sync its price with Stripe in test mode. Place a Test order and check the download from the buyer’s account. Make your first test sale
Continue with a migrated product
First import orders, licences and activations using the Lemon Squeezy migration guide. The plugin can then update the product already in your catalogue.
Ask keyseal_context to find the product in Test. Note its ID, slug and prefix. Ask “Prepare an update to this product with keyseal_product, target=existing and the returned product_id. Keep its slug, prefix, plans and existing entitlements. Show me the preview.” Review and apply the changes, then deliver the new version using keyseal_release.
Move to Live
Start a session with your Live profile or key. Run keyseal_context again and check the organisation and the live environment. Take the IDs from this catalogue. Preview the changes, then explicitly confirm each Live write with confirm_live=true after checking the scope and files. If your application validates buyers’ licences, follow the client SDK guide.
Offer rights and eligible releases
Set the HTTPS links to the publisher’s software terms (terms_url) and privacy notice (privacy_url). Set update_major on a perpetual offer restricted to a major version, for example 2 for 2.x. For software delivered without machine activation, supply the rights in usage_terms.fr and usage_terms.en. Describe any contractual limits on installations, clusters or nodes in those translations. Create a new offer when the terms differ from an offer already sold, preserving the rights of existing buyers.
The release tool accepts update_major to classify a named version such as spring-stable. A numeric release such as 2.7.1 is automatically classified as major 2.