skills

List the skills defined in the source of a project, a branch or an environment to find one to assign or edit; returns every skill with the source files that could not be read as skills. Requires project.agents.read.

Arguments

  • projectReferenceString!required

  • sourceTargetKindSourceTargetKind

    The source to read; default runtimeTargetKind, else project. One of project, main_branch, environment, preview_branch.

  • runtimeTargetKindRuntimeTargetKind

    Used as the source to read when sourceTargetKind is omitted. One of main_branch, environment, preview_branch.

  • targetEnvironmentIdID

    Required with the kind environment.

  • targetBranchIdID

    Required with the kind preview_branch.

Responses

query Skills($projectReference: String!) {  skills(projectReference: $projectReference) {    data {      id      name      description      sourcePath      editMode      allowedTools      ownerAgentId      shortName    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }    diagnostics {      kind      severity      sourceKind      sourcePath      sourceId      code      message      details    }  }}
{  "data": {    "skills": {      "data": [        {          "id": "string",          "name": "string",          "description": "string",          "sourcePath": "string",          "editMode": "structured",          "allowedTools": [            "string"          ],          "ownerAgentId": "string",          "shortName": "string"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      },      "diagnostics": [        {          "kind": "string",          "severity": "warning",          "sourceKind": "string",          "sourcePath": "string",          "sourceId": "string",          "code": "string",          "message": "string",          "details": {}        }      ]    }  }}

The SkillList! in data.skills.