Skip to content
Back to skills

Using Iii

ASecurity

<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/next/using-iii/engine.mdx. -->

  • 18,978 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 16, 2026
developmentbash

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 16, 2026

npx -y skills add iii-hq/iii --skill using-iii --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Using Iii?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Using Iii
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iii-hq-using-iii-756cf3f5/badge)](https://www.skillsdirectory.com/skills/iii-hq-using-iii-756cf3f5)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/next/using-iii/engine.mdx. -->

# Engine


## Engine configuration

The engine reads `config.yaml` from the project root. Pass `--config <path>` to select another file.
When the file is missing, interactive sessions offer to create it and non-interactive sessions
create an empty one automatically.

```bash
iii --config config.yaml
```

Only workers coupled to the engine lifecycle may be declared in this file:

- `configuration`
- `iii-worker-manager`
- `iii-http-functions`
- `iii-stream` (deprecated)
- `iii-sandbox`

The engine injects `iii-engine-functions`, `iii-telemetry`, and `iii-observability` automatically;
do not declare them. Any other name makes initial startup or config reload fail with
`UNSUPPORTED_CONFIG_WORKERS` and a link to the [manual migration
guide](../upgrading/workers-to-compose).

<Warning title="Deprecated">
  `iii-stream` is deprecated (iii-stream) and will be removed in an upcoming release.
  Behavior is unchanged for now: the engine still accepts the configuration shown below. See
  [Migrate from iii-stream and pubsub](../upgrading/migrate-from-streams).
</Warning>

```yaml
workers:
  - name: iii-stream
    config:
      port: ${STREAM_PORT:3112}
      host: 127.0.0.1
      adapter:
        name: kv
        config:
          store_method: file_based
          file_path: ./data/stream_store

  - name: configuration
    config:
      adapter:
        name: fs
        config:
          directory: ./config
```

The engine watches this file. A valid change reloads the affected engine worker; an invalid change
stops the engine so it cannot continue with a configuration different from the file on disk.

## Project workers

HTTP, cron, queue, state, pubsub, bridge, application workers, and other registry workers belong in
`worker-compose.yaml`. The `pubsub` worker is deprecated; see
[Migrate from iii-stream and pubsub](../upgrading/migrate-from-streams). For the normal managed
lifecycle, move the five engine configs into its direct `engine.workers` map and start the single
file:

```bash
iii compose --namespace dev --up --file worker-compose.yaml
```

Keep the list-shaped `config.yaml` only when another supervisor owns the engine. In that case omit
`engine:` from the Compose file, run the processes separately, and connect with
`--engine <ws-url>` or `III_URL`.

See [Workers](./workers) for Compose lifecycle operations and [Move workers from config.yaml to
Compose](../upgrading/workers-to-compose) for existing projects.

## Environment variable expansion

Values in direct `config.yaml` and `engine.workers` support `${VAR:default}`; the engine expands
them before typing the generated YAML. Compose-owned fields such as `engine.url` use
`${VAR:-default}`. `config_override` is likewise carried to the configuration worker without
Compose expanding it.

## Default configuration

The generated file contains `workers: []`. Mandatory engine services still start, but no project
worker does. Add project workers to `worker-compose.yaml` and use `iii compose --up`; do not add them
to the empty engine list.

Workers may also be started by another supervisor or on another machine. Any SDK process that
connects and registers is a worker, independent of Compose.

Files in this skill

  • cli.mdx1.9 KB
  • cli.mdx.skill.md1.9 KB
  • compose.mdx62.6 KB
  • compose.mdx.skill.md62.5 KB
  • configuration.mdx10.3 KB
  • configuration.mdx.skill.md10.2 KB
  • console.mdx3.9 KB
  • console.mdx.skill.md4 KB
  • deployment.mdx3.6 KB
  • deployment.mdx.skill.md3.6 KB
  • engine.mdx3.5 KB
  • engine.mdx.skill.md3.3 KB
  • functions.mdx13.3 KB
  • functions.mdx.skill.md13.3 KB
  • namespaces.mdx8.1 KB
  • namespaces.mdx.skill.md8.1 KB
  • observers.mdx50.7 KB
  • observers.mdx.skill.md35.3 KB
  • triggers.mdx12.2 KB
  • triggers.mdx.skill.md12.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.