Skills
Instructions your AI clients load on demand: skills, the collections that group them and the curated library.
- The skill-writing guideGET
/v1/skills/guideskills.readReturns the guide as markdown with a suggested
filename: what a skill is, the three fixed folders, the size limits, how to lay out and zip a bundle, and what an import does. The limits are rendered from the live values, so they match what the API enforces. - List skill collectionsGET
/v1/skills/collectionsskills.readA collection is the folder of skills a profile attaches. Each one comes back with its
tool_prefix, its skill counts by status and the profiles carrying it. Archived collections are left out unlessinclude_archivedis set. - Create a skill collectionPOST
/v1/skills/collectionsskills.manageThe slug is derived from the name and never changes: it becomes the tool prefix
skill_<slug>_for every skill in the collection. A name whose slug is already used in the workspace is refused with a 409conflict. A new collection reaches no AI client until it is attached to a profile. - Update a skill collectionPATCH
/v1/skills/collections/{id}skills.manageRename it, re-describe it, change its icon, or archive and restore it with
status. The slug never changes, so the tool names built from it stay the same. An archived collection serves none of its skills to AI clients; nothing is deleted, andstatus: "active"brings it back. - Permanently delete a collection and its skillsDangerousDELETE
/v1/skills/collections/{id}skills.deleteThe collection, every skill in it, and each skill's files and version history are deleted. This cannot be undone and no other copy exists. To take a collection out of use and keep it, archive it with
PATCH /v1/skills/collections/{id}andstatus: "archived". - Import an Agent Skills bundle into a collectionPOST
/v1/skills/collections/{id}/importskills.writeSend the zip base64 encoded in
zip. Withoutapply: truenothing is written: the report lists what would be created, what collides and what was skipped, from the same checks a real run makes. Imported skills land as drafts, and a skill whose name is already in the collection is skipped, never overwritten. Send the same zip again withapply: trueto write. - List the skills libraryGET
/v1/skills/libraryskills.readThe library is the set of skills FloConnector writes and maintains for every workspace. Every published entry comes back, retired ones included (see
status), each withinstalls: where it is already installed in this workspace and how. - Get a library skillGET
/v1/skills/library/{id}skills.readOne entry by id or slug: the published
bodyand files, the published version history, and where it is installed in this workspace. A retired entry stays readable; an entry that is not published answers 404. - Install a library skill into a collectionPOST
/v1/skills/library/{id}/installskills.writemode: "copy"adds an editable draft that is yours from then on.mode: "managed"adds a published, read-only skill that is rewritten each time the library publishes a new version; it needs theskills.publishscope and is refused for a retired entry. A managed install that already exists in the collection is returned withcreated: falseinstead of being duplicated. - List skillsGET
/v1/skillsskills.readEvery skill in the workspace, or in one collection, whatever its status: drafts and archived skills are included unless you filter with
status. Each comes back with its tool name, current version, file paths and library link, without the body. Read the text withGET /v1/skills/{id}. - Create a skill (as a draft)POST
/v1/skillsskills.writeThe body and any files land together as version 1.
nameanddescriptionmay be left out when the body opens with a frontmatter block that carries them; the block is stripped either way. The skill is a draft that no AI client can see until it is published: callPOST /v1/skills/{id}/publish, or sendpublish: truehere with a key that holdsskills.publish. - Get a skillGET
/v1/skills/{id}skills.readThe skill in full: its metadata, the body, every file with its text, the version history as summaries and its library link.
versionreturns the body and files as they stood at a past version, and theversionfield in the reply says which one you are reading.{id}accepts the skill's id, its tool name, or its slug when only one skill has it. - Update a skillPATCH
/v1/skills/{id}skills.writeOne call writes at most one new version: the body and the file changes land together, and
filesis a delta, so send only the paths you are changing. If the skill is published, AI clients read the new text on their next call. Passexpected_versionto be refused with a 409conflictwhen the skill has moved on since you read it. A managed library install answers 409read_onlyuntil it is made editable withPOST /v1/skills/{id}/detach-library. - Permanently delete a skillDangerousDELETE
/v1/skills/{id}skills.deleteThe skill, its files and its whole version history are deleted. This cannot be undone and no other copy exists. Use
POST /v1/skills/{id}/archiveto take a skill out of use and keep it. - Publish or unpublish a skillPOST
/v1/skills/{id}/publishskills.publishA published skill is served as the tool
skill_<collection>_<skill>by every profile carrying its collection; a draft is served by none.publish: falsetakes a published skill back to a draft.profilesnames the profiles carrying the collection: when it is empty the skill is published but nothing can call it yet. An archived skill is refused until it is restored withPOST /v1/skills/{id}/archiveandrestore: true. - Archive or restore a skillPOST
/v1/skills/{id}/archiveskills.writeAn archived skill is served to no AI client, and nothing is deleted: the body, files and version history stay.
restore: truebrings an archived skill back as a draft, never straight to published. CallPOST /v1/skills/{id}/publishwhen it should be live again. - Copy a skill into another collectionPOST
/v1/skills/{id}/copyskills.writeThe copy takes the body and every file, starts its own history at version 1, and is always a draft, even when the source is published. If the destination already has a skill with the same slug, the copy gets a
_copysuffix instead of being refused. Copying a managed library install gives a draft you can edit. - A skill's version historyGET
/v1/skills/{id}/versionsskills.readNewest first, as summaries: who wrote each version, how it arrived, its note and the paths it changed, without the text.
limitdefaults to 20 and accepts up to 50. Read one version's body and files withGET /v1/skills/{id}/versions/{version}. - Get one version of a skillGET
/v1/skills/{id}/versions/{version}skills.readA version is a snapshot of the whole skill, so this returns the body and every file as they stood then, with the author, how it arrived and its note. A version number the skill never had answers 404.
- Restore a past version as a new revisionPOST
/v1/skills/{id}/versions/{version}/restoreskills.writeThe body and the whole file set of the chosen version are written back as a new version on top of the history: restoring version 3 over version 9 produces version 10, and nothing is removed from the history. Files added after the restored version are dropped from the skill. A managed library install answers 409
read_only. - Make a managed library install editablePOST
/v1/skills/{id}/detach-libraryskills.writeCuts the skill's link to the library: its content and history stay, it becomes an editable copy, and later library versions no longer change it. The link cannot be put back on this skill. A skill that is not a managed install answers 409
conflict. - Export a skill as an Agent Skills bundleGET
/v1/skills/{id}/exportskills.readReturns the bundle as JSON, not as a zip: a
directoryname and every file with its path and text,SKILL.mdfirst with its frontmatter filled in. Write the files out under that directory and zip it for a client that installs bundles. The export is the current version, whatever the skill's status.