Agent skill · Code Review & Quality

plankton-code-quality

Write-time code quality enforcement using Plankton — auto-formatting, linting, and Codex-powered fixes on every file edit via hooks.

mturacgithub.com/mturacGitHub ↗
codexcopilotcursorMIT
Install
npx skills add mturac/everything-openai-codex --skill plankton-code-quality --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/plankton-code-quality/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 84
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Plankton Code Quality Skill Integration reference for Plankton (credit: @alxfazio), a write-time code quality enforcement system for OpenAI Codex. Plankton runs formatters and linters on every file edit via PostToolUse hooks, then spawns Codex subprocesses to fix violations the agent didn't catch. ## When to Use - You want automatic formatting and linting on every file edit (not just at commit time) - You need defense against agents modifying linter configs to pass instead of fixing code - You want tiered model routing for fixes (Fast for simple style, Standard for logic, Deep for types) - You work with multiple languages (Python, TypeScript, Shell, YAML, JSON, TOML, Markdown, Dockerfile) ## How It Works ### Three-Phase Architecture Every time OpenAI Codex edits or writes a file, Plankton's `multi_linter.sh` PostToolUse hook runs: ``` Phase 1: Auto-Format (Silent) ├─ Runs formatters (ruff format, biome, shfmt, taplo, markdownlint) ├─ Fixes 40-50% of issues silently └─ No output to main agent Phase 2: Collect Violations (JSON) ├─ Runs linters and collects unfixable violations ├─ Returns structured JSON: {line, column, code, message, linter} └─ Still no output to main agent Phase 3

What's inside
Steps it walks through
  1. When to Use
  2. How It Works
  3. Three-Phase Architecture
  4. What the Main Agent Sees
  5. Config Protection (Defense Against Rule-Gaming)
  6. Package Manager Enforcement
  7. Setup
  8. Quick Start
  9. Per-Project Integration
  10. Language-Specific Dependencies
  11. Pairing with ecc
  12. Complementary, Not Overlapping
  13. Recommended Combination
  14. Avoiding Hook Conflicts
Commands it runs
Install core dependencies
brew install jaq ruff uv
Install Python linters
uv sync --all-extras
Start OpenAI Codex — hooks activate automatically
codex
export ecc_HOOK_PROFILE=strict
export ecc_QUALITY_GATE_FIX=true
export ecc_QUALITY_GATE_STRICT=true
More from everything-openai-codex
All skills →
About this skill
What does the plankton-code-quality skill do?

Write-time code quality enforcement using Plankton — auto-formatting, linting, and Codex-powered fixes on every file edit via hooks.

How do I install it?

Run `npx skills add mturac/everything-openai-codex --skill plankton-code-quality --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From mturac/everything-openai-codex, a repository with 84 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going