API
The brand is the API. Every surface in the Ideal State brand book is machine-readable and public. Drop the spec into Claude, push tokens to Figma, install the CSS bundle in any external project.
Endpoints
Canonical structured brand spec. Tokens, voice, audience, logo, typography, color, applications. AI-readable.
Agent-optimized prose + structure brand spec. The same content as spec.json plus the human-authored BRAND_BOOK.md. Drop this into a system prompt.
CSS custom properties for color, typography, spacing, radius, motion. Ready to import into any external site.
Figma Variables payload. Push into a Figma file via the Variables API or the Figma plugin.
Discovery file for AI tools. Points crawlers and agents to the canonical spec endpoints for this brand.
Run a named prompt from the brand spec's promptKit against Claude. Body: { promptId, variables }. Rate-limited per IP.
Use with Claude
# Curl the spec.md and pipe it into Claude as system context. curl -s https://wrkhrs.co/brand/ideal-state/spec.md \ | claude --system - "Write a launch email about our new pricing tier."
Use with any project
<!-- Drop the brand's tokens into any external site. --> <link rel="stylesheet" href="https://wrkhrs.co/brand/ideal-state/tokens.css" />
Embed a brand card
<!-- Live brand-book card on any external site. --> <div data-wrkhrs-brand="ideal-state"></div> <script src="https://wrkhrs.co/embed/brand/ideal-state" async></script>
Call a prompt by id
curl -X POST https://wrkhrs.co/api/brand-spec/ideal-state/demo \
-H 'content-type: application/json' \
-d '{ "promptId": "hero_line", "variables": { "audience": "founders" } }'Versioning
Spec version 1.0.0 as of 2017-09-21. Every release surfaces in the changelog.