A reusable Codex Skill for investigating, reproducing, fixing, and verifying WordPress plugin support tickets.
This skill provides a standardized workflow for resolving customer-reported issues while protecting production environments. It guides Codex through production investigation, local development, root cause analysis, implementation, verification, and technical reporting.
The skill is designed for WordPress plugin development teams and is particularly useful for repositories containing multiple plugins or products.
- 🔍 Investigates customer-reported issues using WordPress Admin access.
- 🤖 Uses Agent Browser for browser automation and UI verification.
- 🔒 Enforces a read-only investigation workflow on production sites.
- 🧩 Automatically identifies the affected plugin(s) by matching the Plugin Name from the support ticket with the plugin's WordPress header.
- 🌿 Creates a new Git branch from
upstream/development. - 🛠 Reproduces issues locally before implementing fixes.
- ✅ Verifies the fix and checks for regressions.
- 🔀 Creates a pull request targeting
upstream/developmentafter the ticket is resolved. - 📝 Produces a structured technical investigation report.
- 🎯 Encourages minimal, focused code changes.
Before using this skill, ensure you have:
- Codex with support for custom skills
- Git
- A local checkout of your WordPress plugins repository
- Agent Browser installed for browser automation
Install the Agent Browser CLI:
npm install -g agent-browserInstall the required browser binaries:
agent-browser installOn Linux, you may also need to install browser dependencies:
agent-browser install --with-depsVerify the installation:
agent-browser --versionFor the latest installation instructions, visit:
https://github.com/vercel-labs/agent-browser
To make the skill available in every project:
mkdir -p ~/.codex/skills
cd ~/.codex/skills
git clone https://github.com/<your-username>/resolve-support-ticket.gitRestart Codex after installation.
resolve-wp-support-ticket/
├── SKILL.md
├── example.md
└── readme.md
Once the skill is installed, simply ask Codex to use it and provide the support ticket.
Example:
Use the Resolve WordPress Support Ticket skill.
# Support Ticket
## Plugin Name
Directorist - WooCommerce Pricing Plans
## Customer Message
Hello,
Every time I update a listing, the request enters an infinite loop and eventually returns a 500 timeout error.
When the WooCommerce Pricing Plans addon is disabled, updating listings works correctly.
Please investigate.
## Site Access
WordPress Admin URL:
https://example.com/wp-admin
Username:
admin
Password:
password
The skill will automatically:
- Identify the affected plugin(s) by matching the Plugin Name from the support ticket with the plugin's WordPress header.
- Investigate the issue on the production site using the provided credentials.
- Use Agent Browser to reproduce and inspect the issue when appropriate.
- Gather diagnostic information without modifying the production site.
- Fetch the latest upstream changes.
- Create a new branch from
upstream/development. - Reproduce the issue locally.
- Identify the confirmed root cause.
- Implement a minimal and safe fix.
- Verify the fix and perform regression testing.
- Commit and push the verified fix.
- Create a pull request targeting
upstream/developmentwith a description covering why the PR is needed, what was done, and reviewer-facing acceptance criteria. - Produce a structured technical report summarizing the investigation and implementation.
After completing the investigation, the skill produces a report containing:
- Products identified
- Investigation summary
- Reproduction steps
- Root cause analysis
- Solution summary
- Files modified
- Verification results
- Regression testing
- Remaining risks (if any)
- Suggested Git branch name
- Suggested commit message
- Pull request title
- Pull request URL
- Pull request description with why it is needed, what was done, and acceptance criteria that explain how a reviewer can verify the PR
For the best results:
- Provide the complete support ticket.
- Include WordPress Admin credentials when production investigation is required.
- Keep your local repository up to date.
- Ensure all related plugins are available in the repository.
- Allow the skill to validate the customer's findings instead of assuming they are correct.
- Verify fixes before submitting a pull request.
This project is licensed under the MIT License.