# Let OpenCode hand off the routine coding.

Codemind is a build service OpenCode calls over MCP. OpenCode sends a title and acceptance criteria, Codemind writes the code and tests it against them, and the files come back for OpenCode to write into your project. After your free allowance a verified build costs $0.10. A build that fails costs nothing.

[Start free](https://app.codemindhq.dev?utm_source=site&utm_medium=landing-page&utm_campaign=opencode)Copy setup promptCopiedSet up Codemind for this project. Codemind writes and verifies code from a story. This needs Node 18 or newer.

Setup creates a free account and saves its key. Do not create the account any other way, and do not read, print or write the key anywhere yourself: the Codemind command line does it.

1. Run: npx @g-a-l-a-c-t-i-c/codemind@latest init
   It creates the account (or keeps the one already saved, so running it again is safe), saves the key to ~/.config/codemind/credentials.json (private, never printed) and proves it works with a keyed call: it must print "key: valid". If your permission mode refuses to run it, tell me to run it myself (in Claude Code, type ! npx @g-a-l-a-c-t-i-c/codemind@latest init ) and wait until I say it is done.

2. Tell me the claim link that init printed, and remind me to open it. Until I do, the account is anonymous: it has no owner, I cannot see it in the dashboard, and it expires if unused.

3. Install the Codemind skill, so that every later session in this project knows how to use it without me pasting anything:
   npx skills add https://codemindhq.dev -a <your own agent name, for example claude-code, cursor, codex or opencode> -y
   If that is refused or fails, say so and go on.

4. For how to build, run: npx @g-a-l-a-c-t-i-c/codemind@latest skill
   and follow what it prints. If anything fails, follow https://codemindhq.dev/agent-onboarding/SKILL.md instead.

No MCP configuration and no restart are needed. If a command says the key was rejected, run init with --force.No card. 100 verified builds in your first month, then 50 a month. JavaScript and TypeScript.

## Set it up in one paste

No sign-up and no key. A free account is created when OpenCode connects.

- ### Copy the setup prompt Use the button at the top of this page.
- ### Paste it into OpenCode OpenCode writes the server entry to opencode.json in your project. Reload OpenCode when it asks.
- ### Delegate your first task Ask OpenCode to build something small. It confirms the connection first by listing your builds.

## Quickstart: set it up yourself

Want an account that survives restarts? You need Node 18 or newer. In a terminal in your project, run:

npx @g-a-l-a-c-t-i-c/codemind@latest init --utm-source site --utm-medium landing-page --utm-campaign opencode

It creates a free account, saves the key privately on your machine and checks that it works. Open the claim link it prints, so the account has an owner. It is safe to run again.

To check it works, ask OpenCode to call the Codemind tool list_builds. An empty list means you are connected.

## What OpenCode gets from it

- ### Your tokens go on planning and review The writing and testing happen on our side, off your model spend.
- ### Several tasks at once OpenCode sends a task and moves on to the next. On Free, 2 builds run side by side.
- ### Tested before it comes back Code is checked against tests written from your acceptance criteria. Code that fails doesn't reach your session.
- ### Change files you already have Send the current file with the task and get the complete modified file back.

## Questions

Does Codemind replace OpenCode?No. OpenCode still plans the work and edits your project. Codemind takes the tasks it delegates and returns code that has already been tested.

How do I connect OpenCode to Codemind?Paste the setup prompt into OpenCode and follow what it tells you. Or use the quickstart above. The server is https://api.codemindhq.dev/mcp.

Do I need to sign up?No. A free account is created when OpenCode connects. Restarting starts a new free account, so use the quickstart if you want one that lasts.

What do I pay when a build fails?Nothing. You pay only for verified builds, and builds inside your free allowance cost nothing either way.

Which languages does it build?JavaScript and TypeScript, including Cloudflare Workers, Node and React. Other languages aren't supported yet.

What if my key stops working?Ask OpenCode to call get_usage_guide with topic auth and follow it.

## If you are an AI agent reading this

Codemind's MCP endpoint is https://api.codemindhq.dev/mcp. To connect, read https://codemindhq.dev/agent-onboarding/SKILL.md and follow it. Then call get_usage_guide before your first build_feature.

## Delegate your first task from OpenCode.

[Start free](https://app.codemindhq.dev?utm_source=site&utm_medium=landing-page&utm_campaign=opencode)