Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

11 Essential Codex Skills to Supercharge Your AI Coding Agent

This comprehensive guide details 11 must-install Codex Skills that transform AI coding agents into reliable engineering partners, covering installation methods, skill registries, and deep dives into each skill's workflow, pros, cons, and ideal use cases for planning, TDD, CI debugging, frontend design, testing, MCP building, code auditing, PR review, long-term memory, document parsing, and context management.

What Are Codex Skills?

Codex Skills are instruction packages centered on a SKILL.md file. At startup, Codex reads only the names and descriptions of all installed skills (consuming ~2% of the context budget). When a task is issued, the system automatically matches and loads the full instructions for relevant skills; if no match occurs, zero additional context is used. This progressive loading mechanism saves 80–95% of tokens compared to traditional prompt stuffing.

The format is an open standard: the same SKILL.md works unmodified across Codex CLI, Claude Code, Gemini CLI, Cursor, and GitHub Copilot.

Skill Scopes

Global : ~/.agents/skills/ (shared by all projects)

Project : .codex/skills/ (version-controlled with the repo)

Session : .codex/session/skills/ (ephemeral, current run only)

Trigger Modes

Explicit : type $skill-name in the CLI

Implicit : automatic activation when the task description matches the skill's description

Installation Methods

1. Manual Clone (works for any skill)

# Create Codex skills directory
mkdir -p ~/.agents/skills

# Clone skill (example: superpowers)
git clone https://github.com/obra/superpowers.git ~/.agents/skills/superpowers

# For Codex App, also sync to .codex/skills
mkdir -p ~/.codex/skills
cp -r ~/.agents/skills/superpowers ~/.codex/skills/

2. Official $skill-installer (recommended for official skills)

# Install official skill
$skill-installer <skill-name>

# Install experimental skill
$skill-installer install https://github.com/openai/skills/tree/main/skills/.experimental/<skill-name>

3. Community Automation Tools

@supercorks/skills-installer : npx @supercorks/skills-installer install — one-click install, supports Git sparse checkout and Codex Agent conversion

@sstar/skill-install : skill-install install [URL or local file] --tool codex — public URLs, wikis, local files; auto-extract & validate

@goodpostidea-tech/skills : npx @goodpostidea-tech/skills add [repo-url] --skill [name] — install from any GitHub repo; interactive tool selection

@bbhxwl/skills : npx @bbhxwl/skills install [name] --target codex — registry-based install with update/uninstall support

After installation, run codex restart to reload skill metadata (clears session cache and re-reads trigger keywords/preconditions from SKILL.md).

Tip : Share a single skill directory across all AI tools with a symlink: ln -s ~/.claude/skills ~/.agents/skills

Where to Find More Skills

TokRepo — 500+ skills, Chinese support, community voting, one-click install commands — https://tokrepo.com

Anthropic Official Skills — reference implementation of SKILL.md spec — https://github.com/anthropics/skills

VoltAgent/awesome-agent-skills — community-curated awesome list including official skills — https://github.com/VoltAgent/awesome-agent-skills

OpenAI Codex Skills Catalog — official Codex skill directory — https://github.com/openai/skills

ComposioHQ/awesome-codex-skills — Composio-curated Codex skill selection — https://github.com/ComposioHQ/awesome-codex-skills

SkillsMP — 700k+ skills, intelligent filtering — https://skillsmp.com

Quick batch install: npx antigravity-awesome-skills --codex (requires antigravity-awesome-skills package).

11 Must-Install Skills

Skill 1: create-plan

Repo : https://github.com/openai/skills/tree/main/skills/.experimental/create-plan

Install : $skill-installer install create-plan or via LobeHub.

One-liner : Forces Codex to output a reviewable execution plan before writing any code.

Solves the "prompt-first chaos" where a complex task (e.g., "convert this monolith admin module to microservices") causes the agent to start coding immediately, waste tens of thousands of tokens on wrong directions, and require repeated restarts. After installation, Codex emits a structured <NAME>_PLAN.md for your approval before implementation — mirroring a real architect's workflow. Since the January 2026 update, create-plan is partially built into Codex CLI; press Shift+Tab to toggle between Plan and Code modes.

Pros : Drastically reduces rework; ensures high-level correctness first; works for all complex tasks.

Cons : Extra confirmation step; slightly tedious for high-frequency simple tasks.

Best for : Multi-file, multi-module medium/large tasks; projects requiring collaborative design review.

Skill 2: Superpowers

Repo : https://github.com/obra/superpowers (90k+ stars)

Install (three ways):

# 1. Direct clone
git clone https://github.com/obra/superpowers.git ~/.agents/skills/superpowers

# 2. Via npx installer
npx @supercorks/skills-installer install
# then tick superpowers in the interactive UI

# 3. Via skill-install tool
skill-install -t codex install https://github.com/obra/superpowers/archive/main.zip

Must restart Codex after install — Superpowers relies on session-start hooks for skill discovery and injection.

Core philosophy : Enforced TDD + automated code review . Contains 14 skills + 1 agent. Before any feature code, it demands test cases; after implementation, it triggers a code review. The "test → implement → verify" loop dramatically cuts logic gaps and missed edge cases.

Full workflow :

brainstorming → writing-plans → test-driven-development → subagent-driven-development → requesting-code-review → verification-before-completion → finishing-a-development-branch

. Each phase has a dedicated skill guaranteeing quality.

Pros : Code quality jumps; proactively catches boundary conditions & exception handling; slashes later debugging cost.

Cons : TDD flow adds token overhead; not suited for rapid prototyping.

Best for : Production-grade business code; projects requiring test coverage; core module development.

Skill 3: gh-fix-ci

Repos : Official – https://github.com/openai/skills/tree/main/skills/gh-fix-ci; Community – https://github.com/davila7/claude-code-templates

Install :

# Official
$skill-installer install gh-fix-ci

# Via LobeHub
curl https://lobehub.com/skills/composiohq-awesome-codex-skills-gh-fix-ci/skill.md
# follow prompts

# Community Registry
npx @bbhxwl/skills install gh-fix-ci --target codex

Problem : Backend/DevOps engineers spend hours weekly debugging GitHub Actions failures.

Solution : Automates the entire chain —

read failure logs → understand cause → analyze related code → locate root cause → propose fix

. Executes an 8-step structured process: verify gh CLI auth → identify failed PR checks → extract failure logs → distinguish Actions-internal vs external failures → summarize failures → request user approval for fix plan → apply fix → push & verify.

Pros : Compresses 20-min CI triage to seconds; auto-identifies multiple error types; structured output.

Cons : Requires GitHub Actions + correctly configured gh CLI.

Best for : Teams heavily using GitHub Actions; multi-dev projects; pre-release quality gates.

Skill 4: frontend-skill (frontend-design)

Repo : https://github.com/anthropics/skills/tree/main/skills/frontend-design

Install :

# From Anthropic repo
git clone https://github.com/anthropics/skills.git ~/.agents/skills/anthropic-skills
# use ~/.agents/skills/anthropic-skills/skills/frontend-design

# Or one-click via TokRepo
npx tokrepo install frontend-design

Pain point : Codex's default frontend output functions but looks "retro".

Approach : Encodes design principles (spacing, color, typography, radius, shadows) and modern UI component patterns into instructions. Avoids generic "AI look" by making bold, deliberate aesthetic choices (minimalist, retro, futuristic, brutalist, etc.) and sweating details — typography, color, motion, spatial layout.

Pros : Visual quality leap; composable with other design skills.

Cons : Highly custom designs still need human touch.

Best for : Frontend/indie devs building admin panels, landing pages fast; teams without dedicated designers.

Skill 5: webapp-testing

Repo : https://github.com/openai/skills/tree/main/skills/webapp-testing

Install : $skill-installer install webapp-testing Core value : Runs automated web-app tests and returns a structured report.

Built on Playwright; simulates clicks, form fills, login/logout flows, captures console errors. Key advantage: describe test scenarios in natural language → auto-generates & executes scripts → returns results with screenshots. Auto-detects project test framework (Jest, Mocha, Playwright, Cypress) and mimics existing test file naming/style — no cleanup needed.

Workflow : Scan project root & package.json → detect test framework → read existing test patterns → generate consistent new tests → execute → aggregate report (pass/fail, failure reasons, suggested fixes).

Pros : Preserves project's test style consistency; works with any web stack.

Cons : Project must already have a test framework configured; complex integration tests still need manual addition.

Best for : QA engineers & full-stack devs daily; CI pipelines with coverage requirements.

Skill 6: mcp-builder

Repo : https://github.com/openai/skills/tree/main/skills/mcp-builder

Install : $skill-installer install mcp-builder MCP (Model Context Protocol, 2024) standardizes model↔external-system communication, solving the M×N integration problem. mcp-builder guides building best-practice MCP Servers via a four-phase workflow :

Plan : Understand data source/API; decide which Tools, Resources, Templates to expose.

Implement : Build server with MCP SDK — Python (FastMCP) or Node/TypeScript (MCP SDK).

Evaluate : Test tools work as expected; response formats correct.

Optimize : Iterate on performance & handling logic.

Quality metric: how much the server helps the LLM accomplish real-world tasks .

Pros : Standardized process prevents omissions; code quality & maintainability assured.

Cons : Four phases may feel heavy for trivial servers.

Best for : Developers wiring AI agents to external APIs; projects needing standardized toolsets.

Skill 7: brooks-lint

Repo : https://github.com/hyhmrright/brooks-lint

Install :

# Direct clone
git clone https://github.com/hyhmrright/brooks-lint.git ~/.agents/skills/brooks-lint

# Via CLI
npx @bbhxwl/skills install brooks-lint --target codex

Unlike generic linters, brooks-lint extracts 6 decay-risk dimensions from six classic software-engineering books for structured diagnosis:

The Mythical Man-Month (Brooks) → Conceptual integrity, communication overhead

Code Complete (McConnell) → Readability, construction practices

Refactoring (Fowler) → Code smells, design rot

Clean Architecture (Martin) → Architectural boundaries, dependency rules

The Pragmatic Programmer (Hunt & Thomas) → Pragmatic coding, separation of concerns

Domain-Driven Design (Evans) → Domain model integrity

Integrates multi-language style checks; scans PR diffs against project conventions; flags format, naming, comment violations with exact locations & fix guidance. Flexible triggers: GitHub Actions CI job or local Git pre-commit hook.

Pros : Efficient automated gate for code standards; embeddable in CI/Hook; authoritative book-driven deep diagnosis.

Cons : Needs correct project rule-set config for best results.

Best for : Teams unifying code style; standard code-review pipeline step.

Skill 8: pr-review

Repo : https://github.com/openai/skills (official catalog)

Install : $skill-installer install pr-review On PR submit, Codex auto-scans changed files and emits a structured issue report — zero manual intervention. Multi-dimensional analysis: functional correctness, architectural soundness, security vulnerabilities. Can combine multiple AIs (Claude, Codex, Gemini) for comprehensive review.

Trigger : GitHub Actions on: pull_request: types: [opened, synchronize, reopened]. Reads diff, checks null-pointers, resource leaks, API compatibility, security flaws, etc. Report appears as PR comment.

Pros : Massive reduction in manual code-review load; 24/7 availability.

Cons : Requires correct automation setup; complex business logic may still need human eyes.

Best for : Daily PR flow in collaborative projects; team code-review efficiency boost.

Skill 9: Planning-with-Files

Repo : https://github.com/OthmanAdi/planning-with-files

Install :

# Via plugin marketplace (Claude Code; maps to .agents/skills for Codex)
/plugin marketplace add OthmanAdi/planning-with-files
/plugin install planning-with-files@planning-with-files

# Manual
mkdir -p ~/.agents/skills/planning-with-files
curl -L -o skill.zip "https://mcp.directory/api/skills/download/593"
unzip -o skill.zip -d ~/.agents/skills/planning-with-files
rm skill.zip

Leverages the progressive-loading mechanism (2% budget for summaries, on-demand knowledge load) to give AI an "external memory" via Markdown files. During execution, the agent writes intermediate results, decisions, TODOs to disk and reads them back later.

Deep value : When task chains exceed single-context token limits, Markdown files act as persistent, readable/writable external memory.

Creates & maintains three files: task_plan.md — task breakdown, overall plan, phase progress, decisions findings.md — investigation discoveries, intermediate conclusions, per-session actions & errors progress.md — current progress, completed steps

After /clear wipes context, Codex fully restores state from these files — critical for multi-session large features.

Pros : Breaks single-context ceiling; huge execution boost for long-running tasks.

Cons : File I/O adds minor overhead.

Best for : Large refactors/dev tasks needing many interactions; scenarios requiring auditable AI execution history.

Skill 10: DocumentSkills

Repo : https://github.com/anthropics/skills (Anthropic official)

Install :

# Clone official repo
git clone https://github.com/anthropics/skills.git ~/.agents/skills/anthropic-skills
# use skills/document-skills for PDF, Word, Excel, PPT parsing

# Or via plugin marketplace
/plugin marketplace add anthropics/skills/plugin
/plugin install document-skills@anthropic-agent-skills

Opens PDF/Word/Excel/PPT directly in Codex sidebar for preview. Under the hood, LLM-based document parsing converts unstructured docs into structured data the AI can reason over. Enables document-driven development: feed a PRD, API spec, or design doc and have Codex generate code from it.

Pros : Expands AI knowledge beyond codebase; enables doc-driven workflows.

Cons : Parsing accuracy varies with document complexity.

Best for : Auto-generating code from requirement docs; ingesting existing project technical docs.

Skill 11: Context-Engineering

Repo : https://github.com/openai/skills (experimental)

Install : $skill-installer install context-engineering Agents are "blind" to their own token consumption & context state. This skill adds monitoring, compression, and priority management.

Mechanism : Continuously tracks token usage; when nearing limit, proactively compresses/summarizes non-critical context; ensures high-priority context stays in window before critical tasks. Prevents "amnesia" in long-running agents. The Antigravity-awesome-skills Context Engineering Suite bundles 7 complete context-management tools.

Pros : Reduces long-conversation amnesia; auto-optimizes token spend.

Cons : Compression may lose some information.

Best for : Long-duration AI tasks; scenarios needing fine-grained cost control.

Under the Hood: Core Principles

The efficiency gains stem from the Skill system design:

Progressive loading : "2% preview + on-demand load" keeps context lean while providing deep knowledge. Real-world comparison: 100k customer-support queries — traditional prompt ~15M tokens; MCP approach ~12M (incl. ~1.5M protocol overhead); Skill approach ~2–3M via knowledge compression → 80–90% token reduction .

MCP protocol : Defines standard model↔external-system interaction — JSON-RPC 2.0, client-server. When a skill needs external data, MCP translates DB queries or API responses into model-friendly JSON, drastically simplifying external service calls.

Skill discovery : On startup, Codex runs a BFS directory walk (max 6 levels up, max 2000 directories total) to locate SKILL.md files — balances discoverability with scan cost.

Pros, Cons & Recommendations

Pros

Token efficiency: progressive loading saves 80–95% vs. traditional prompts.

Knowledge persistence: skills are "executable domain knowledge" — reusable, versionable.

Composability: arbitrarily combine multiple skills for complex tasks.

Output consistency: knowledge codification boosts consistency by ~300%.

Cross-platform: same SKILL.md works on Codex, Claude Code, Cursor, etc.

Cons

Learning & setup investment upfront.

Quality varies — start with high-star/official skills; avoid "skill stacking".

Less flexible than raw prompting for highly bespoke one-off tasks.

Suggested Install Path

create-plan

— experience task decomposition first. Superpowers — make TDD & code review the agent's new habit.

Add targeted skills as needed: gh-fix-ci, frontend-skill, etc.

Pair planning-with-files + Context-Engineering — together they let the agent tackle multi-day refactors without losing context.

Bottom line : Skills done right turn AI from a "knows-everything intern" into a "knows-how-to-build senior architect".
About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

CI/CDmcpcode-reviewproductivitydeveloper-toolstddai-coding-agentskillscodexcontext engineering

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion