opencode2api: Skill for Claude Code

.claude/skills/oc2api-admin/SKILL.md

oc2api-admin is a skill for Claude Code from 6Kmfi6HP/opencode2api. It costs 36 tokens per session (1,475 once invoked), scanned A, original, no licence file.

An administration tool for opencode2api instances, which provide an API interface to an OpenCode service. It can inspect status, manage runtime settings, refresh sessions and models, view usage, and update the instance image.

In plain words
What is it for?
Use it to monitor and configure an opencode2api instance, refresh its sessions or models, review usage, and update its image.
Why use it?
It puts routine service administration in one workflow instead of requiring separate checks and configuration steps. This helps keep the running instance and its models up to date.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

This is 6Kmfi6HP/opencode2api's own configuration. It tells Claude Code how to work on opencode2api itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything opencode2api configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 6Kmfi6HP/opencode2api. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/6Kmfi6HP/opencode2api/main/.claude/skills/oc2api-admin/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/6Kmfi6HP/opencode2api

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for oc2api-admin

README.md
[![agentmods](https://agentmods.dev/badge/skills/6kmfi6hp/opencode2api/oc2api-admin/github.svg)](https://agentmods.dev/skills/6kmfi6hp/opencode2api/oc2api-admin)
Your own site
<a href="https://agentmods.dev/skills/6kmfi6hp/opencode2api/oc2api-admin"><img src="https://agentmods.dev/badge/skills/6kmfi6hp/opencode2api/oc2api-admin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for oc2api-admin

Your own site · 80×15
<a href="https://agentmods.dev/skills/6kmfi6hp/opencode2api/oc2api-admin"><img src="https://agentmods.dev/badge/skills/6kmfi6hp/opencode2api/oc2api-admin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00036 $0.01475
Opus 5.5 $0.00014 $0.00590
Sonnet 5.5 $0.00007 $0.00295
Haiku 4.5 $0.00004 $0.00147

Measured 4d ago against content hash b23f4561e32b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

oc2api-admin scanned grade A with 1 finding 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (oc2api-admin.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> 直接 `curl` 打这个端点时必须自己完成同样的合并,不要只发增量字段。
.claude/skills/oc2api-admin/SKILL.md · 134 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

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. 4d ago Changed · +11 lines b23f4561e32b
  2. 5d ago First seen · 123 lines · 36 tokens per session scan A 53cc7cbaf26b

Subscribe to this mod's changes

oc2api-admin is a skill published in the GitHub repository 6Kmfi6HP/opencode2api (144 stars, last pushed 4d ago), with no licence file. It adds 36 tokens to every session and 1,475 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-23.

Related

Other skills, from other repositories

langbot-eba-adapter-dev

Build, refactor, and test LangBot platform adapters for the Event-Based Agents architecture. Use when adding or migrating Telegram, Discord, or other messaging platform adapters to the EBA adapter layout, validating unified event/message conversion, writing live adapter probes, or using standalone plugin runtime plus…

langbot-app/LangBot · 73 tokens

langbot-dev

Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…

langbot-app/LangBot · 136 tokens

stripe-projects

Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.

e2b-dev/E2B · 51 tokens

ax-go-flow

Use when writing Go code with github.com/ax-llm/ax/packages/go for flows, nodes, program graphs, nested programs, dynamic options, caching, and optimizer components.

ax-llm/ax · 43 tokens

ax-event-runtime

Use AxEventRuntime to ingest events, explicitly wake or resume AxGen, AxAgent, and AxFlow, persist state and results, and route outputs safely.

ax-llm/ax · 36 tokens

django-tdd

Django testing strategies with pytest-django, TDD methodology, factoryboy, mocking, coverage, and testing Django REST Framework APIs.

hashgraph-online/awesome-codex-plugins · 32 tokens