Skip to the guide
All guides

Install for your agent

Pick the install method for Claude, Codex, ChatGPT or Antigravity, then update, remove or recover it.

app WordPress DevKit 2.0.3checked reading 6 minutes

On this page

1. Get the pack

You need Git, Python 3.10 or newer, and an agent you can already use. Clone the source and run the later commands from that folder.

Text
git clone https://github.com/ehsanenaloo/wordpress-devkit.git
cd wordpress-devkit
python --version

2. Choose one install method

Claude plugin session

Use this method if you want the namespaced slash commands. Replace the path with your own checkout.

Text
claude --plugin-dir "C:\path\to\wordpress-devkit"

The flag loads the plugin for that command-line session only. Cloning the repository does not register a plugin, and the flag does not set up the desktop app. Check the available commands in the session you plan to use.

Google Antigravity

For a native plugin, download wp-devkit-antigravity-<version>.zip from the Releases page (opens in a new tab) and extract it. In the Antigravity CLI, install the extracted folder:

Text
agy plugin install "C:\path\to\wp-devkit"
agy plugin list

In Antigravity 2.0 or the standalone IDE, copy the extracted wp-devkit folder into your project's .agents/plugins/ folder. To use it in every project, copy it into ~/.gemini/config/plugins/ instead. Check the active skills in Customizations. Use only one install method per scope.

You can also install the skills by hand. The installer puts them in ~/.gemini/config/skills by default:

Text
python scripts/install.py --agent antigravity --preview
python scripts/install.py --agent antigravity

For global skills in the CLI, add --destination "~/.gemini/antigravity-cli/skills". For skills in one workspace, pass the .agents/skills folder of the WordPress project as the destination. Keep that folder outside the source checkout. In PowerShell you can use -Agent antigravity. The options for selecting skills, checking status, updating and removing work the same way.

Start a new conversation and ask for wp-devkit-security-review by name. Antigravity 2.0 and the CLI also accept /wp-devkit-security-review. The namespaced commands such as /wp-devkit:security-review work only in Claude. Google's plugin guide (opens in a new tab) and skill guide (opens in a new tab) cover client setup. Finding the files on disk does not prove that the client loaded them.

Manual skills for Codex

Preview first to see the complete skill folders that will be copied, then install them. The default folder is ~/.codex/skills.

Text
python scripts/install.py --agent codex --preview
python scripts/install.py --agent codex

Manual skills for Claude

The default folder is ~/.claude/skills. Manual skills do not add the plugin slash commands.

Text
python scripts/install.py --agent claude --preview
python scripts/install.py --agent claude

If your Python command is python3, use that name. In PowerShell you can run .\scripts\install.ps1 -Agent codex instead, or choose claude.

3. Check that it works in your project

Open the WordPress project you want to review. In Codex, select the installed skill or ask for it by name:

Text
$wp-devkit-site-audit-and-onboarding
Read this project’s instructions, classify its stack and propose the next review.
Do not edit files or run project bootstrap code.

Ask the agent to read the workflow and its engineering contract. Installed files alone do not show that the current session loaded them.

Use a custom folder

Pick a skills folder outside the DevKit checkout. If you use a custom CODEX_HOME, pass the folder with --destination, because the installer's default does not find it.

Text
python scripts/install.py --agent codex --destination "C:\path\to\custom-codex-home\skills" --preview
python scripts/install.py --agent codex --destination "C:\path\to\custom-codex-home\skills"

The installer follows a link above the folder you choose, such as /home linked to /var/home on Fedora Atomic. It refuses a folder that is itself a link. On Linux and macOS it also refuses a link that belongs to another user.

Update, remove or recover

When DevKit folders already exist, preview first and use the same destination as the original install. The installer refuses to replace or remove two kinds of folders: skills with local edits, and folders DevKit did not install. Copy anything you want to keep, then add --force. Use --status to see what changed.

Text
python scripts/install.py --agent codex --destination "C:\path\to\skills" --preview
python scripts/install.py --agent codex --destination "C:\path\to\skills" --replace

To uninstall, read the preview, then remove only the named DevKit folders:

Text
python scripts/install.py --agent codex --destination "C:\path\to\skills" --uninstall --confirm

If a rollback fails, list the retained workspaces and restore the right one. Replace the placeholder with a name from the list.

Text
python scripts/recover_distribution.py --destination "C:\path\to\skills"
python scripts/recover_distribution.py --destination "C:\path\to\skills" --restore .wp-devkit-<workspace>

If the list is empty but an install still fails with a lock message, no install is running. You can then clear the lock:

Text
python scripts/recover_distribution.py --destination "C:\path\to\skills" --clear-stale-lock

Note

The installer copies the complete skills and their references for either agent. Copying only the Codex wrappers does not give you a working install. Recovery handles failures the installer catches, but it cannot promise a clean recovery after a power loss.

ChatGPT and Codex plugin

Download wp-devkit-<version>.zip from the Releases page (opens in a new tab) and extract it. The plugin.json file at its root finds all 20 complete skills in skills/. The included .agents/plugins/marketplace.json points to that root and lists WordPress DevKit for installation.

ChatGPT desktop

  1. Open the extracted wp-devkit folder as your project in Work mode or Codex.
  2. Restart the desktop app, then open the Plugins Directory.
  3. Choose WordPress DevKit and install wp-devkit.
  4. Start a new chat and select the skill for your task.

This local setup needs plugin support in your client. ChatGPT on the web and workspace publishing use other supported setup paths.

Codex marketplace

If your CLI supports plugin marketplaces, register the extracted folder:

Text
codex plugin marketplace add "C:\path\to\wp-devkit"
codex plugin marketplace list

Registering makes the catalog available. If codex plugin --help lists add, install with this command:

Text
codex plugin add wp-devkit@wordpress-devkit

The CLI checked locally accepts this selector. If your client lacks the command, use the desktop install or the manual skill install above. Check the skill selection in a new session. The package has no connected service, no account login and no automatic enabling. After an update, refresh or reopen the marketplace and check the installed copy in a new chat.

These steps follow the official OpenAI setup guide (opens in a new tab). Package validation checks the file structure and resource paths. Whether the client really loads the plugin is a separate check.