Create or edit Codex execpolicy .rules files (allow/prompt/forbid commands, define prefix_rule patterns, add match/not_match tests) and validate them with codex execpolicy check. Use when a user mentions Codex rules, execpolicy, command policies, allowlists/denylists, or controlling which commands Codex can run, and when scope (global vs project) must be clarified.
Scanned 2/12/2026
Install via CLI
openskills install majiayu000/claude-skill-registry---
name: codex-execpolicy
description: Create or edit Codex execpolicy .rules files (allow/prompt/forbid commands, define prefix_rule patterns, add match/not_match tests) and validate them with codex execpolicy check. Use when a user mentions Codex rules, execpolicy, command policies, allowlists/denylists, or controlling which commands Codex can run, and when scope (global vs project) must be clarified.
---
# Codex Execpolicy
## Overview
Define and maintain Codex execpolicy rules so the agent can allow, prompt, or forbid command prefixes, and validate the policy before use.
## Workflow
1. Clarify scope and location.
- Ask: “Should this be a global rule or project-specific?”
- If global: default to `~/.codex/rules/default.rules` unless the user provides another path or uses a different Codex home.
- If project-specific: ask for the exact file path; a common pattern is `.codex/rules/default.rules` at repo root.
- If the file already exists, inspect it before editing.
2. Clarify intent.
- Ask for the decision: `allow`, `prompt`, or `forbidden`.
- Ask for the command prefix and any alternatives.
- Ask for at least one “should match” and “should not match” example if the rule is non-trivial.
3. Implement the rule.
- Use `prefix_rule(...)` with a precise `pattern` list.
- Use union lists for alternatives when only one argument varies.
- Add `match` / `not_match` as inline tests when the rule is tricky.
4. Validate before finishing.
- Run `codex execpolicy check --pretty --rules <path> -- <command>` using realistic examples.
- If validation fails, adjust `pattern` or tests and re-check.
5. Summarize outcomes.
- State what command prefixes are allowed/prompted/blocked and where the rule lives.
## Examples
Block all git commands:
```starlark
prefix_rule(
pattern = ["git"],
decision = "forbidden",
)
```
Prompt for either `gh pr view` or `gh pr list`:
```starlark
prefix_rule(
pattern = ["gh", "pr", ["view", "list"]],
decision = "prompt",
)
```
## Resources
- See `references/execpolicy.md` for syntax notes, decision precedence, and validation commands.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Run a single Terminal-Bench problem through Paperclip in a bounded, human-in-the-loop improvement cycle until the smoke passes, the board rejects the next fix, the iteration budget is exhausted, or a real blocker is named. Each iteration runs a bounded smoke against an isolated Paperclip App worktree, captures artifacts, diagnoses the exact stop point with `/diagnose-why-work-stopped`, requests board confirmation before any product fix, then reruns against the same worktree. Use whenever an i...