> ## Documentation Index
> Fetch the complete documentation index at: https://99ed7fc-spikonado.manicule.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://99ed7fc-spikonado.manicule.dev/docs/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://99ed7fc-spikonado.manicule.dev/docs/api/mcp.
> Every agent surface: https://99ed7fc-spikonado.manicule.dev/docs/.well-known/llms-manifest.json

# AGENTS.md and skills (/docs/use/instructions-and-skills)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 731 · updated: 2026-11-28 -->
Related: [Projects and threads](/docs/use/projects-and-threads.md), [AI models and providers](/docs/use/models-and-providers.md), [Agent tools and integrations](/docs/use/agent-tools.md), [Hardware development](/docs/use/hardware.md), [Purchases and approvals](/docs/use/purchases.md), [GitHub integration](/docs/use/github.md)

> Set project rules with AGENTS.md and add workflows with SKILL.md. Covers file locations, precedence, and requesting skills.

Use `AGENTS.md` to give Sprocket project rules, such as test commands and coding conventions. Use skills to define workflows the agent loads when a task needs them.

## AGENTS.md

Sprocket loads instructions from:

1. `~/.agents/AGENTS.md`, your personal file for every project.
2. Every `AGENTS.md` from the project root down to the folder you opened.

Each file applies to the folder that contains it and everything below it. Deeper files win when instructions conflict. Sprocket tells the agent to check for more `AGENTS.md` files when it moves into a subfolder.

Sprocket reads up to 32 KiB from your personal file and up to 32 KiB across all project files. It cuts off text past those limits.

## Skills

A skill is a folder with a `SKILL.md` file that describes a workflow. The agent sees each skill's name and description and reads its instructions when a task matches. To request a skill, type `$name` in the composer. The `/` menu lists skills that require an explicit request.

### Add a skill

Create a folder named after the skill with a `SKILL.md` inside it:

```md title=".agents/skills/release-notes/SKILL.md"
---
name: release-notes
description: Use when writing release notes from merged pull requests.
---

1. List the pull requests merged since the last tag with `gh pr list --state merged`.
2. Group them under Features, Fixes, and Other.
```

Both `name` and `description` are required. The name must match the folder name and contain 1 to 64 lowercase letters, digits, or hyphens. It can't start or end with a hyphen or contain consecutive hyphens.

Add `disable-model-invocation: true` to the frontmatter to hide a skill from the agent's list. Request it with `$name` or `/name`.

### Where skills live

Sprocket loads skills from these locations, in order. When skills share a name, the first match wins:

1. `.sprocket/skills/` in the project root
2. `.agents/skills/` in the project root
3. `~/.sprocket/skills/`
4. `~/.agents/skills/`
5. Skills built into Sprocket

The project root is the git repository root, or the working directory outside git. Sprocket loads up to 64 skills.

### Built-in skills

Sprocket ships skills for browser and desktop automation, UI design, hardware, and purchases. Enabled integrations add skills such as PCB design and deployment once ready on this computer. Type `$` in the composer to browse the available skills.

These built-in skills require an explicit request:

| Skill         | What it does                                         |
| ------------- | ---------------------------------------------------- |
| `/cleanup`    | Cleans up the agent's latest design and code changes |
| `/recover-pr` | Brings an old pull request up to date                |
| `/bro`        | Restates the agent's last message in plain language  |
