AI Agent Toolkit
Claude Code
Prerequisites
Before you begin, make sure Claude Code is installed on your machine.
Install Claude Code globally:
npm install -g @anthropic-ai/claude-codeVerify the installation:
claude --versionInstallation Guide
Step 1: Clone the Plugin Repository
Clone the plugin repository to your local machine:
git clone <repo-url> ~/pluginsAfter cloning, your folder structure should look like this:
~/plugins/
├── marketplace.json ← Plugin registry
├── doku-codegen/ ← Plugin directory
│ ├── plugin.json
│ ├── skills/
│ ├── agents/
│ └── ...
└── other-plugin/
marketplace.jsonmust 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:
Inside the session, open the plugin manager:
Then:
Select Marketplace
When prompted for the repository URL, enter:
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:
After installation, reload the plugins:
Step 4: Use the Plugin
You’re ready to use the plugin.
Example command:
List of Commands
/generate [payment-method]
Main entry point full setup + generate
/spec [payment-method]
Fetch and save a specific API spec
/checklist
Run production readiness checks
/test
Send a real request to DOKU sandbox to verify signature and connectivity
/postman
Export a Postman collection with a signature pre-request script
/save-session [note]
Snapshot the current generation state
/resume-session
Continue from a saved snapshot
Troubleshooting
/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
Cursor
Prerequisites
Before you begin, make sure you have:
Cursor Desktop IDE installed (this plugin only works with the desktop IDE).
Access to the DOKU Codegen repository.
Installation Guide
Step 1 - Add the Plugin Repository
Open the Cursor Desktop IDE.
Go to Customize from the left sidebar.
Under Repositories, click the + icon.
Enter the repository URL:
Note: Make sure you have access to the repository before proceeding.
Step 2 - Install the Plugin
Navigate to Customize → Plugins.
Search for:
Click Add on DOKU Codegen.
Completely quit Cursor (Cmd + Q) and reopen it.
Note: Plugins are only loaded when Cursor starts.
Step 3 - Verify the Installation
After restarting Cursor:
Go to Customize → Plugins.
Confirm DOKU Codegen appears in the plugin list.
Opening the plugin should display:
2 Sub-agents
7 Commands
8 Skills
1 Hooks Group
You can also verify from Agent Chat by typing:
It should autocomplete to:
Step 4 - Configure Your Credentials
You'll need your DOKU API credentials:
CLIENT_ID
SECRET_KEY
These can be obtained from: DOKU Dashboard → Integration → API Keys
You can configure them in one of two ways:
Option 1 - Let the Plugin Prompt You (Recommended)
In Agent Chat, run:
The plugin will automatically ask for your credentials and save them locally.
Option 2 - Create the Configuration File Manually
Create:
Example:
Step 5 - Generate Your First Client
Open your project in Cursor (File → Open Folder).
Then, in Agent Chat, run:
The plugin will automatically:
Detect your project's language and framework.
Fetch the latest DOKU API specification.
Generate a production-ready API client.
Run quality and security validation.
Provide a production readiness checklist.
List of Commands
/generate [payment-method]
Main entry point full setup + generate
/spec [payment-method]
Fetch and save a specific API spec
/checklist
Run production readiness checks
/test
Send a real request to DOKU sandbox to verify signature and connectivity
/postman
Export a Postman collection with a signature pre-request script
/save-session [note]
Snapshot the current generation state
/resume-session
Continue from a saved snapshot
Codex
Last updated