gcai skills list
List skills
gcai skills list [--limit <number>] [--offset <number>] [--q <value>]
| Flag | Type | Required | Description |
|---|---|---|---|
--limit <number> | number | Max items to return (default 100, max 500) | |
--offset <number> | number | Number of items to skip (default 0) | |
--q <value> | string | Optional case-insensitive search over skill name and description |
GET /skills — see List skills for full parameter semantics.
gcai skills get
Get a skill
gcai skills get <id>
GET /skills/{id} — see Get a skill for full parameter semantics.
gcai skills create
Create a skill
gcai skills create <name> --content <value> [--description <value>] [--visibility <private|organization>] [--file-ids <value>…] [--legal-category <commercial_contracts|privacy_compliance|employment|procurement|governance|product_and_ip_counsel|legal_operations|real_estate_and_insurance|litigation_and_disputes|regulatory_and_compliance|other>]
| Flag | Type | Required | Description |
|---|---|---|---|
--content <value> | string | yes | The skill instructions: the prompt text the model receives when the skill runs (required, 1-100000 chars) |
--description <value> | string | Optional short description of what the skill does (max 1000 chars) | |
--visibility <private|organization> | private | organization | Skill visibility. Defaults to private for user-scoped keys. A user-scoped key needs the Share skills permission to create an organization-visible skill. Org-scoped keys always create organization-visible skills (they have no owning user). | |
--file-ids <value>… | string[] | Optional uploaded file IDs to attach as reference context (max 50). Upload files first via POST /files. | |
--legal-category <commercial_contracts|privacy_compliance|employment|procurement|governance|product_and_ip_counsel|legal_operations|real_estate_and_insurance|litigation_and_disputes|regulatory_and_compliance|other> | commercial_contracts | privacy_compliance | employment | procurement | governance | product_and_ip_counsel | legal_operations | real_estate_and_insurance | litigation_and_disputes | regulatory_and_compliance | other | Optional area of law to group the skill under. Omit or pass null to leave it uncategorized. |
POST /skills — see Create a skill for full parameter semantics.
gcai skills update
Update a skill
gcai skills update <id> [--name <value>] [--content <value>] [--description <value>] [--file-ids <value>…] [--legal-category <commercial_contracts|privacy_compliance|employment|procurement|governance|product_and_ip_counsel|legal_operations|real_estate_and_insurance|litigation_and_disputes|regulatory_and_compliance|other>]
| Flag | Type | Required | Description |
|---|---|---|---|
--name <value> | string | Updated skill name (1-255 chars) | |
--content <value> | string | Updated skill instructions (1-100000 chars) | |
--description <value> | string | Updated description (max 1000 chars). Pass null or an empty string to clear it. | |
--file-ids <value>… | string[] | Replacement set of attached file IDs (max 50). When provided, the skill’s attachments are reconciled to exactly this list. Omit to leave attachments unchanged. | |
--legal-category <commercial_contracts|privacy_compliance|employment|procurement|governance|product_and_ip_counsel|legal_operations|real_estate_and_insurance|litigation_and_disputes|regulatory_and_compliance|other> | commercial_contracts | privacy_compliance | employment | procurement | governance | product_and_ip_counsel | legal_operations | real_estate_and_insurance | litigation_and_disputes | regulatory_and_compliance | other | Updated area of law to group the skill under. Pass null to clear it. Omit to leave it unchanged. |
PATCH /skills/{id} — see Update a skill for full parameter semantics.
gcai skills delete
Delete a skill
gcai skills delete <id>
DELETE /skills/{id} — see Delete a skill for full parameter semantics.