Claude
AI modelsMessages API. Sends Claude requests from the server with trusted model settings and customer context.
Worker events. Receives triggers for always-on work and processes repeat deliveries safely.
Usage corrections. Corrects failed or refunded Claude usage while preserving the original work history.
Always-on AI work with clear tools and spending limits.
Mined from production apps and scanned for secrets on every release. Typed end to end.
Claude starter code pack
A production-mined Claude structure for the Messages API, streaming, tool use, prompt caching, agent loops, spending caps, and usage metering.
After you buy, one prompt pulls it in
Click, then paste into your AI chat. Your agent installs Boost OS and wires in the Claude starter code pack.
Then just tell your agent what you want
Your AI coding agent · with Boost OS
Set up a Claude worker that summarizes new support tickets with approved tools.
Building from the Claude pack:
Messages API calls from src/checkout, tool-use loops from src/agentic, and spending limits from src/usage.
Everything stays wired through src/lib/app-adapter.ts, with no raw Anthropic calls scattered through your app.
- Cursor
- Claude Code
- Codex
- GitHub Copilot
- Windsurf
What you get
- Send Claude requests from your server
- Stream long answers as they arrive
- Give Claude approved tools to use
- Run an AI worker through controlled steps
- Reuse prompts while tracking real costs
- Stop work before spending crosses a limit
The move list
14 modules across three jobs. Open any module to see every file inside it.
Get paid
Take the money: one-time, recurring, metered, or agent-initiated.
- Messages APISends Claude requests from the server with trusted model settings and customer context.2 files
- Model accessKeeps model choices, worker limits, and account access aligned with the customer's plan.1 file
- Usage meteringRecords input, output, and cached tokens for customer limits and connected billing.3 files
- Agent loopsRuns controlled tool-use steps until the work completes or reaches a firm stopping rule.4 files
After the sale
Deliver access, send the emails, and handle refunds without drama.
- StreamingStreams Claude output while saving completed messages and handling browser disconnects.2 files
- Worker messagesNotifies customers when Claude finishes work, reaches a limit, or needs a decision.2 files
- Worker controlsLets customers see usage, pause work, and manage limits for their Claude worker.2 files
- Usage correctionsCorrects failed or refunded Claude usage while preserving the original work history.1 file
The safety rails
The plumbing that keeps every event verified and every grant counted once.
- VerifyChecks tool permissions, loop limits, caching, streaming, and spending caps before launch.1 file
- Claude libraryCentralizes the Anthropic client, tool definitions, model settings, and prompt cache rules.7 files
- SetupMaps API keys, approved models, tool permissions, spending caps, and worker settings.16 files
Provenance
Extracted from production Claude API pipelines serving real customers
Frequently asked questions
Is this a Claude Next.js starter?
Yes. The pack is built for Next.js apps that use the Messages API, streamed responses, approved tools, prompt caching, controlled agent loops, and usage limits.
Does it include an always-on Claude worker pattern?
Yes. It shows how Claude chooses an approved tool, records the result, continues through a controlled loop, and stops on completion, error, or spending limit.
Is the Claude code pack available now?
Yes. Every active Boost OS license includes it with no separate purchase; onboard it from the pill on this page: click, paste the prompt into your AI chat, and your agent does the rest.
Can I convert this pack to Python or another language?
The Claude pack ships in TypeScript. Every module is adapter-based and written with plain comments, so you can ask your AI agent in chat to convert any module to your language and keep the logic intact. The TypeScript version stays the source of truth for updates.
Add the Claude card to your collection
One $199 license includes every current and future production code pack.
Get Boost OS