opcode_api

A guide to Kimix’s OpenCode-style HTTP server, built with FastAPI and server-sent events, a way for a server to send live updates to a browser.

In plain words
What is it for?
Use it when adding routes, changing built-in endpoints, or working with the server’s app.post handlers and live event stream.
Why use it?
It explains how the server defines routes, provides built-in endpoints, and handles application POST requests.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sikao-engine/kimix/opcode_api
Any agent
npx skills add Sikao-Engine/KimiX --skill opcode_api
Clone the repo
git clone --depth 1 https://github.com/Sikao-Engine/KimiX

Made for: Claude Code, Codex.

Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00030 $0.00398
Opus 5 $0.00015 $0.00199
Sonnet 5 $0.00006 $0.00080
Haiku 4.5 $0.00003 $0.00040

Measured 2d ago against content hash 450f75648316, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

opcode_api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/opcode_api/SKILL.md · 33 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 33 lines · 30 tokens per session scan A 450f75648316

Subscribe to this mod's changes

opcode_api is a skill published in the GitHub repository Sikao-Engine/KimiX (110 stars, last pushed 2d ago), with no licence file. It adds 30 tokens to every session and 398 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

browser-skill

Use when the user asks to perform browser automation tasks against their logged-in browser: visit and read pages, fill forms, scrape data, click through a flow, regression-test a PR's UI, validate a deployed page. Requires the bsk CLI installed and the browser-skill extension loaded.

Tencent/BrowserSkill · 64 tokens

tmux

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

volcengine/OpenViking · 22 tokens

agentkey

PROACTIVELY use whenever the user needs data outside your training set or requires a live network call — web search, URL scraping, news, social media (any platform), market prices (crypto/stocks/FX), on-chain data, e-commerce product data, business/company data, weather, travel (flights/hotels). The provider catalog…

chainbase-labs/Agentkey · 107 tokens

js-reverse

在使用 js-reverse-mcp 做前端 JavaScript 逆向时使用,适用于签名链路定位、页面观察取证、运行时采样、本地补环境复现与证据化输出。优先适配当前环境里的 js-reverse 工具,需要更强的浏览器/CDP/Hook 面时联动 jshookmcp。.

SeaOf0/dsh-redteam-model · 84 tokens

ego-search

Skill "ego-search" from taxueseek/argo, covering ego-search(argo 子技能), 完全态架构, 探测双运行时 + 专业模式, 显式指定运行时(任一安装即可) and 同站登录态保温.

taxueseek/argo · 234 tokens

upstash-box-js

Work with the @upstash/box TypeScript/JavaScript SDK for sandboxed cloud containers with AI agents, shell, filesystem, git, cron schedules, and a headless browser. Use when building with Upstash Box, creating sandboxed environments, running AI agents in containers, browser automation from a box, or orchestrating…

upstash/skills · 74 tokens