---
title: "Recall Skill"
method: POST
path: "/api/skills/recall"
tags: ["skills"]
---

# Recall Skill

`POST /api/skills/recall`

Select appropriate skill based on task

This is the core interface: Vibe Planner calls it to get relevant skill

Args:
    request_data: Recall request with task and llm_id

Returns:
    Selected skill or null if no relevant skill found

## Request body

- RecallRequest — Skill recall request
  - `task` string, required — User task description
  - `llm_id` string, required — LLM ID to use for selection

## Response `200`

Successful Response

- RecallResponse — Skill recall response
  - `skill` SkillDetail — Skill complete information
    - `name` string, required — Skill name
    - `description` string, required — Skill description
    - `when_to_use` string, required — When to use this skill
    - `tags` string[] — Skill tags
    - `content` string, required — Complete SKILL.md content
    - `execution_flow` string, required — Execution flow
    - `files` string[] — Files in skill directory
    - `path` string, required — Skill directory path
  - `reasoning` string, required — Reasoning for selection

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.net/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xorbitsai/xagent/revisions/33e4ba4936ad/schema)
