nddev-archive/nddev-codex-app/codex-rule-creator
Claude Code and agent skill by nddev-archive/nddev-codex-app
- community
Checking that the SKILL.md file is still in the repository.
Create or revise native Codex execpolicy .rules files with narrow command prefixes, explicit decisions, and executable positive and negative examples. Use when governing shell-command approval behavior.
Install
npx vskill@latest install nddev-archive/nddev-codex-app/codex-rule-creatorSKILL.md
The same SKILL.md was published earlier as nddev-archive/nddev-codex-app/codex-rule-creator.
Codex Rule Creator
Resolve every ../../scripts and ../../references path relative to this SKILL.md directory, never the caller working directory.
Create a minimal execpolicy rule that classifies one command family without granting unintended variants.
Workflow
- Define the exact command tokens, desired decision, trust rationale, platforms, and both allowed and disallowed examples.
- Read ../../references/codex-artifact-contracts.md for the current rules language, locations, and evaluator behavior.
- Inspect options and generate:
python3 ../../scripts/create_codex_artifact.py rule --help python3 ../../scripts/create_codex_artifact.py rule --output .codex/rules --name safe-shell --description "Execpolicy for a bounded command family" --prefix git status
- Use token-aware prefixes, not shell substrings. Prefer multiple narrow rules over one broad pattern.
- Include justification and match examples where supported. Treat shell wrappers, flags, paths, and subcommands as separate attack surfaces.
- Do not encode secrets, environment-specific home paths, or blanket allow rules.
- Validate:
python3 ../../scripts/check_codex_artifact.py rule .codex/rules/safe-shell.rules
- Run the native rules evaluator against positive, negative, wrapper, injection, and near-miss cases when available.
Quality bar
- Every allow decision is bounded to the intended argv shape.
- Negative examples cover sibling subcommands, added shell operators, wrappers, and path escapes.
- Overlap between rules has a deliberate outcome.
- The file is portable, documented, and fails closed on ambiguous input.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/nddev-builder/skills/codex-rule-creator/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nddev-archive/nddev-codex-app/codex-rule-creator)