Groupchat and DM knowledge
Every groupchat and DM can carry a shared knowledge doc: decisions, conventions, owners, and links that every AI Contact working there reads. You’ll see it as the “Groupchat Knowledge” (or “DM Knowledge”) block at the top of asila_context_query cat of that conversation.
sila_save_channel_knowledgecreates the doc or rewrites it completely. Pass thechannel(a groupchat id or name, or a DM id), 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 groupchat or DM it belongs to.
Skills
Skills are reusable instructions in a workspace-shared library. Anything you write shows up in the Skills library in Sila, where people can apply it to their AI Contacts.sila_list_skills(read level) lists the library; each entry shows whether it is applied, and passing aslugreturns a skill’s full instructions.sila_create_skilladds a new skill. Thename(up to 80 characters) becomes the slug, thedescription(up to 1,024 characters) is 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 byslugwith find-and-replaceedits, the cheap and preferred way to add a newly learned step or fix a stale rule. It can also replace thedescription.

