Skip to content

About

Version-controlled global guidance and reusable custom skills for Codex

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Agent customizations

Version-controlled global guidance and reusable custom skills for Codex, Claude Code, GitHub Copilot, and Antigravity on Windows. This repository is the reviewed source of truth; the tools' live configuration directories are deployment targets.

Contents

  • AGENTS.md with the root CLAUDE.md import — repository development and full-delivery policy shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
  • global/shared.md with target files in global/agents/<target>.md (codex.md, claude.md, copilot.md, antigravity.md) — canonical personal guidance composed into each target's installed instruction file.
  • skills/<name>/ — reusable skills, optionally customized per target via skills/<name>/agents/<target>.md and skills/<name>/agents/<target>-references/ (deployment installs only the matching target's overlay files and excludes tests/ and other targets' files):
    • skills/claude-runner — resume-safe wrapper for Claude Code CLI, shared by Codex, GitHub Copilot, and Antigravity.
    • skills/clean-copy — remove redundant interface copy while preserving information users need to act, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/convene-model-panel — a panel of named models that propose or review in rounds as read-only panelists, with version-bound approval and a round limit, coordinated from Claude Code.
    • skills/cross-agent-review — opposite-engine adversarial review with triage, credited fix commits, and bounded rounds, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/deep-research — Codex-specific, evidence-driven research with independent source collection, contradiction checks, and citation auditing.
    • skills/dyslexia-friendly-formatter — format text for dyslexia-friendly reading without changing its content, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/execute-campaign-work-item — scoped execution and evidence-backed handoff for one controller-assigned campaign work item, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/issue-triage — audit open issues against live evidence, close resolved/obsolete/duplicate items, fix stale facts, remove overlap, and rank remaining work, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/jira-closeout — maintain and close out primary Jira tickets anchored to authorized delivery work, cross-team handoffs, split follow-ups, and completed project epics, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/lavish — pinned, loopback-only HTML artifact review with annotations and guarded publishing, setup, and update operations for Codex.
    • skills/managed-jobs — durable supervision for long-running local processes, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/orchestrate-work-campaigns — visible, coordinator-only control of multi-task delivery campaigns, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/session-ledger — external per-session open-work ledger (open, waiting_external, blocked_on_user, parked, done) that keeps multi-step work intact across compaction and side tangents, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/shape-product-decisions — evidence-labeled product shaping from an ambiguous request to a concrete decision and implementation handoff, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/shared-term — a focused collaborative Windows Terminal workflow, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/store-secret-from-dialog — a masked Windows dialog that sends a secret the user types to a command's standard input without it passing through chat, shared by Codex, Claude Code, GitHub Copilot, and Antigravity.
    • skills/teams-graph-connector — shared Teams reading, history coverage, and send-confirmation guidance, with separate Codex Teams app and Claude Microsoft 365 (Graph) MCP connector customizations.
    • skills/ux-review — Codex-specific browser walkthroughs with evidence-backed, acceptance-testable UX findings.
  • plugins/claude/session-cost — Claude Code plugin that shows the app and transcript session IDs, with copy buttons, and the session cost estimate in a band above the prompt.
  • hooks/codex — Codex-specific managed-job lifecycle hooks and the Git closeout check after a reported merge.
  • hooks/claude — Claude Code-specific managed-job lifecycle cleanup scripts.
  • hooks/shared — shared hooks across targets:
    • hooks/shared/closing-phrase — Stop hook for Codex and Claude Code that, once per turn, requires rewriting an ending that dictates a reply phrase, offers a check instead of running it, or violates the 3-line closing footer consistency contract.
    • hooks/shared/session-ledger — prompt/pre-invocation, Stop, and SessionEnd hook for Codex, Claude Code, and Antigravity (via its plugin bundle) that re-anchors active ledger items and guards against premature stops.
  • config/manifest.json — the exact files, plugins, and hook registrations managed for each supported agent.
  • docs/customization-ownership.md — classification, admission, ownership, precedence, and authoring rules for proposed customizations.
  • docs/deployment.md — validation, drift inspection, explicit activation, backups, hook application, and deployment scope.
  • docs/maintaining-customizations.md — maintenance rules for agent instructions, skill entrypoints, references, and progressive-disclosure validation.
  • scripts/verify.ps1 — validates structure and scans managed sources for common publication hazards.
  • scripts/evaluate-instructions.ps1 — runs input-only scenarios in fresh, read-only Codex or Claude sessions and scores their structured behavior against separately stored expectations; -Suite skill-routing scores which skill each request would load.
  • scripts/evaluate-instruction-actions.ps1 — exercises a bounded tool protocol in disposable repositories and scores file effects and call order.
  • scripts/status.ps1 — reports drift between this repository and live agent installations.
  • scripts/install.ps1 — explicitly deploys reviewed sources to one or all live installations.
  • scripts/test.ps1 — exercises verification, sandbox installations, clean status, target isolation, and drift detection.
  • tests — repository-local regressions plus separately stored behavioral evaluation prompts, expectations, and response contracts; none are installed into agent homes.

Claude Code loads personal instructions from ~/.claude/CLAUDE.md and personal skills from ~/.claude/skills. Codex uses ~/.codex/AGENTS.md and ~/.codex/skills (subject to Codex's 32,768-byte combined AGENTS.md discovery budget). GitHub Copilot uses ~/.copilot/copilot-instructions.md and ~/.copilot/skills. Antigravity loads a single reviewed plugin at ~/.gemini/config/plugins/agent-customizations/ containing plugin.json, rules/AGENTS.md (subject to Antigravity's 24,000-byte per-file rule limit), skills/, hooks/, and hooks.json. The manifest composes global/shared.md with the applicable global/agents/<target>.md during installation, filters per-skill target overlays, reuses portable skills where possible, and keeps tool-specific skills on their compatible targets. Codex uses each selected model's built-in prompt. For an existing installation, see switch to stock Codex prompts.

Why deployment is explicit

Symlinks and junctions are not the default because switching branches or editing a worktree could otherwise change global agent behavior immediately. The install step creates a deliberate boundary between reviewing a change and activating it.

Requirements

  • PowerShell 7
  • Git for clean-branch deployment checks
  • A local Codex, Claude Code, GitHub Copilot, and/or Antigravity installation

Quick start

An explicit request to implement a repository change defaults to the complete branch-to-PR delivery workflow in AGENTS.md: validate, commit, push, open an agent-authored draft PR, run CI and opposite-agent review in parallel, triage findings, and mark the PR ready when its gates pass. For a separately authorized merge, follow the current-head merge rules.

Validate the repository:

pwsh ./scripts/verify.ps1

Run the full deterministic test suite (runs verify.ps1 plus all deterministic checks and deployment smoke tests, matching CI):

pwsh ./scripts/test.ps1

Run live behavioral instruction evaluations (these invoke the selected agent CLI and may incur usage):

pwsh ./scripts/evaluate-instructions.ps1 -Target all

Run the live skill-routing suite after adding a skill or changing a skill description, once per Claude model expected to load the skill:

pwsh ./scripts/evaluate-instructions.ps1 -Suite skill-routing -Target claude -ClaudeModel haiku

Run the small live action suite for a consequential instruction change:

pwsh ./scripts/evaluate-instruction-actions.ps1 -Target all

Both live suites consume CLI usage and should run under managed-jobs when launched by an agent. Select a bounded case set with -CaseId and explicit identities with -CodexModel / -ClaudeModel (and optional -CodexReasoningEffort / -ClaudeEffort); empty or unknown case filters fail before any client launches. Each invocation creates a unique run beneath -OutputDirectory (or the printed temporary parent). Runs retain private raw stdout/stderr, prompts, responses, per-invocation identity metadata, and an incremental summary.json, including on failure. Do not commit these artifacts. Native output is flushed to logs as it arrives; START means invocation began, not that useful output or a validated response exists. Requested model aliases and observed effective models are separate; missing native identity is unknown. The action suite uses a controlled JSON tool protocol: requests execute real bounded file edits and local checks; publication always returns unavailable without contacting a remote. User messages are injected between tool requests to test authorization and stop boundaries. It retains traces and disposable repositories at its printed artifact path. It does not test native CLI tool integration or real-time interruption of an in-flight tool. The deterministic dispatcher/scorer tests run in test.ps1 without paid agents. On Windows the Codex action client selects the documented elevated sandbox; prepare that sandbox before running the suite. It does not fall back to full access. Failed behavior checks remain failures with traces; do not weaken their expectations just because the agent answered classification cases correctly.

Compare live installations:

pwsh ./scripts/status.ps1

Deployment to live agent homes is a separate, explicitly authorized activation step. Do not run scripts/install.ps1 for validation or status inspection. See the deployment guide for previews, target selection, activation, backups, and post-install hook requirements.

Scope boundary

The manifest defines the reviewed instructions, skills, hook scripts, and hook registrations managed for each target. Unrelated machine-local settings and runtime state remain outside the repository. See the deployment scope for the complete boundary.

Before adding guidance, use the customization ownership and skill-admission policy to decide whether it belongs in global guidance, a portable skill, a repository-local contract, or private/local material. In particular, generic skills may coordinate repeated workflows and discover target policy, but must not carry repository merge rules or private and machine-specific state.

License

MIT

Individual skill directories may include notices for adapted third-party material.

About

Version-controlled global guidance and reusable custom skills for Codex

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages