> For the complete documentation index, see [llms.txt](https://developers.doku.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.doku.com/developer-kit/ai-agent-toolkit.md).

# AI Agent Toolkit

## Claude Code

***

### Prerequisites

Before you begin, make sure [Claude Code](https://www.anthropic.com/claude-code?utm_source=chatgpt.com) is installed on your machine.

Install Claude Code globally:

```bash
npm install -g @anthropic-ai/claude-code
```

Verify the installation:

```bash
claude --version
```

***

### Installation Guide

#### Step 1: Clone the Plugin Repository

Clone the plugin repository to your local machine:

```bash
git clone <repo-url> ~/plugins
```

After cloning, your folder structure should look like this:

```
~/plugins/
├── marketplace.json        ← Plugin registry
├── doku-codegen/           ← Plugin directory
│   ├── plugin.json
│   ├── skills/
│   ├── agents/
│   └── ...
└── other-plugin/
```

> `marketplace.json` must exist at the root of the plugins directory. Claude Code uses this file to discover available plugins.

***

#### Step 2: Register the Marketplace

Start a Claude Code session:

```bash
claude
```

Inside the session, open the plugin manager:

```bash
/plugins
```

Then:

1. Select **Marketplace**
2. When prompted for the repository URL, enter:

```
git@github.com:PTNUSASATUINTIARTHA-DOKU/doku-codegen.git
```

> Make sure your GitHub SSH key is configured correctly before continuing.\
> If you receive a permission error, verify that your SSH key has access to the repository.

***

#### Step 3: Install the Plugin

Inside the Claude Code session, run:

```bash
/plugin install doku-codegen
```

After installation, reload the plugins:

```bash
/reload-plugins
```

***

#### Step 4: Use the Plugin

You’re ready to use the plugin.

Example command:

```bash
/doku-generate checkout
```

***

### Troubleshooting

| Problem                                        | What to Check                                                         |
| ---------------------------------------------- | --------------------------------------------------------------------- |
| `/plugin install` says marketplace not found   | Verify the plugins path in `settings.json` is correct                 |
| Plugin installed but commands are unavailable  | Run `/reload-plugins` after installation                              |
| `marketplace.json not found` error             | Ensure `marketplace.json` exists at the root of the plugins directory |
| Permission denied when registering marketplace | Confirm your SSH key has access to the GitHub repository              |

***

### Tips

* Explore additional plugins listed in `marketplace.json`
* Review `plugin.json` for supported commands and configuration
* Check the `skills/` and `agents/` directories to understand plugin capabilities

## Codex

{% hint style="info" %}
Coming soon!
{% endhint %}

## Cursor

{% hint style="info" %}
Coming soon!
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://developers.doku.com/developer-kit/ai-agent-toolkit.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.
