Scrub API
POST/v1/tools/open_skillfree

Open a skill

A skill's instructions, by its name, free: its SKILL.md, and the files beside it by path. Follow the instructions; when they point to a file (references/checks.md), open it by giving its path as file.

Fields

FieldTypeDefaultWhat it is
namestringRequiredThe skill's name, as list_skills gives it
filestringNoneA file of the skill by its path, references/checks.md; its SKILL.md if left out

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/open_skill \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"…"}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.