Codex

devkit-create-addon

Create a new AIWG addon with AI-guided setup

104 stars

Best use case

devkit-create-addon is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

It is a strong fit for teams already working in Codex.

Create a new AIWG addon with AI-guided setup

Teams using devkit-create-addon should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/devkit-create-addon/SKILL.md --create-dirs "https://raw.githubusercontent.com/jmagly/aiwg/main/.agents/skills/devkit-create-addon/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/devkit-create-addon/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How devkit-create-addon Compares

Feature / Agentdevkit-create-addonStandard Approach
Platform SupportCodexLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create a new AIWG addon with AI-guided setup

Which AI agents support this skill?

This skill is designed for Codex.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Create AIWG Addon

Create a new standalone addon with AI assistance.

## Usage

```
/devkit-create-addon <name> [--interactive]
```

## Arguments

| Argument | Required | Description |
|----------|----------|-------------|
| name | Yes | Addon name (kebab-case recommended) |

## Options

| Option | Description |
|--------|-------------|
| --interactive | Enable interactive mode with guided questions |

## What This Creates

```
agentic/code/addons/<name>/
├── manifest.json      # Addon configuration
├── README.md          # Documentation
├── agents/            # Agent definitions
├── commands/          # Slash commands
└── skills/            # Auto-triggered skills
```

## Interactive Mode

When `--interactive` is specified, I will ask:

1. **Purpose**: What is the primary purpose of this addon?
2. **Capabilities**: What specific capabilities should it provide?
3. **Initial agents**: Should I create any starter agents?
4. **Initial commands**: Should I create any starter commands?
5. **Core status**: Should this be a core addon (auto-installed)?

## Examples

```bash
# Quick creation
/devkit-create-addon security-scanner

# Interactive guided creation
/devkit-create-addon code-metrics --interactive
```

## Execution

1. **Validate name**: Ensure name follows kebab-case convention
2. **Check existence**: Verify addon doesn't already exist
3. **Gather info**: In interactive mode, ask clarifying questions
4. **Generate manifest**: Create manifest.json with appropriate fields
5. **Create structure**: Build directory structure
6. **Generate README**: Create documentation with usage instructions
7. **Optionally create components**: If interactive, offer to create initial agents/commands
8. **Report success**: Show created files and next steps

## CLI Equivalent

For non-interactive creation, you can also use:

```bash
aiwg scaffold-addon <name> --description "..." --author "..."
```

## Related Commands

- `/devkit-create-agent` - Add agent to addon
- `/devkit-create-command` - Add command to addon
- `/devkit-create-skill` - Add skill to addon
- `/devkit-validate` - Validate addon structure

## References

- @$AIWG_ROOT/agentic/code/addons/aiwg-dev/README.md — aiwg-dev addon overview
- @$AIWG_ROOT/docs/extensions/overview.md — Extension system architecture
- @$AIWG_ROOT/docs/extensions/creating-extensions.md — Guide to building custom extensions
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference including scaffold-addon command
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/god-session.md — Scope rules for addon design