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

## Agent Script

| Command | Description |
|---------|-------------|
| `scaffold --type <exploit|auxiliary|post> --name <name> --service <svc>` | Scaffold new Metasploit module |
| `validate --module <path>` | Validate module syntax and best practices |
| `document --module <path>` | Generate module documentation |
