codex

Code Hygiene

Codex-native code hygiene workflow with scoped smell detection, cleanup, simplification, shrink passes, examples, and a focused worker agent.

0 on GitHubby fakoliv0.1.0Apache-2.0updated 4 months ago

Ships a Codex manifest but no marketplace file, so Codex can't add it by name yet. Add it to a local marketplace (.agents/plugins/marketplace.json).

Plugin code-hygiene in fakoli/code-hygiene. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (3)

  • code-hygiene

    Inspect recently changed or explicitly targeted code for smells, cleanup opportunities, language idioms, simplification, and safe source shrinking while preserving behavior. Use when the user asks to clean up, simplify, shrink, refine, make clearer, polish, reduce complexity, check code smells, or r

  • hygiene-worker

    Focused worker for Code Hygiene packets. Use only when a hygiene packet or explicit scoped file list is provided. Apply small behavior-preserving cleanup, simplification, idiom, or safe shrink edits using the bundled smell and example references, stay within scope, and return verification evidence.

  • smell-report

    Read cached Code Hygiene observations and produce a read-only findings report. Use when the user asks for cached smells, a hygiene report, or a non-editing summary of current findings.

Hooks (1)

  • PostToolUse

    PYTHONPATH="${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-.}}/src${PYTHONPATH:+:$PYTHONPATH}" python3 -m code_hygiene.hook.entry

View source on GitHub

Similar plugins

ecc

claudecodex

Harness-native ECC operator layer - 71 agents, 314 skills, 98 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses

200 skills · 98 commands · 71 agents · 1 MCP server · hooks

affaan-m/ECC 302,088

career-ops

claudecodex

Open-source AI job search that runs locally in your AI coding CLI: scan job portals, evaluate listings into a structured A-H report with a 1-5 score, tailor your CV, track applications

5 skills · hooks

career-ops-hq/career-ops 82,253

Skill: add headroom-ai compress() to a Python or TypeScript app to cut LLM input tokens (tool outputs, logs, JSON, chat history). No API key.

1 skill

headroomlabs-ai/headroom 79,508

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

Install the "AAS Automation Builder" workflow plugin from Agentic Awesome Skills.

20 skills

sickn33/agentic-awesome-skills 49,620

Code cleanup, refactoring automation, and technical debt management with context restoration

3 commands · 2 agents

wshobson/agents 42,461

Maintain Code Hygiene?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted