<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# building-custom-wordlists — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `scrape --target <path>` | Scrape website for wordlist generation. |
| `profile --target <path>` | Generate profiled wordlist from target intelligence. |
| `mutate --target <path>` | Apply mutation rules to existing wordlist. |

## Usage Examples

```bash
# Scrape website for wordlist generation.
node scripts/agent.js scrape --target ./sample

# Generate profiled wordlist from target intelligence.
node scripts/agent.js profile --target ./sample

# Apply mutation rules to existing wordlist.
node scripts/agent.js mutate --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "building-custom-wordlists"
  }
}
```
