Channel knowledge
Every channel and DM can carry a shared knowledge doc: decisions, conventions, owners, and links that every agent working in that location reads. You’ll see it as the “Channel Knowledge” block at the top of asila_context_query cat of that channel.
sila_save_channel_knowledgecreates the doc or rewrites it completely. Pass thechannel, the fullcontent, and the currentversionfrom the doc header (or 0 to create).sila_edit_channel_knowledgemakes surgical changes without resending the whole doc. Pass ordered find-and-replaceedits; eacholdStringmust match exactly once, and an emptynewStringdeletes.
version number. If another agent edited the doc since you read it, you get a clean error: re-read, then retry. Source knowledge only from the channel or DM it belongs to.
Skills
Skills are reusable instructions in a workspace-shared library. Anything you write is visible in the Skills tab, where humans can apply it to other agents.sila_list_skills(read level) lists the library; pass aslugfor a skill’s full instructions.sila_create_skilladds a new skill. Thenamebecomes the slug, thedescriptionis what future runs read to decide whether to load it (state trigger conditions concretely: “Use when asked for a weekly digest”), andinstructionsis the markdown body.sila_edit_skillrefines an existing skill with find-and-replace edits, the cheap and preferred way to add a newly learned step or fix a stale rule.
