configuration
Was er macht
Dieser Skill speichert benannte Konfigurationswerte mit einem Schema, das jeden Wert prüft, damit die Worker in deinem System dieselben Einstellungen von einer Stelle lesen. Er ist für Entwickler gedacht, die iii basierte Systeme mit gemeinsamen, geprüften Einstellungen bauen.
Wann du ihn nutzt
- ✓Wenn mehrere Worker sich auf dieselben Einstellungen einigen sollen, ohne fest eingetragene Dateipfade.
- ✓Wenn du willst, dass ein Konfigurationswert vor der Nutzung gegen ein Schema geprüft wird.
- ✓Wenn ein Worker auf eine Änderung der Einstellungen reagieren soll, ohne abzufragen.
Link zum Skill
https://github.com/iii-hq/iii/blob/main/engine/src/workers/configuration/skills/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Richte einen gemeinsamen Konfigurationseintrag für meinen Abrechnungsdienst ein, mit einem Schema, das seine Werte prüft.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Jeder Worker registriert sein Konfigurationsschema beim Start einmal und veröffentlicht dann seine Werte. Andere Worker lesen diese Werte, und ein gebundener Auslöser feuert, wenn sich ein Wert ändert. Der Standardspeicher hält eine YAML Datei pro Eintrag.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
configuration
The configuration worker is a server-side registry of named entries. Every entry has an id (e.g. iii-stream, billing-service), a human-readable name and description, a JSON Schema describing the value shape, and a JSON value validated against that schema. Workers call configuration::register once at startup to declare their schema and configuration::set to publish values; consumers call configuration::get / configuration::list to read and bind a configuration trigger to react to changes without polling.
The default fs adapter persists one YAML file per id under ./config and watches the directory for external edits, so manual edits surface as configuration:updated events. The bridge adapter delegates to a remote engine. The worker is engine-owned and may be configured at engine.workers.configuration.
A per-id TTL (off by default) cleans up entries whose last subscriber trigger has unregistered, scoped to the lifecycle of ephemeral workers that come and go without an explicit teardown step.
When to Use
- A worker needs a typed, observable configuration surface other workers can read and validate against.
- Two workers need to agree on the same configuration values without one polling the other or hardcoding a path on disk.
- An operator should be able to edit a single YAML file (or the remote control plane) and have the change propagate to every subscriber without a worker restart.
- A worker comes and goes (sandboxes, ephemeral consumers) and its configuration should be cleaned up automatically when no one is left subscribing.
Boundaries
- Not a general-purpose key/value store — every entry must have a registered JSON Schema. Use the standalone
stateworker for free-form values. - No partial-update surface;
setalways replaces the whole value. Build the new value client-side and ship it in one call. - The
bridgeadapter cannot delete entries on the remote engine; cleanup over the bridge happens via TTL or directly on the source engine. - Over the
bridgeadapter,configuration::ensureis decided by the remote engine (the original candidate is forwarded there), so it requires a remote engine that exposesconfiguration::ensure; against an older remote it fails closed withADAPTER_ERRORrather than falling back to an unsaferegister. - Schemas are not version-checked across re-registrations — re-registering with an incompatible schema simply replaces it. Coordinate schema migrations out-of-band.
Migration and runtime overrides
Compose defaults to <namespace>-<container-key> without a hash (for example,
default-harness). Invalid or over-64-character generated names require explicit config_name.
Compose migrates only the exact previous namespace/key hash before starting a stopped worker.
After hashed migration, only the default namespace adopts the exact bare container key,
unless another container explicitly owns it. The bare source wins over an existing destination;
configuration::migrate is the single operation, delegated through bridges to the authority.
It returns { action, entry } with migrated, preserved (existing destination with absent
source, or matching IDs with an existing entry), or missing (both source and destination absent).
Before migration, Compose and every bridge hop query the read-only
configuration::migration-capabilities and require source_priority_archive_revision: 1.
Unknown or unavailable capabilities fail closed before invoking migration; upgrade the authority.
It replaces the destination with the raw source entry, then archives the original source as
<source>.yaml.bak. The previous destination is not backed up. .yaml.bak, .bak.yaml, and
.bkup.yaml files are ignored during loading, watching and legacy directory migration.
An existing identical backup permits cleanup recovery; a conflicting backup is never overwritten.
Missing source is a no-write no-op. Unsupported adapters fail closed.
Stop source consumers before migrating; do not share an fs directory between engine processes.
config_override is delivered through the existing service API. Compose reads the
current configuration with configuration::get (raw: true), merges defaults and
overrides, then calls configuration::set with flush: false before starting the
worker. No snapshot file is delivered. III_CONFIG_NAME identifies the entry.
Memory-only updates never write persistent config/<id>.yaml, and no delayed flush
is sched
Häufige Fragen
Wo werden die Werte gespeichert?
Standardmäßig wird jeder Eintrag als eine YAML Datei in einem Konfigurationsordner gespeichert, die du auch direkt bearbeiten kannst.
Kann eine Änderung ohne Neustart übernommen werden?
Ja. Ein Auslöser feuert, wenn ein Eintrag aktualisiert wird, sodass Worker ohne Abfrage reagieren können.
Räumt er alte Einträge auf?
Nur wenn du die optionale Lebensdauer Einstellung aktivierst, die Einträge ohne Abonnenten entfernt.
Details
Originalbeschreibung des Autors
Schema-validated, reactive registry for named configuration entries — the runtime configuration surface used by engine and Compose workers.
repo: iii-hq/iii
Beliebtheit
- GitHub-Sterne
- 19k
- Platz im Ranking
- #10486
- Lizenz
- —
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
iii-sandbox
19kHilft deinem Agenten, nicht vertrauenswürdigen oder KI erzeugten Code sicher in einer temporären, isolierten virtuellen Maschine laufen zu lassen und danach zu verwerfen.
iii
19kBringt deinem Agenten bei, wie iii Worker funktionieren, damit er eine Fähigkeit hinzufügen kann, indem er zuerst prüft, was schon existiert, und dann einen Worker baut.
iii-observability
19kHilft deinem Agenten, einer iii Engine Tracing, strukturierte Logs, Metriken und Alarme hinzuzufügen, mit OpenTelemetry, damit du siehst, was passiert.
iii-stream
19kErklärt den iii-stream Worker für Live Datenströme. Er ist veraltet und wird in einer kommenden Version entfernt, deshalb solltest du einen Wechsel davon planen.
Ähnliche Skills
api-connector-builder
280kLässt deinen Agenten neue API-Anbindungen nach dem bestehenden Muster bauen. Nutze es, wenn du eine weitere Integration ergänzen willst, ohne neue Wege einzuführen.
api-design
280kHilft deinem Agenten, REST-APIs nach Best Practices zu entwerfen. Nützlich für die Kommunikation, die Fehlerausgabe und die Organisation von Daten.
backend-patterns
280kHilft deinem Agenten bei Architekturmustern für die Serverseite und bei der Datenbankoptimierung. Nützlich zum Bauen und Prüfen von Server-Code.