# Skills

Structured knowledge files that teach AI coding agents how to work with Aftermath's tools, APIs, and protocols.

### Overview

Skills are self-contained Markdown documents designed to be fed into AI agents like [Claude](https://claude.ai/), [OpenCode](https://opencode.ai/), [Cursor](https://cursor.com/), [Windsurf](https://windsurf.com/), [Claude Code](https://docs.anthropic.com/en/docs/claude-code), and others. Each skill gives an agent the context, patterns, and best practices it needs to accomplish tasks within a specific part of the Aftermath ecosystem — without needing to figure things out from scratch.

All skills are open source and available in our GitHub repository:

{% embed url="<https://github.com/AftermathFinance/skills>" %}

### Available Skills

| Skill                                                                  | Description                                                                                   | Status   |
| ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------- |
| [API](https://github.com/AftermathFinance/skills/tree/main/skills/api) | Interact with the Aftermath public REST API — fetch market data, pool info, pricing, and more | ✅ Stable |

### Usage

#### Claude Projects / Custom Instructions

Copy the contents of the relevant skill file and paste it into your AI agent's system prompt or project knowledge base.

#### Opencode

Copy the relevant skill file `.config/opencode/skills/` folder.

#### Claude Code / Cursor / Windsurf

Point the agent at the skill file directly:

```
Read ./skills/api/aftermath-api.md and use it to help me fetch pool data from the Aftermath API.
```

Alternatively, clone the repository into your project and reference skills from there:

```bash
git clone https://github.com/AftermathFinance/skills.git
```

#### MCP or Tool-Augmented Agents

Include the skill file as a resource in your agent's context when making requests related to that domain.

### Contributing

We welcome community contributions. Whether you're improving an existing skill, fixing inaccuracies, or proposing a new one, see our [Contributing Guide](https://github.com/AftermathFinance/skills/blob/main/CONTRIBUTING.md) for guidelines.

Have a suggestion for a new skill? [Open an issue](https://github.com/AftermathFinance/skills/issues) on the repository.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aftermath.finance/for-developers/skills.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
