Skip to content

snerdx/codex-workbench

v0.2.0MIT

An independent Codex plugin with skills for consistent, secure, and verified development.

Codex Workbench: reusable skills for deliberate development

Codex Workbench

Give Codex a repeatable way to work in your repository.

An independent Codex plugin with seven skills for project setup, implementation, testing, review, documentation, and handoffs. Bring project context and verification evidence into the same workflow while preserving existing repository rules.

Toolkit checks License: MIT Node.js 20 or later

Install / See the demo / Explore the skills / Design decisions

Distribution status: project-local installation is covered by automated tests. Plugin packaging is included; live plugin-host installation and live Codex skill discovery still require pilot verification. Independent project, not affiliated with or endorsed by OpenAI.

Why this exists

A developer adopting Codex needs more than a prompt: the repository's constraints, commands that have been inspected, boundaries for editing, and a handoff that distinguishes tested work from assumptions. Those details are easy to lose between tasks or developers.

Workbench packages that process as reusable skills. It gives an existing project a shared starting point, then keeps application facts and verification records under the team's control.

Quick start

Requires Node.js 20+, Git, and Codex CLI or the Codex IDE extension. The toolkit uses the Node standard library; no package installation is needed.

1. Preview and install

Clone Workbench alongside your application. Replace the example target with your existing project directory.

git clone https://github.com/snerdx/codex-workbench.git
cd codex-workbench
node scripts/install.mjs --target "/absolute/path/to/your-project" --dry-run
node scripts/install.mjs --target "/absolute/path/to/your-project"

On Windows, use a quoted path such as "C:/Projects/my-app". Review the preview first. Existing root instructions are preserved; conflicting skill files stop installation. Update and recovery behavior.

2. Initialize your project in Codex

Open your application repository, confirm the kit- skills appear in /skills or the $ selector, and send:

$kit-project-init
Inspect this repository and configure its project facts and verification
commands. Preserve existing conventions and explain missing decisions.

Codex uses the setup workflow to inspect the project and complete its context. If root AGENTS.md already exists, merge the suggested routing without replacing the team's rules. Installation alone does not run application commands or change permissions.

3. Implement a bounded task

$kit-implement-change
Goal: Reject expired password-reset links.
Acceptance criteria: Expired links fail without changing the password;
valid links still work. Add regression coverage and report actual results.
Constraints: Preserve the current public API.

Use your own application's requirements. For setup gaps, run the readiness helper from your application directory:

node .agents/skills/kit-project-init/scripts/doctor.mjs --target .

It reports unfinished configuration. It does not run your application tests or independently verify permission controls.

See the installer in action

Recorded CLI output: preview writes nothing, installation adds Workbench, and the readiness helper identifies unfinished setup

Actual helper output captured in a disposable empty project. File lists are abbreviated and temporary paths are shortened for presentation. The readiness check intentionally reports incomplete setup. No live Codex conversation or application-test success is staged. Full captured output / Reproduce the capture.

Seven skills, one development workflow

SkillUse it toResult
$kit-project-initOnboard an existing or new repositoryProject facts, inspected commands, and explicit setup gaps
$kit-implement-changeImplement a scoped feature or bug fixFocused edits, relevant checks, and reported evidence
$kit-review-changeReview specified code or a diffRead-only findings with triggers, evidence, and confidence
$kit-test-changeTest an agreed behavior contractBehavior checks, observed results, and coverage gaps
$kit-refactorImprove code structureBehavior-preserving changes with verification limits
$kit-document-changeExplain verified code and workflowsDocumentation grounded in source and actual commands
$kit-handoffTransfer or resume workCurrent state, check results, blockers, and next action

These are selectable workflows, not seven independent reviewers. Applying a review skill in the implementing session remains self-review.

How it fits together

flowchart TD
    Request[Developer request and acceptance criteria] --> Skill[Selected Workbench skill]
    Context[Project rules, facts, and command registry] --> Skill
    Skill --> Work[Scoped implementation or read-only review]
    Work --> Evidence[Observed checks, findings, and limitations]
    Evidence --> Handoff[Project handoff when edits are authorized]
    Controls[Team-managed Codex permissions] -. constrain execution .-> Work
    Evidence --> Gate[Team CI and independent review]
    Gate --> Release[Authorized merge or release]

Skills guide work; the organization enforces access and release policy. Project facts live in docs/codex-kit/, skills in .agents/skills/, and the application retains its own root instructions. Team security and rollout.

Engineering choices worth inspecting

DecisionWhy it mattersEvidence
Preview before writes; preserve existing filesTeams can adopt Workbench without replacing repository rulesInstaller and regression tests
Check update ownership with SHA-256 receiptsCustomized skills require a manual merge instead of silent replacementUpdate implementation
Keep reviews read-onlyA review request does not mutate source or session notesReview workflow
Separate setup attestations from enforcementReadiness records do not masquerade as actual permission controlsReadiness helper
Carry MIT notices with installed resourcesToolkit notices travel with skills and project templatesLicense and preservation tests

Read the design rationale and tradeoffs.

Quality and current limits

  • 14 regression tests cover preservation, update conflicts, destination links, readiness, license notices, and validator failure cases.
  • GitHub Actions runs package validation and tests on Linux and Windows.
  • 11 predicate cases demonstrate a behavior-preserving refactor, including truthy non-boolean inputs.
  • Package checks validate listed files, supported local link syntax, skill metadata shape, and JavaScript syntax. They do not prove instruction compliance or application safety.

Live plugin installation, live CLI/IDE discovery, and model behavior under the evaluation scenarios remain pilot work. Full skill-creator YAML validation is also outstanding. Verification record / CI runs.

To inspect the mechanics yourself, run from this repository:

node scripts/validate-kit.mjs
node --test tests/toolkit.test.mjs

Project and contribution

Created by Laurie Andreola, with Codex-assisted development. This project explores how reusable skills, repository context, non-destructive installation, and verification evidence can support consistent AI-assisted development.

The next milestones are live plugin-host verification, observed skill discovery in supported clients, and behavioral evaluation in isolated projects. Measured team-adoption results will be reported when available.

For a bug or proposed improvement, open an issue with the command or workflow, environment, expected result, and redacted evidence. Before proposing code changes, run the package checks and relevant regression tests. Do not include credentials or private project data.

Installation and updates / Design decisions / Maintaining the toolkit / Changelog

License

MIT, copyright 2026 Laurie Andreola. Retain the copyright and permission notice with copies or substantial portions of the toolkit. Using Workbench does not require open-sourcing your application. Existing application licenses are preserved.