Skip to content

Open-source toolkit for in-product snippets and agent prompts

Your users copy it. Copybook proves it works.

Copybook turns the code snippets and coding-agent prompts in your UI into typed, versioned definitions. It tests every example, measures prompts against real agents, and tracks where each one is shown and when it changed.

MITTypeScriptshadcn registrygit is the only storage

127.0.0.1:4983

Copybook Studio acme

8 definitions

prompt

console.create-project.agent

Set up Acme with your coding agent

Snapshot up to datesrc/create-project.ts#setUpWithAgent

Where it's shown

console/create-project/done

Params

Preview

Agent prompt
Set up this app on Acme.
1. npm i -g acme@latest. If that fails, use `npx acme@latest` in place of `acme`.
   If an acme command opens a browser sign-in, tell me to finish it there. If that times out or fails, ask me to run acme login, then retry.
2. In the project root:
   acme init -y --org-id org-summer-dust-12345678 --project-id round-bar-12345678 --branch production --services postgres
3. acme deploy. It provisions the services in acme.ts and pulls their env vars into `.env.local` (or `.env` if it exists).
4. Wire each service into the app's code using those env vars. Consult the installed Acme agent skills for best practices, e.g., what database driver to use given the app architecture and hosting runtime.
5. Prove it works: npm run build must pass, then start the app. Test each wired service end to end.
6. Report what changed, the command output that proves step 5, and anything that failed.

Embeds

Used by

Not embedded anywhere.

Tests and evals

  • Agentseval: 3 trials, pass rate 67%
  • Commandsembedded commands tested

Results and history appear here after copybook test and copybook eval run.