iii
БесплатноБез исполняемых скриптовНе проверенHow iii works and the iii-sdk surface for authoring workers that register, call, and observe functions. Teaches the ordered way to gain a capability before…
от iii-hq★ 18 978 звёзд на GitHubОб этом скилле
iii
iii is a language-agnostic runtime where services, agents, and tools are composed of one primitive, the Function, and two operators: call and observe. Workers host functions. One engine process (default port 49134) holds a live registry of every connected worker, every function those workers expose, and every observer between those functions. Workers are independent OS processes that open a WebSocket to the engine, register Functions (service::name handlers), and observe functions: each matching call of the observed function invokes a target function. There is no direct worker-to-worker traffic — every call routes through the engine, which makes the language, runtime, and physical location of any worker invisible to its callers.
When to Use
Use this skill to discover live iii capabilities, call functions, author SDK workers, observe functions, or operate project workers through Compose.
You extend yourself by writing iii workers. A few lines get you on the bus:
import { registerWorker } from 'iii-sdk'
const iii = registerWorker(process.env.III_ENGINE_URL!, { workerName: 'demo' })
iii.registerFunction('demo::add', async (payload: { a: number; b: number }) => {
return { c: payload.a + payload.b }
})
The instant the handshake completes, demo::add is callable from any worker (and the harness itself) via iii.call({ function_id: 'demo::add', payload: { a: 2, b: 3 } }). No restart, no registration with the harness — the engine routes it automatically.
One primitive: the Function
| Piece | What it is | Owned by |
|---|---|---|
| Function | The primitive. A named handler inside a worker, id service::name. Stable across worker restarts. |
The registering worker |
call / observe |
The two operators. call(a) runs a now. observe(a, b) makes an observer, a (source function, filters, target function) binding: each matching call of the source invokes the target. |
The calling or observing worker |
| Worker | A process that opens a WebSocket to the engine and hosts functions. | Anyone who writes one |
| Engine | One coordinator process. Routes every invocation. | The operator |
Three consequences worth internalising:
- No worker-to-worker traffic. Every call is
worker → engine → worker. Workers never address each other directly. Location and language are invisible. - No restart coordination. Restarting a worker is invisible to callers as long as it re-registers the same function ids. Two workers registering the same function id = automatic load-balance.
- No polling unless you opt in. Observers are the engine's push channel. When a function runs, the engine invokes the targets of its matching observers.
The function id is the only contract between any two workers.
graph TD
Harness["harness (LLM worker)"] <-->|"WS"| Engine["iii engine :49134 (registry + router)"]
Engine <-->|"WS"| WorkerA["your authored worker my::fn"]
Engine <-->|"WS"| WorkerB["installed registry worker"]
Engine <-->|"WS"| Provider["event-source worker"]
External["external event (request, timer, queue, ...)"] -->|"native protocol"| Provider
Every edge to the engine is a WebSocket. An event-source worker terminates some native protocol — an inbound request, a database write, a queue message — and calls one of its functions (http::on-request, database::on-row-changed, queue::on-message) once per event; observers of that function run.
Need a capability? Discover before you build — in this order
The most common harness mistake is reimplementing something that already exists, or hardwiring one worker out of habit. Work the steps in order; stop at the first that satisfies the need.
1. Look at what is already registered in the engine. The capability may be one call away.
// engine::functions::list — every function on this engine, across all workers.
// Filter with { prefix: 'svc::' } or { search: 'resize' }.
// engine::workers::list — every connected worker.
If a registered function fits, just call it: iii.call({ function_id, payload }).
2. Search the public registry. If nothing registered fits, look for a worker to install. This goes through the iii-directory worker:
// directory::registry::workers::list { search: 'image resize' }
// → published workers matching the query.
// directory::registry::workers::info { name: '<worker>' }
// → that worker's README, config keys, API reference, and skills.
When one fits, add it through the project's Compose daemon:
iii call -n <compose-namespace> compose::add worker=<worker>
iii-directory is itself a registry worker, so confirm it is connected before calling directory::*:
// engine::functions::list { prefix: 'directory::' }
// → empty? add it to worker-compose.yaml through compose::add first.
3. Build a worker. Only when steps 1 and 2 both come up empty. Author it with the SDK (below), then deploy it. D
Установить iii в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл iii?
How iii works and the iii-sdk surface for authoring workers that register, call, and observe functions. Teaches the ordered way to gain a capability before writing code — (1) check functions already registered in the engine, (2) search the public registry via iii-directory, (3) build a worker. Single self-contained skill — meant for system-prompt injection; do not re-fetch.
Как установить скилл iii?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл iii запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic