Codex default deny skill staging
Skill whyy9527/codexception/examples/codex-default-deny-skill-staging
Codex-native continuous learning skill for extracting reusable debugging and workflow knowledge into SKILL.md files
npx -y skills add whyy9527/codexception --skill codex-default-deny-skill-stagingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Add or rename Codex-native skills in a default-deny ~/.codex git repository. Use when new files under ~/.codex/skills appear untracked, hook scripts need .gitignore allowlisting, or Finder creates .DS_Store noise.
SKILL.md
1.8 KB, as published. Nobody here has run it
Codex Default-Deny Skill Staging
Use When
~/.codex/.gitignorestarts with*and selectively allows curated config.- Adding a real Codex-native skill under
~/.codex/skills. - Adding a hook script under
~/.codex/hooks. git status --short --untracked-files=allshows runtime noise next to the intended files.
Failure Mechanism
A default-deny config repo protects secrets and runtime state, but it also means new hook scripts or skill files may not be staged unless explicitly allowlisted. Broad staging can accidentally pick up runtime files if ignore rules are wrong.
Procedure
- Read
~/.codex/.gitignorebefore staging. - Add precise allowlist rules for curated hook scripts or skill directories.
- Keep runtime files ignored:
auth.json,config.toml, sessions, logs, sqlite files, caches, and generated bridge wrappers. - Use explicit staging paths, for example:
git -C ~/.codex add .gitignore hooks.json hooks/codexception-activator.sh skills/codexception
- Do not stage
skills/.DS_Storeor generated bridge symlinks.
Verification
git -C ~/.codex status --short --untracked-files=all~/.codex/claude-bridge/validate.sh- Secret scan over staged candidates before commit.
High-Risk Actions
- Do not use
git add -A,git add ., orgit commit -ain~/.codex. - Do not track
config.toml,auth.json, sessions, logs, sqlite databases, or generated bridge wrappers. - Do not shrink bridge allowlists just because this machine has stale links.