For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agent Skills API

Provision organizational Skills and manage their instructions through the API.

Provision organizational Skills and manage their instructions through the API.

Authentication

Organizational Skills are shared: workspace members can view and use Skills created by others. Creating, editing, and deleting organizational Skills require Admin permissions. Any Admin can edit or delete an organizational Skill, regardless of who created it; the creator also needs Admin permissions to change it. Changing a Skill between personal and organizational scope requires Admin.

Personal Skills are visible, usable, and editable only by their owner. Admin permissions do not grant access to another user's personal Skills. Personal operations require the owner's authenticated user access token. Service-account API keys support organizational Skills; even an Admin service-account key cannot manage personal Skills.

Set GC_API_KEY to an API key with the required permissions and GC_BACKEND_ID to the backend ID. Every example sends both headers. For self-hosted deployments, replace https://api.groundcover.com with your API URL.

Agent Mode must be available and enabled for the selected backend. See Workspace AI settings.

Endpoints

Method
Endpoint
Operation
Permissions

GET

/api/agent/skills

List visible Skills

Authenticated access; personal Skills are scoped to the calling user

POST

/api/agent/skills

Create

Admin for organizational Skills; authenticated user for personal Skills

GET

/api/agent/skills/{skill_id}

Get full instructions

Authenticated access for organizational Skills; owner for personal Skills

PUT

/api/agent/skills/{skill_id}

Update

Admin for organizational Skills or scope changes; owner for personal Skills

DELETE

/api/agent/skills/{skill_id}

Delete

Admin for organizational Skills; owner for personal Skills

Create an organizational Skill

Field
Required
Description

name

Yes

Nonblank display name, at most 255 characters.

when_to_use

Yes

Nonblank selection guidance, at most 5,000 characters.

instructions

Yes

Nonblank Skill instructions.

description

No

Description, at most 5,000 characters.

is_organizational

No

Defaults to false; set true when provisioning with a service account.

is_provisioned

No

Provisioning marker. Service-account-created Skills are marked provisioned automatically.

HTTP 200 returns {"status":"ok","skill":{...}}. The skill contains id, name, when_to_use, description, instructions, revision, identifier, is_organizational, is_provisioned, timestamps, and ownership metadata. Save the returned id for subsequent calls.

List and read

Optional query parameters are q (search text, at most 255 characters) and limit (1–250, default 100).

List returns {"status":"ok","skills":[...]} with summaries of the caller's personal Skills and organizational Skills, including those created by others. Get returns one visible Skill, including instructions. Reading or using an organizational Skill does not grant permission to edit it.

Update

PUT requires all of name, when_to_use, and instructions; it is not a partial patch. description is optional. Omit is_organizational to preserve the current scope. Changing that scope also requires Admin permissions. Do not send is_provisioned in an update: the update model does not accept it.

The response has the same wrapper as create/get and includes the updated revision.

Delete

HTTP 200 returns {"status":"ok","skill_id":"<SKILL_ID>"}. A missing Skill returns 404, duplicate names return 409, and invalid fields return 422. Personal Skills require an authenticated user and are subject to ownership checks; a service-account key cannot create or manage a personal Skill.

Last updated