Skills

Get a Skill by slug

Reads one Skill by its slug. The answer has the full body and the current revision. Send that revision back as base_revision when you update the Skill. source names the Catalog Skill that the Skill was imported from, or is null.

get/context/skills/{slug}

Request

  • Base URL: https://api.adcrunch.dev
  • URL: https://api.adcrunch.dev/context/skills/{slug}
  • Auth: HTTP bearer

Path parameters

slugstring required

The Skill slug (its handle in your organization).

Response

The Skill, with its instruction body.

bodystring required

The agent instructions themselves — the SKILL.md-equivalent, in markdown.

createdAtnumber required

Milliseconds since the Unix epoch, UTC.

createdBystring required
descriptionstring required
idstring required
namestring required
revisionnumber required

Increments on every write. Send it back as base_revision to edit; a stale one answers 409.

slugstring required
updatedAtnumber nullable required

Milliseconds since the Unix epoch, UTC.

Example response

{
  "body": "## When to run\n\nEvery Monday, before the week starts.\n\n## Steps\n\n1. Read the last seven days of spend for each live campaign.\n2. Move budget to the campaigns under the target cost per action.\n3. Write down what you changed, and why.",
  "createdAt": 1790000000000,
  "createdBy": "usr_4d8b12",
  "description": "Use this every Monday to move budget towards the campaigns that reach the target cost per action.",
  "id": "skl_2d7e14",
  "name": "Weekly budget review",
  "revision": 3,
  "slug": "weekly-budget-review",
  "source": null,
  "updatedAt": 1790086400000
}

Changes

No recorded changes to this operation across all 1 revision of this API.