write_skill
Write user additions to a Loci skill file by appending or replacing its 'Your additions' section; read current additions first to avoid overwriting existing notes.
Instructions
Write the user's additions to a Loci skill — the "Your additions" section read_skill returns, kept in vault/skills/.md. skill: loci-save | loci-query | loci-inbox | loci-ingest-directory
Replaces the whole file unless append=True, so read the current additions (the tail of read_skill) before rewriting them. The packaged procedure is not writable: it ships inside Loci and is replaced on upgrade, while the additions live in the vault and survive one. Nothing to reinstall — the next read_skill call returns the change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skill | No | loci-save | |
| append | No | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |