iii-directory
iii-directory
The directory worker is how an agent finds its way around the engine. It does
three things: serves the markdown docs installed workers ship (directory::skills::*),
serves the slash-command prompt templates a human runs (directory::prompts::*),
and proxies the public worker catalogue at api.workers.iii.dev
(directory::registry::*). It is also the only worker that writes — a download
pulls a bundle onto disk. Everything else here is read-only.
Two kinds of id flow through this worker and they must not be mixed up. A
callable id uses :: (directory::skills::get) and goes in the function:
field of agent_trigger. A skill id uses / (iii-sandbox,
agent-memory/observe) and names a document — pass it as the id argument to
directory::skills::get. The ids that list and index print are skill ids; a
worker's overview is the bare worker name (iii-sandbox, not iii-sandbox/index,
and the iii- prefix is never dropped). Use the id you were given — do not
invent one.