go-klavis
БесплатноБез исполняемых скриптовНе проверенUnofficial Go client for the Klavis AI API, generated with oapi-codegen. In package klavis (github.com/psyb0t/go-klavis), the client from…
от psyb0t618 установок в других каталогахОб этом скилле
go-klavis
Unofficial, typed Go client for the Klavis AI API, in package klavis at the module root.
Read references/setup.md before adding the dependency or choosing an operation. It covers authentication, regional hosts, operation names, pagination and response fields.
Security & safety
- Read the Klavis API key from
KLAVIS_API_KEY. SetAuthorization: Bearer <key>in a request editor. Never hardcode, commit or log credentials, downstream authentication headers or returned authentication data. - Choose
https://api.klavis.aiorhttps://api.eu.klavis.aifor the account's region. Do not send credentials to another host. - Tool calls can change external services. Creating or deleting instances, changing authentication, user deletion and sandbox execution also act on remote resources. Call them only when the user requested the action.
- Verify MCP server URLs and tool arguments before sending downstream credentials or running a tool.
When to use
- Go code needs to discover MCP servers, list or call tools, or manage Klavis instances, Strata or user integrations.
- Go code needs Klavis OAuth, sandbox or universe REST endpoints.
- The project already imports
github.com/psyb0t/go-klavis.
When not to use
- The code is not Go. This module ships only a Go package.
- You need a client maintained by Klavis AI. This one is unofficial and not affiliated with Klavis AI.
- You want to change the generated client itself. Read
AGENTS.mdin the repository.
Finding endpoints and types
The reference covers a few calls. Every operation in the spec has a generated method, and the spec's descriptions are on them as Go doc comments. Look names and fields up instead of guessing. After go get github.com/psyb0t/go-klavis, from inside your module:
go doc github.com/psyb0t/go-klavis ClientWithResponsesInterface # every endpoint method
go doc github.com/psyb0t/go-klavis CallToolRequest # one method, params type or model
go doc -all github.com/psyb0t/go-klavis # the whole package
The same documentation is at https://pkg.go.dev/github.com/psyb0t/go-klavis.
Method names come from the spec's operation IDs. <OperationId>WithResponse takes the context, then the path parameters in order, then *<OperationId>Params when the operation has query or header parameters, then the request body when it has one. The JSON200 field (or JSON201 and so on, per declared status) holds the decoded body; it is nil for any other status.
Workflow
- Check the installed module version and generated signature before editing. Operation IDs determine names, including long sandbox and Strata methods.
- Read the regional host and key from application configuration. Add
WithRequestEditorFnfor Bearer auth andWithHTTPClientfor the application's timeout policy. - Use
NewClientWithResponsesand the operation's...WithResponsemethod. Inspect transport errors, HTTP status and decoded fields before using the result. - For tool lists and calls, check
SuccessandErroreven on HTTP 200. A tool result can also carryIsError. - Compile the integration and test it against a local HTTP server. Finish when the request method, path, authentication and response handling match the generated API. Do not call the live service merely to verify compilation.
Optional fields are often pointers. Check for nil before dereferencing. The error return covers transport and decoding failures; API errors require checking StatusCode(), the status-specific fields and Body.
Установить go-klavis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл go-klavis?
Unofficial Go client for the Klavis AI API, generated with oapi-codegen. In package klavis (github.com/psyb0t/go-klavis), the client from klavis.NewClientWithResponses has a typed ...WithResponse method for every endpoint: MCP server discovery, listing and calling tools, MCP server instances and their auth, Strata, users and their integrations, OAuth, white labeling, sandboxes and universes. Auth is a Bearer API key added through a request editor, against the US or EU host. Use when Go code needs to call the Klavis AI API, manage Klavis MCP servers or tool calls, or already imports go-klavis.
Как установить скилл go-klavis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл go-klavis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic