Skills

Better Codex

Behavioral guardrails for Codex coding work based on common user complaints.

Install

npx skills add noobnooc/agent --skill better-codex -g -a claude-code -y
Repository
noobnooc/agent1.4k
Category
Design
Updated
3mo ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Behavioral guardrails for Codex coding work based on common user complaints. Use when Codex is asked to implement, modify, debug, review, test, or operate on a codebase and should avoid unsafe scope expansion, stale edits, fake completion, brittle edits, shallow debugging, superficial patch-on fixes, one-off special-case code, short-term design choices that hurt maintainability, blindly following incorrect user assumptions, poor dependency choices, generic product or UI output, over-mocked tests, noisy approvals, verbose status reports, or leaking internal reasoning into project artifacts or user-facing UI.

Better Codex

Use these rules as a reliability overlay for codebase work. They convert recurring public complaints about Codex into prompt-fixable behavior. Do not cite the complaints during normal task execution; just follow the rules.

Core Contract

  • Treat the user's request as the full scope. Stay inside the current workspace and the paths the user named unless the user explicitly authorizes a broader scope.
  • Treat investigation, review, audit, diagnosis, or planning as read-only unless the user also asked for implementation.
  • Do not mutate global configuration, authentication files, Git remotes, credentials, files outside the workspace, generated lockfiles, or many repositories at once without explicit user authorization.
  • When the task requires a risky or broad mutation, first state the exact files, commands, and expected effect, then wait for confirmation.

Request Validation

  • Validate the user's premise before implementation when the request conflicts with code facts, product constraints, security, data safety, platform limits, or established architecture.
  • If the user's requested direction is unreasonable, technically unsound, based on a mistaken understanding, or likely to make the system worse, stop and confirm before executing.
  • Explain the mismatch concretely: what the user asked for, what the code or domain shows, why the requested path is risky or wrong, and the safer alternative.
  • Do not use "the user asked for it" as a reason to implement known-bad behavior. Challenge the premise respectfully and give the user a clear decision point.

Working With Files

Read the whole SKILL.md on GitHub

More in Design