All authors

Claude Skills by iii-hq
github.com/iii-hq621 skills10 installs1,735 views
- Linklybase_image: docker.io/iiidev/node:latest scripts: install: "npm install" start: "npm run start" ``` <Info> Compose runs the worker from `scripts.start`, but a worker can also be an ordinary service. Any process that uses a iii SDK and calls `registerWorker()` is a worker. <p> Learn more about the [`iii.worker.yaml` manifest](../../creating-workers/workers#worker-manifest). </p> </Info> `link/package.json` declares the dependencies. Its `start` script uses `tsx watch`, which runs the TypeScrip...Votes: 0GitHub stars: 18,978
- LinklyIn this chapter the browser becomes a worker. It connects to the engine over WebSocket, calls `link::create` directly (no REST API Gateway), observes the live click feed from Chapter 5 to update a counter, and registers a `user::confirm_destructive_op` function the server calls when a delete needs a human's go-ahead.Votes: 0GitHub stars: 18,978
- LinklyThis tutorial builds **Linkly**, a link shortener, one worker at a time. You start with a single function that turns `/s/abc` into a redirect, and finish with a multi-tenant link platform that has durable execution, storage, analytics, a live click stream, bulk imports, and permission gated untrusted browser workers that have all the same functionality and observability as the base system. Each chapter adds one capability by adding a worker to your existing system. The point is not the link s...Votes: 0GitHub stars: 18,978
- LinklyLinkly's links live in `state`, which you set to in-memory back in Chapter 1. Restart the engine and everything is gone. In this chapter you add a `database` worker (SQLite) that holds the durable record of links and a timestamped row for every click on a short code. `state` stays in the picture as a fast read cache in front of the database. <Info> `state` can also persist on its own (`store_method: file_based` with a `file_path`). This chapter uses a dedicated `database` worker instead, whic...Votes: 0GitHub stars: 18,978
- LinklyReal-time delivery means pushing data to whoever is listening the moment it changes, like a live click counter on a dashboard. On iii that is what observing a function does: `worker.observe(a, b)` runs `b` each time `a` runs. A live click feed is a function that runs once per click, and anyone who wants to hear about clicks observes it, the same way you observed `http::on-request` and `queue::on-message` in earlier chapters. You'll give the feed to a dedicated `click-streamer` worker so the `...Votes: 0GitHub stars: 18,978
- Understanding Iii<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/next/understanding-iii/compose.mdx. -->Votes: 0GitHub stars: 18,978
- Upgradingengine: url: ws://127.0.0.1:49134 registration_namespace_grace_ms: 5000 workers: configuration: adapter: name: fs config: directory: ./config iii-worker-manager: host: 127.0.0.1 port: 49134 iii-http-functions: {} iii-stream: host: 127.0.0.1 port: 3112 ``` `engine.url` defaults to `ws://127.0.0.1:49134`. Compose writes the engine-only representation to `<project-dir>/.iii/compose/<daemon-namespace>/engine-config.yaml` by default. When `III_COMPOSE_STATE_DIR` is set, the path is `$III_COMPOSE_S...Votes: 0GitHub stars: 18,978
- Using Iiiapi_key: ${ANTHROPIC_API_KEY} ``` </Warning>Votes: 0GitHub stars: 18,978
- Using Iii<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/next/using-iii/engine.mdx. -->Votes: 0GitHub stars: 18,978
- Using Iii}) ``` </Tab> <Tab title="Rust"> ```rust use iii_sdk::CallAction; use iii_sdk::protocol::CallRequest; use serde_json::json; let result = worker .call(CallRequest { function_id: "math::add".into(), payload: json!({ "a": 2, "b": 3 }), action: None, // action: Some(CallAction::Void), // fire-and-forget // action: Some(CallAction::Enqueue { queue: "math".to_string() }), // route through queue timeout_ms: None, } // .namespace("default"), // target a specific names...Votes: 0GitHub stars: 18,978
- Using Iiidef new_order(event: dict) -> None: order = event.get("input", {}) logger.info(f"order {order.get('id')} totals {order.get('total')}") worker.register_function("alerts::new-order", new_order) new_orders = worker.observe("orders::create", "alerts::new-order") new_orders.ready() # blocks until active; use `await new_orders.ready_async()` in asyncio code ``` </Tab> <Tab title="Rust"> ```rust use iii_helpers::observability::Logger; use iii_sdk::{Error, InitOptions, Observed, RegisterFunction, re...Votes: 0GitHub stars: 18,978
- Using Iii<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/next/using-iii/workers-registry.mdx. -->Votes: 0GitHub stars: 18,978
- Using Iiiengine: workers: configuration: {} containers: state: worker: package://api.workers.iii.dev/state version: "0.22.2" config_name: state api: worker: path://./workers/api start_after: [state] scripts: run: pnpm start ``` Registry packages require an explicit version. `path://` workers use `scripts.run` from the Compose file or `scripts.start` from their `iii.worker.yaml` manifest. Start a project and keep its daemon in the foreground: ```bash iii compose build --file worker-compose.yaml iii com...Votes: 0GitHub stars: 18,978
- Creating Workersworker.register_function("reports::render-pdf", render_pdf) ``` </Tab> <Tab title="Rust"> ```rust use futures::TryStreamExt; use iii_sdk::{Error, OutputStream, RegisterFunction}; use schemars::JsonSchema; use serde::Deserialize; struct RenderPdf { report_id: String, out: OutputStream, } worker.register_function( "reports::render-pdf", RegisterFunction::new_async(|req: RenderPdf| async move { let mut pages = render_pages(&req.report_id); while let Some(page) = pages.try_next().await? { req.out...Votes: 0GitHub stars: 18,978
- ReferenceA VM worker is a container whose `scripts.build` is `iii call sandbox::build worker=<container>` and whose `scripts.run` is `iii call sandbox::start worker=<container>`. To set one up, see [Using iii / Compose](../using-iii/compose#vm-workers). For how its builds and runs behave, see [Understanding iii / Compose](../understanding-iii/compose#vm-workers).Votes: 0GitHub stars: 18,978
- Understanding Iii<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/next/understanding-iii/streaming.mdx. -->Votes: 0GitHub stars: 18,978
- UpgradingIn 0.26, Compose decided by itself that a worker ran in a microVM: a registry `bundle`, or a `path://` worker whose `iii.worker.yaml` sets `runtime.base_image`. Nothing in `worker-compose.yaml` said so. Now a VM worker says so in the file: ```yaml worker-compose.yaml onboarding: worker: package://api.workers.iii.dev/onboarding version: "0.2.0" start_after: [sandbox-libkrun] scripts: build: iii call sandbox::build worker=onboarding run: iii call sandbox::start worker=onboarding ``` - **The fil...Votes: 0GitHub stars: 18,978
- Upgradinggit grep -nE 'createChannel|ChannelReader|ChannelWriter|readerRef|writerRef|iii-sdk/channel|extractChannelRefs|isChannelRef|StreamChannelRef|ChannelDirection|ChannelItem|sendMessage|onMessage|\.(reader|writer|request_body|response)\.stream' -- '*.ts' '*.tsx' '*.js' '*.mjs' '*.cjs' git grep -nE 'create_channel|ChannelReader|ChannelWriter|reader_ref|writer_ref|iii\.channel|extract_channel_refs|is_channel_ref|StreamChannelRef|ChannelDirection|ChannelItem|send_message|on_message|close_async' -- '...Votes: 0GitHub stars: 18,978
- Using Iii<Note> The iii console is the web UI of ADE: a standalone application that connects to your running engine. It ships as a single binary, published in the registry as `ade`, that serves the UI and proxies the engine WebSocket on one port (`3113` by default). Use it to chat with agents, follow traces and logs, manage the workers in your Compose project, and edit worker configuration. For scripting or agent integration, call worker functions directly. </Note> <Warning title="The iii-console bina...Votes: 0GitHub stars: 18,978
- Using Iiiasync def upload() -> dict: return await worker.call_async( { "function_id": "files::process", "payload": {"filename": "report.csv", "body": InputStream.from_file("report.csv")}, } ) ``` </Tab> <Tab title="Rust"> ```rust use iii_sdk::{CallRequest, InputStream}; use serde_json::json; use tokio::fs::File; // Streams: an InputStream built with from_reader (an AsyncRead), from_stream (a Stream of // Result<Bytes, E>), or from_bytes. Other serde values stay JSON. let result = worker .call(CallRequ...Votes: 0GitHub stars: 18,978
- QaAutomated black-box QA of this branch through the UI, as a brand-new user. Brings up a throwaway first-run stack built from the branch, turns every change into test charters, hands them to independent QA tester agents that drive the real app (never the code), and returns one report of broken functionality, bad UX, UI issues and anything else missed. Use when asked to "QA this", "test the changes as a user", "run QA before the PR", or "find what we missed". Reports only; fixing is the `tester`...Votes: 0GitHub stars: 120
- Release SyncOrganize worker release tags into Linear release waves — one team document plus one release/<date> label per same-day batch of worker releases, with shipped MOT issues labeled and linked. Use after cutting worker releases, or any time to catch up or backfill. Trigger: /release-sync [tag ...]Votes: 0GitHub stars: 120
- TesterQA pass over the ADE and its worker pages as a hard-to-please tester — real flows end to end, several chats and panes at once, what actually goes over the wire, reloads, second tabs, slow and failing workers — then a repro, a fix, a regression test and a before/after run for every bug. Use when asked to "test everything", "be my tester", "check UX and functions", "find weird bugs", before pushing a PR, or after a bug report like "card answers go to the wrong chat".Votes: 0GitHub stars: 120
- Ui SweepFull UI/UX sweep of the ADE and every worker page — every control state (rest, hover, focus, active, open, disabled), both themes, desktop and phone — with screenshots, fixes, and before/after pairs. Use when asked to "check all UI", "find hover/color/px issues", or before pushing a design PR.Votes: 0GitHub stars: 120
- a2uiGenerate safe interactive A2UI surfaces when a Harness response is clearer as a dashboard, form, summary, comparison, or decision interface than prose.Votes: 0GitHub stars: 120
- adeThe iii web console — chat, trace explorer, worker catalog, and the runtime host every worker injects its own pages, renderers, and configuration forms into. Read it before building or changing any console UI, and when an agent must drive the operator's workspace (open or close a screen, propose a working directory).Votes: 0GitHub stars: 120
- bridgeConnect this engine to another iii engine over a long-lived WebSocket so functions call across the boundary. Wire stable ids with `forward:`/`expose:`; `bridge.invoke` is the ad-hoc escape hatch.Votes: 0GitHub stars: 120
- browserInteractive Chromium sessions for reading and driving real web pages: open a URL, read the page as text, click and type, and read the page's own console and network history. Also scrapes: HTTP and browser fetching, screenshots, persistent sessions, crawling, and CSS/XPath/regex parsing of HTML you already have. Reach for it when a task involves a running web app, especially "why is this page broken", or when pulling data off the web.Votes: 0GitHub stars: 120
- canvasCreate and edit diagrams as code — store mermaid text or excalidraw scenes under stable ids the console renders live, fetch the per-family mermaid syntax primer, and validate generated source before storing it.Votes: 0GitHub stars: 120
- claude-codeRun headless Claude Code turns over the iii bus — file edits, shell, and web against any host directory — with a verbatim message feed, session resume, and full Agent SDK option pass-through. Also serves Claude Code as an interactive terminal page on the console.Votes: 0GitHub stars: 120
- codexRun headless OpenAI Codex turns over the iii bus — sandboxed shell, file edits, and web search against any host directory — with verbatim event streaming, thread resume, and full SDK option pass-through.Votes: 0GitHub stars: 120
- computerDrive a full desktop computer over the iii bus: start a session, see the screen as an image, click, type, and scroll by coordinate, and — on native sessions — read an app's accessibility tree and act on elements by reference. Reach for it when a task needs to operate a real GUI app or whole desktop, not just a web page.Votes: 0GitHub stars: 120
- control-planeRead a project's live management view, decisions, runs, pull requests, and referenced summary without acting on a person's behalf.Votes: 0GitHub stars: 120
- cronRun any registered function on a 6- or 7-field cron expression with the standalone cron worker. A function runs on a schedule by observing `cron::on-tick` with `{ expression }` as args.Votes: 0GitHub stars: 120
- cursorUse Cursor through iii as a login-backed text provider or as a direct coding agent with durable local and cloud sessions.Votes: 0GitHub stars: 120
- databaseRun SQL against PostgreSQL, MySQL, or SQLite from the iii engine — reads, writes, transactions, and prepared statements over managed connection pools.Votes: 0GitHub stars: 120
- devinDrive Devin over the iii bus. Run the local Devin CLI agent (SWE-1.6) with the iii runtime context so it discovers and operates your workers, or start and steer autonomous Devin cloud sessions through the REST API, with a passthrough to any Devin v1/v3 endpoint.Votes: 0GitHub stars: 120
- documentRead Word, PowerPoint, Excel, OpenDocument, RTF, EPUB and CSV files locally with no API key — detect the format from the bytes, convert to markdown with headings, lists and tables intact, and pull out the images markdown drops.Votes: 0GitHub stars: 120
- emailSend and read email from the iii engine — SMTP send, IMAP read, and real-time `IDLE` push as the observable `email::on-new-mail` function. Credentials live in `harness/auth-credentials`; this worker fetches them on every connect.Votes: 0GitHub stars: 120
- fpMove and reshape big values between iii functions without routing them through the model — fp::pipe worker-side pipelines plus pure lodash-style transforms (get, pick, omit, take, drop, map, filter, split, join, uniq).Votes: 0GitHub stars: 120
- githubOperate GitHub through the gh CLI — typed github::* functions for pull requests, issues, repos, Actions runs/workflows, releases, and search, plus github::exec / github::api escape hatches for everything else.Votes: 0GitHub stars: 120
- grokRun headless xAI Grok CLI turns over the iii bus — shell, file edits, and tools against any host directory — with verbatim event feeds and session resume.Votes: 0GitHub stars: 120
- harnessThe durable agent turn loop — kick off a turn with `harness::send`, render it from session-manager transcript events, observe `harness::on-turn-completed` from a worker (agents watch state instead), with deny-by-default tool dispatch and synchronous hook points for policy siblings.Votes: 0GitHub stars: 120
- hermesRun headless Hermes agent turns over the iii bus, deliver messages to 27+ chat platforms, and react to inbound platform/webhook events — with the agent carrying the live iii runtime context.Votes: 0GitHub stars: 120
- httpExpose registered functions as HTTP endpoints with the standalone http worker. A function serves a route by observing `http::on-request` with `{ method, path }` as args.Votes: 0GitHub stars: 120
- ideRun Unix commands and structured filesystem ops from the iii engine: exec, background jobs, and a structured fs (ls/stat/mkdir/rm/chmod/mv/grep/sed/ read/write, jailed only if fs.host_roots is configured), all forwardable into a sandbox microVM.Votes: 0GitHub stars: 120
- iii-cloudEverything about iii cloud: take a project there (sign in, import, check iii cloud's plan, run the app the way the cloud runs it, ask for secrets without seeing them, hand the deploy to the person, follow it to Ready), and answer about an app already there: is it healthy, its logs and errors, what is live, why a deploy failed, expired or can't deploy, other projects on this machine, how the person confirms a rollback, cancel or retry you prepare, where they add an environment, and what only i...Votes: 0GitHub stars: 120
- iii-directoryDiscovery entry point for the engine — search the live function catalog, read the skills, system prompts, and agent profiles that installed workers ship off local disk, browse the public iii workers registry over HTTP, and install new worker bundles and kits (published bundles of agent profiles, skills and workers). Reach for it first to find out which workers exist and how to call them.Votes: 0GitHub stars: 120
- judgeEvaluate JSON state with Noul, Choice or Score questions for ticket triage, classification and graded judgments through the selected judge provider (TypeSafe JEV by default), or cancel an active request owned by the caller.Votes: 0GitHub stars: 120
- kanbanFile-backed kanban board: create, read, move and comment on tickets by key or uuid, assign agent profiles, and wake on comments by observing kanban::on-comment instead of polling. Group tickets as subtasks and file them under projects and releases. Reach for it whenever work is planned, dispatched, reported or reviewed as tickets.Votes: 0GitHub stars: 120