AgentSkill
All agent skills.
Table-Specific Information
SELECT
The provider uses the Linear API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the provider.| Column | Supported Operators |
| id | =, !=, IN, NOT IN |
| createdAt | =, !=, IN, NOT IN, <, <=, >, >= |
| updatedAt | =, !=, IN, NOT IN, <, <=, >, >= |
| shared | =, != |
For example, the following queries are processed server-side:
SELECT * FROM AgentSkill LIMIT 1
SELECT * FROM AgentSkill WHERE shared = true LIMIT 1
INSERT
To insert an AgentSkill record:INSERT INTO AgentSkill (body, teamId, title) VALUES ('sample', '921cb6bf-d5b6-44bb-9c6b-217b97dd27a1', 'sample')
UPDATE
To update an AgentSkill record:UPDATE AgentSkill SET teamId = 'sample' WHERE id = '01bf10d3-8bfb-455c-b0db-769393ecf98b'
DELETE
To delete an AgentSkill record:DELETE FROM AgentSkill WHERE id = '01bf10d3-8bfb-455c-b0db-769393ecf98b'
Columns
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False |
The unique identifier of the entity. |
| createdAt | Datetime | True |
The time at which the entity was created. |
| updatedAt | Datetime | True |
The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't been updated after creation. |
| archivedAt | Datetime | True |
The time at which the entity was archived. Null if the entity has not been archived. |
| teamId | String | False |
The identifier of the team this skill is shared with. |
| inheritedFromId | String | True |
The parent-team skill this skill was inherited from. Null if the skill is not inherited. |
| ownerId | String | True |
The user who owns the skill. |
| creatorId | String | True |
The user who created the skill. |
| shared | Bool | True |
Whether the skill is shared with everyone in the workspace. When false, only the owner can use the skill. |
| body | String | False |
The skill instructions in markdown format. |
| description | String | True |
The skill's description. Null if no description has been generated. |
| title | String | False |
The skill's title. |
| icon | String | False |
The icon of the skill. Null if no icon is set. |
| color | String | False |
The skill's color. Null if no color is set. |
| lastUpdatedById | String | True |
The user who last updated the skill. Null if unknown. |
| slugId | String | True |
The skill's unique URL slug. |
| lastUsedAt | Datetime | True |
The time the skill was last used by anyone in the workspace. Null if it has never been used. |
| recentUsageCount | Double | True |
The number of times the skill was used by anyone in the workspace in the last 30 days. |