---
title: "Suggest distilled procedural skills matching a goal"
method: GET
path: "/api/agent/skills/suggest"
tags: ["Agent"]
---

# Suggest distilled procedural skills matching a goal

`GET /api/agent/skills/suggest`

## Request

- Base URL: `http://localhost:38200`
- URL: `http://localhost:38200/api/agent/skills/suggest`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `token`

T376. Read side of procedural skill distillation. Same matches `agent_boot`'s `skills` slot surfaces proactively.

## Query parameters

- `goal` string, required
- `workspace` string
- `limit` integer

## Response `200`

Matching skill suggestions.

- object
  - `suggestions` object[]
    - `contextId` integer
    - `name` string
    - `description` string
    - `successCount` integer
    - `similarity` number, nullable

## Other responses

- `400`: Request body/query failed Zod validation.
- `401`: Missing or invalid credentials.

---

[API](https://skmtc.dev/contextq/apis/contextq-api.md) · [All operations](https://skmtc.dev/contextq/apis/contextq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/contextq/apis/contextq-api/revisions/7afc44056a22?raw)
