本文へ移動
cccskills
無料GitHub で公開

opcode_api

Guide for Kimix opencode-style HTTP server (FastAPI + SSE), including route definitions, builtin endpoints, and app.post usage.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md1.5 KB
  • references/guide.md6.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Kimix Opencode API Server

FastAPI HTTP server in kimix.server.app exposing an opencode-compatible REST API with SSE event streaming. Create via create_app(); run with kimix serve --host 127.0.0.1 --port 4096.

Handler style: async handlers; path params {name} as function args; query params Optional[int] = Query(...); Pydantic request bodies; errors via HTTPException.

Builtin endpoints:

MethodPathSummary
GET/global/healthHealth check
GET/eventSSE event stream (global)
POST/sessionCreate session
GET/sessionList sessions
GET/session/statusGet all session statuses
GET/session/{sessionID}Get session info
DELETE/session/{sessionID}Delete session
GET/session/{sessionID}/messageGet messages
POST/session/{sessionID}/prompt_asyncSend message (fire-and-forget, 204)
POST/session/{sessionID}/abortAbort session
POST/session/{sessionID}/permissions/{permissionID}Grant permission

SSE /event: OpenCode protocol — no event: field, plain data: {json}\n\n lines; heartbeat is : heartbeat\n\n.

app.post patterns: create resource (200 + body), fire-and-forget (204, no body), action (200 + empty body), nested path params.

Full code examples and models: read references/guide.md.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

app

無料

Guide for the Kimix web frontend (src/app/) — vanilla TypeScript + Vite, SSE-based chat UI mirroring sse_cli.py. Use when modifying the frontend, adding new UI features, changing the API client, or understanding the message rendering pipeline.

日本語の概要は準備中です。原文の説明を表示しています。

Sikao-Engine/KimiX1142026年10月10日 更新

doc

無料

Guide for navigating and maintaining Kimix project documentation. Use when: (1) user asks about the docs structure, (2) user wants to add, update, or append content to project documents.

日本語の概要は準備中です。原文の説明を表示しています。

Sikao-Engine/KimiX1142026年10月10日 更新

kimix_api

無料

Guide for using KimiX API utilities covering kimix, kimix.utils, kimix.base, kimix.dag, kimix.network, kimix.server, kimix.parser, kimix.tools, kimix.cot, kimix.retrieval, kimix.summarize, and kimi_agent_sdk.

日本語の概要は準備中です。原文の説明を表示しています。

Sikao-Engine/KimiX1142026年10月10日 更新

serve

無料

Guide for the Kimix HTTP serve system — FastAPI backend + TypeScript/Vite frontend. Use when adding new backend endpoints, modifying the session manager, changing the frontend API client, or understanding how data flows from backend to UI. Covers dummy_app.py, dummy_session_manager.py, sse_cli.py, and src/app/.

日本語の概要は準備中です。原文の説明を表示しています。

Sikao-Engine/KimiX1142026年10月10日 更新

Guide for creating effective skills. Use when users want to create or update a skill that extends agent's capabilities.

日本語の概要は準備中です。原文の説明を表示しています。

Sikao-Engine/KimiX1142026年10月10日 更新

tool

無料

Guide for creating tools using CallableTool2 and Params pattern, plus YAML agent registration

日本語の概要は準備中です。原文の説明を表示しています。

Sikao-Engine/KimiX1142026年10月10日 更新

Sikao-Engine のスキルをすべて見る

このスキルの問題を報告する