iii-engine-config
하는 일
관리형 프로젝트 파일 또는 직접 실행하는 설정 파일로 iii 엔진을 설정하는 방법을 설명합니다. 직접 엔진을 운영하며 포트와 옵션을 올바르게 맞춰야 하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓엔진의 포트나 수신 주소를 바꿔야 할 때.
- ✓엔진의 접근 규칙이나 스트림 설정을 하고 싶을 때.
- ✓관리형 설정 모드와 직접 설정 모드 중 어느 쪽을 써야 할지 확신이 서지 않을 때.
스킬 링크
https://github.com/iii-hq/iii/blob/main/skills/iii-engine-config/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“iii 엔진을 49134 포트에 설정해 주세요. 설정 저장소를 붙이고, 스트림 수신기는 3112 포트에 열어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 두 가지 설정 모드를 설명하고, 둘을 섞지 말라고 경고합니다. 관리형 모드에서는 엔진 설정이 프로젝트 파일의 한 구획에 들어 있으며, 그 구획을 바꾸면 Compose를 다시 시작해야 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Engine Config
iii has two engine configuration modes. Do not mix them.
Managed Compose engine
The presence of engine: means that Compose owns the engine process. Engine worker values are
direct mappings; there is no nested config: field.
namespace: orders
engine:
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
iii-sandbox:
auto_install: true
containers: {}
Start it with:
iii compose --namespace orders-daemon --up --file worker-compose.yaml
engine.url defaults to ws://127.0.0.1:49134 and uses Compose's ${VAR:-default} expansion.
engine.workers stays opaque until the engine reads the generated YAML, so its values use
${VAR:default} and retain numeric types. Compose materializes an owner-only config under
<project-dir>/.iii/compose/<daemon-namespace>/ and removes it after clean shutdown. With
III_COMPOSE_STATE_DIR, it uses <state-root>/<project-slug>/<daemon-namespace>/. Changing engine:
requires restarting Compose. Do not combine a managed file with explicit --engine.
Allowed engine worker base names are:
configurationiii-worker-manageriii-http-functionsiii-streamiii-sandbox
Use #instance for another instance of an allowed worker. iii-engine-functions,
iii-telemetry, and iii-observability are injected automatically and must not be declared.
HTTP, cron, queue, state, pubsub, bridge, application, and custom workers belong under
containers:. Add registry packages with:
iii trigger -n orders-daemon compose::add worker=state
Observers
Since 0.25 the engine reads an optional top-level observers: section (iii-observe explains the
model). Every key is optional; these are the defaults:
observers:
local_dispatch: true # let SDKs run a worker's own functions in-process
max_per_connection: 1024 # observers one connection may own (LIMIT_EXCEEDED)
max_per_function: 4096 # observers one function may have (LIMIT_EXCEEDED)
max_observe_depth: 8 # deeper activations are dropped (LOOP_GUARD)
observer_grace_ms: 30000 # suspended observers of a disconnected worker wait this long
disposed_retention_ms: 3600000 # a worker back after the grace period is told they were disposed
owner_ack_timeout_ms: 30000 # an unacknowledged add fails with OWNER_TIMEOUT
activation_timeout_ms: 30000 # an unanswered activation frees its slot and counts as TIMEOUT
default_max_in_flight: 64 # max_in_flight of an observer that sets none
max_queue_per_observer: 1024 # queued activations beyond max_in_flight (then OVERFLOW)
- In
config.yamlit sits next toworkers:. In a managed Compose file it goes underengine.observersand is passed through as written. - Unknown keys and zero counts or depth are rejected at load; zero timeouts only warn. Changes need an engine restart.
observers.local_dispatch: falseturns off in-process calls for every worker.- Inspect live observers with
engine::observers::list({ function_id?, namespace?, worker? })andengine::observers::get({ id })(results are filtered to functions the caller may invoke).engine::observers::dispose({ id })is allowed for the observing worker and unrestricted callers. - Metrics:
iii.observer.activations.total{function_id,delivery},iii.observer.dropped.total{function_id,reason},iii.observers{state},iii.observer.reports.total{function_id},iii.observer.activation.failures.total{function_id,reason}; locally dispatched calls are counted iniii.invocations.totalwithdispatch="local".
RBAC with rbac-proxy
Keep the engine port internal and put the rbac-proxy worker in front of it when
untrusted workers, browsers, or agents need to connect:
iii trigger -n orders-daemon compose::add worker=rbac-proxy
rbac-proxy opens its own WebSocket port, speaks the worker protocol verbatim, and at the boundary
authenticates each connection (rbac.auth_function_id), gates every invocation and trigger binding
(rbac.expose_functions, plus allowed_functions / forbidden_functions from the auth result),
namespaces a session's registrations (`function_registration_pref
자주 묻는 질문
두 설정 모드를 섞어 써도 되나요?
아니요. 스킬은 이를 경고합니다. 각 모드가 엔진 설정을 저마다의 방식으로 관리하기 때문입니다.
기본 엔진 포트는 무엇인가요?
기본 엔진 포트는 49134입니다.
변경 후 다시 시작해야 하나요?
네. 관리형 모드에서 엔진 구획을 바꾸면 Compose를 다시 시작해야 합니다.
상세 정보
작성자의 원본 설명
Configure a managed iii engine through worker-compose.yaml or a directly supervised engine through config.yaml. Use for engine ports, RBAC via the rbac-proxy worker, observer limits, streams, sandboxes, and configuration storage.
repo: iii-hq/iii
인기도
- GitHub 스타
- 19k
- 순위
- #10493
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
iii-sandbox
19k에이전트가 신뢰할 수 없거나 AI가 만든 코드를 임시 격리 가상 머신 안에서 안전하게 실행하고, 끝나면 버리도록 돕습니다.
configuration
19k에이전트가 스키마로 검사하는 이름 있는 설정 값의 공유 레지스트리를 만들도록 돕습니다. 워커가 변경을 읽고 반응할 수 있습니다.
iii
19k에이전트가 iii 워커의 작동 방식을 익혀, 먼저 이미 있는 기능을 확인한 뒤 워커를 만들어 기능을 추가하도록 가르칩니다.
iii-observability
19k에이전트가 iii 엔진에 추적, 구조화된 로그, 지표, 알림을 추가하도록 돕습니다. OpenTelemetry를 써서 시스템에서 무슨 일이 일어나는지 볼 수 있습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.