Skip to content
Back to skills

Codex Adapter

ASecurity

Use when modifying or testing `packages/codex-plugin` or Codex `/compact` behavior.

  • 192 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 23, 2026
developmenttypescriptgoshellnodetesting

Works with

  • cli

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add kunchenguid/compact-adviser --skill codex-adapter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Adapter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Adapter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kunchenguid-codex-adapter/badge)](https://www.skillsdirectory.com/skills/kunchenguid-codex-adapter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-adapter
description: Use when modifying or testing `packages/codex-plugin` or Codex `/compact` behavior.
user-invocable: false
metadata:
  internal: true
---

- Codex adapter (`packages/codex-plugin`, hint-only: nothing outside a Codex session can run `/compact`). Its sources are TypeScript that plain `node` type-strips, so they must stay erasable - no parameter properties, no enums. Codex rebuilds a hook's PATH from a shell snapshot and may have no `node` on it, so hooks go through `hooks/run.sh`, which is silent when it finds none. Judging is gated to the interactive TUI by the rollout's `originator`. The rollout transcript format is explicitly unstable upstream: `src/rollout.ts` never throws and degrades to the strictest floor. `scripts/validate.mjs` checks the package is loadable exactly as shipped. Snooze/dismiss are a known gap and follow-up: suppressing advice safely needs a reliable current-session identity that Codex gives neither the hook nor the CLI, so the CLI could only mutate the most recently written session record. Windows support is a possible follow-up: this ship is macOS and Linux only because the hooks run through POSIX `sh` and have no `commandWindows` entries.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…