Help us improve
Share bugs, ideas, or general feedback.
From sonzai-sdk
Use when the user is installing, configuring, or writing code against the Sonzai SDK (pip install sonzai, npm install @sonzai-labs/agents, go get github.com/sonz-ai/sonzai-go), calling api.sonz.ai, working with Sonzai agents/memory/personality/sessions, or migrating from raw HTTP curl calls to the typed SDK.
npx claudepluginhub sonz-ai/sonzai-claude-skillHow this skill is triggered — by the user, by Claude, or both
Slash command
/sonzai-sdk:sonzai-sdkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build correctly against the Sonzai Mind Layer API in Python, TypeScript, or Go. The SDK and the live API can drift — this skill makes that visible and recoverable.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Structures git workflow practices for committing, branching, resolving conflicts, and organizing work across parallel streams. Use when making any code change.
Share bugs, ideas, or general feedback.
Build correctly against the Sonzai Mind Layer API in Python, TypeScript, or Go. The SDK and the live API can drift — this skill makes that visible and recoverable.
sonzai, @sonzai-labs/agents, or github.com/sonz-ai/sonzai-gopip install sonzai, npm install @sonzai-labs/agents, go get github.com/sonz-ai/sonzai-goSONZAI_API_KEY in their env or .envapi.sonz.ai, platform.sonz.ai, or mentions Sonzai agents, memory, personality, mood, sessions, eval runsThe committed OpenAPI snapshot inside an installed SDK version can lag the live spec at https://api.sonz.ai/docs/openapi.json. Always run the drift check before writing non-trivial integration code, otherwise you'll generate calls against fields/endpoints that have moved.
→ Read references/drift-detection.md
API key, base URL, env vars, BYOK. Same shape in all three languages.
→ Read references/auth-and-setup.md
Detect language from the user's project:
| Signal | Reference |
|---|---|
pyproject.toml, requirements.txt, *.py, import sonzai | references/python.md |
package.json, *.ts, *.tsx, import ... from "@sonzai-labs/agents" | references/typescript.md |
go.mod, *.go, import "github.com/sonz-ai/sonzai-go" | references/go.md |
If multiple languages are present, ask the user which one to target.
| User task | Reference |
|---|---|
| Streaming chat (SSE) vs async polling | references/streaming-chat.md |
| Converting curl/fetch/http.Get → typed SDK | references/migration-from-http.md |
| Auth fails, 401/403/404/429/5xx, SSE parse errors | references/troubleshooting.md |
SONZAI_API_KEY to a browser or mobile client. The SDK is server-side only. For web/mobile apps, the customer's backend proxies. Flag any code that puts the key in NEXT_PUBLIC_*, VITE_*, EXPO_PUBLIC_*, or browser bundles.references/drift-detection.md.client.foo.bar() but my IDE says it doesn't exist" → drift. Run Step 0.references/migration-from-http.md).