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

# OpenClaw Skill

> Teach your agent to use agntdata via a ClawHub skill.

## Overview

ClawHub skills are markdown-based instructions that teach your OpenClaw agent how to use external APIs. The agntdata skill gives your agent knowledge of all available endpoints and how to call them.

## Installation

Install the skill from ClawHub:

```bash theme={null}
clawhub install agnt-data
```

This downloads the skill to your OpenClaw skills directory.

## Configuration

Set your API key as an environment variable:

```bash theme={null}
export AGNTDATA_API_KEY=agnt_live_your_key_here
```

Or add it to your `.env` file:

```bash theme={null}
AGNTDATA_API_KEY=agnt_live_your_key_here
```

## How Skills Work

Unlike plugins that register native tools, skills work by:

1. **Teaching** — The skill markdown instructs your agent on available APIs
2. **Calling** — Your agent uses HTTP tools to call the agntdata API
3. **Interpreting** — The skill helps your agent parse and use responses

This approach is more flexible but requires your agent to have HTTP capabilities.

## Skill Contents

The agntdata skill includes:

* **API Overview** — Available platforms and operations
* **Authentication** — How to include the API key
* **Endpoints** — Detailed documentation for each endpoint
* **Examples** — Request and response examples
* **Error Handling** — How to handle common errors

## Usage Example

With the skill installed, your agent understands agntdata:

**User prompt:**

> "Find information about Stripe on LinkedIn"

**Agent response:**

> I'll fetch Stripe's LinkedIn profile using the agntdata API.
>
> *\[Makes HTTP request to api.agntdata.dev/v1/data/linkedin/get-company-details?username=stripe]*
>
> Stripe has 1.2 million LinkedIn followers. They're a financial infrastructure company based in San Francisco with about 8,000 employees. They were founded in 2010.

## Skill vs Plugin

| Feature            | Plugin                     | Skill               |
| ------------------ | -------------------------- | ------------------- |
| Installation       | `openclaw plugins install` | `clawhub install`   |
| Agent requirements | Plugin-compatible          | HTTP tool access    |
| Updates            | Manual plugin update       | Skill auto-syncs    |
| Customization      | Limited                    | Can edit skill file |
| Offline            | No                         | Yes (cached)        |

<Note>
  Use the **plugin** if you want native tool integration. Use the **skill** if you want more flexibility or your agent doesn't support plugins.
</Note>

## Customizing the Skill

Skills are editable markdown files. After installation, find the skill at:

```
~/.openclaw/skills/agnt-data/skill.md
```

You can:

* Add custom instructions for your use case
* Remove endpoints you don't need
* Add examples specific to your domain

## Updating the Skill

Update to the latest version:

```bash theme={null}
clawhub update agnt-data
```

## Uninstalling

Remove the skill:

```bash theme={null}
clawhub uninstall agnt-data
```

## Required Agent Capabilities

Your agent needs these capabilities to use the skill:

* **HTTP requests** — Ability to make GET/POST requests
* **JSON parsing** — Parse API responses
* **Environment variables** — Access to `AGNTDATA_API_KEY`

Most modern agents (Claude, GPT-4, etc.) support these when properly configured.

## Troubleshooting

<AccordionGroup>
  <Accordion title="Skill not loading">
    Ensure the skill is installed:

    ```bash theme={null}
    clawhub list
    ```
  </Accordion>

  <Accordion title="Agent can't make requests">
    Verify your agent has HTTP tool access enabled.
  </Accordion>

  <Accordion title="Authentication errors">
    Check that `AGNTDATA_API_KEY` is set and accessible to your agent.
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="OpenClaw Plugin" icon="plug" href="/sdks/openclaw-plugin">
    Alternative: Use a native plugin instead.
  </Card>

  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get started with agntdata.
  </Card>
</CardGroup>
