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

# Agent skill

> Drop-in SKILL.md that teaches a coding agent to use StockContext over HTTP or MCP.

The canonical skill lives at [https://stockcontext.com/SKILL.md](https://stockcontext.com/SKILL.md). Point your agent at that URL rather than copying a snapshot that can drift. It is a tight `SKILL.md` with `name` and `description` frontmatter — the portable format across today's coding agents — teaching the eight HTTP tools, the trust model (verified values, typed refusals, decimal strings, the two clocks), and the output rules.

## Install it

Drop the file into your agent's skills directory. Paths vary by agent; the constant is "a `SKILL.md` with `name` + `description`."

<Tabs>
  <Tab title="Claude Code">
    ```bash theme={null}
    mkdir -p .claude/skills/stockcontext
    curl -sS https://stockcontext.com/SKILL.md -o .claude/skills/stockcontext/SKILL.md
    ```

    Project-scoped under `.claude/skills/`; use `~/.claude/skills/` for every project.
  </Tab>

  <Tab title="Codex CLI">
    ```bash theme={null}
    mkdir -p .codex/skills/stockcontext
    curl -sS https://stockcontext.com/SKILL.md -o .codex/skills/stockcontext/SKILL.md
    ```

    Codex reads the `name` and `description` frontmatter to decide when it applies.
  </Tab>

  <Tab title="Cursor">
    ```bash theme={null}
    mkdir -p .cursor/skills/stockcontext
    curl -sS https://stockcontext.com/SKILL.md -o .cursor/skills/stockcontext/SKILL.md
    ```

    Add it to the skills directory, or paste the body into a Cursor rule so it loads with the project.
  </Tab>
</Tabs>

<Note>
  Directory names vary across agents and versions; the constant is "a `SKILL.md` with `name` + `description` in the skills directory." If yours expects a different location, move the file there — the content is identical.
</Note>

The skill describes the eight REST tools and the trust model. Agents that support MCP can use the hosted endpoint at `https://stockcontext.com/mcp`; agents without MCP can still call each tool over plain HTTP with `POST /v1/tools/{name}` and the `X-API-Key` header.

<Card title="Agent recipes" icon="bot" href="/docs/agents/recipes">
  Once the skill is installed, these show the call sequences it should produce.
</Card>

<Card title="Agent instructions" icon="bot" href="/docs/agents/instructions">
  The same rules as a copy-paste system prompt.
</Card>
