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

# Agent Skills

> Give your AI agent blockchain data access with machine payments in one command.

Agent skills let your AI agent query Allium's blockchain data using machine payments — without writing any payment boilerplate. Install the skills, run your agent, and ask questions in natural language.

This works with both Tempo MPP and x402 under the hood.

## Setup

<Steps>
  <Step title="Install agent skills">
    ```bash theme={null}
    npx skills add allium-labs/skills --yes
    ```
  </Step>

  <Step title="Run Claude">
    Start Claude Code or any compatible agent and ask about Allium data.
  </Step>
</Steps>

That's it. The agent skills handle wallet management, payment signing, and API calls automatically.

## Example Queries

Once the skills are installed, try asking your agent:

<CardGroup cols={1}>
  <Card title="Token prices" icon="chart-line">
    "Fetch the latest price for SOL"
  </Card>

  <Card title="On-chain analytics" icon="magnifying-glass-chart">
    "Analyze tokenized asset and RWA activity using Allium Explorer"
  </Card>
</CardGroup>

The agent will use the installed skills to make paid API calls to Allium, handling the full payment flow transparently.

## How It Works

When your agent receives a query about blockchain data:

1. The agent skill identifies the relevant Allium API endpoint
2. It makes the API request and receives a `402 Payment Required` response
3. The skill automatically signs a USDC payment authorization
4. It retries the request with the payment attached
5. The agent receives the data and presents it to you

All of this happens within the agent's tool execution — you just see the results.

## Related Resources

<CardGroup cols={2}>
  <Card title="Tempo MPP" icon="bolt" href="/ai/machine-payments/tempo-mpp">
    The simplest programmatic integration
  </Card>

  <Card title="x402" icon="credit-card" href="/ai/machine-payments/x402">
    Full manual control over the payment flow
  </Card>
</CardGroup>
