> ## Documentation Index
> Fetch the complete documentation index at: https://docs.struct.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Skills

> Give Struct Agent Markdown instructions for how your team handles something.

A skill is Markdown instructions that Struct's agents find by search and follow: an incident procedure or anything else a team repeats. Say when it applies and what to do; reuse an existing skill when it covers the same thing.

## Search before creating

```bash theme={null}
struct skills search "Redis connection pool" --json
struct skills list --json
```

`search` covers native skills and every configured external source, such as a Notion parent page. Each result has a `ref`: `struct:ID` for a native skill or `notion:SOURCE_ID:PAGE_ID` for an external one. If the JSON reports `partial: true` or a source notice, results or source coverage may be incomplete; say so instead of concluding that no skill exists. `list` shows native skills only.

Read a match with `struct skills show REF --json`. Reuse it when the requested change belongs there. External skills are read-only in Struct: give the person the page URL from `show` and ask them to edit it in Notion.

To use a Notion page tree as a skill source, see [Notion](https://docs.struct.ai/integrations/notion) and `struct skills sources` in the [CLI reference](https://docs.struct.ai/reference/cli-customize.md).

## Write the skill

Save the skill as plain Markdown in `skill.md`, in whatever shape suits it. Keep secrets out of it.

```bash theme={null}
struct skills create --title "Redis connection pool exhausted" --description "Connection errors or a sustained pool wait" --file skill.md --json
```

Creation is not idempotent: after a lost response, search before retrying. To edit a native skill, run `show --json` with its raw ID (the part after `struct:`), take the version and `markdownBody` from that same result, and use `struct skills edit SKILL_ID --file skill.md --expected-version VERSION`.

## Choose who can use it

A skill is global by default: every agent can use it, and any member can change it. **Available in the next CLI release:** add `--scope CHANNEL_ID` to `create` or `edit` to keep it to that Slack channel's teammate, and use `edit --global` to undo that. Changing a scoped skill, moving a skill into or out of a scope, or creating a scoped one needs Configure permission and agent customization on the workspace; without them Struct refuses with `configure_required` or `agent_customization_disabled` and saves nothing. Other agents and channels never see a scoped skill. People can read every skill.

MCP clients have the same operations; see [Skills tools](https://docs.struct.ai/mcp/tools/skills.md).

## Verify

Read the saved skill. Try it against an appropriate example without performing unrequested production changes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.