agentleFS
fcakyonfcakyon/claude-codex-settings/CLAUDE.md

claude-codex-settings

CLAUDE.md1.2k starsChanged 2 months agoApache-2.0View on GitHub

AGENTS.md and GEMINI.md are symlinks to this file for Codex CLI and Gemini CLI compatibility. Multi-tool plugin marketplace. Each plugin under plugins/ is independently installable on Claude Code, Codex CLI, Gemini CLI, and Cursor. Each plugin has 4 manifest files. Claude Code manifest is the source of truth; others are copies or subsets.

  • Commits and pushes

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 3 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 1 mentionOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the fcakyon/claude-codex-settings repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about fcakyon/claude-codex-settings

The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 14

Talked about on GitHub (14 times).

On GitHub · 14

9 more on GitHub

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

29 rules. About 0 are common, 12 are distinctive, and 17 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 17

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this only for generic Codex marketplace docs and maintainer examples.

    line 104
  2. Very specific:

    If an agent selects a Claude-only model, keep it outside the shared agents/ directory and point to it with the Claude manifest's agents …

    line 174
  3. Very specific:

    Put the executable and its arguments together in command for shared hooks.

    line 223
  4. Very specific:

    Use ${CLAUDE_PLUGIN_ROOT} for script paths.

    line 242
  5. Very specific:

    Create plugins/<name>/ with at minimum skills/<skill-name>/SKILL.md

    line 285
  6. Very specific:

    Create gemini-extension.json at plugin root with {name, version, description} only

    line 298
  7. Very specific:

    Add entry to .claude-plugin/marketplace.json (Claude Code).

    line 299
  8. Very specific:

    Add entry to .agents/plugins/marketplace.json (Codex CLI).

    line 300
  9. Very specific:

    Add entry to .cursor-plugin/marketplace.json (Cursor).

    line 301
  10. Very specific:

    Run /claude-tools:update-readme to regenerate plugin sections and ZIP links in README.md

    line 302
  11. Distinctive:

    Add sync script command to CLAUDE.md syncing vendor skills section (if synced plugin)

    line 303
  12. Distinctive:

    Remove the plugin's row from README.md TODO section if it was listed there

    line 304
  13. Very specific:

    All plugins use local sources: "source": "./plugins/<plugin-name>".

    line 312
  14. Very specific:

    When a synced plugin's upstream repo declares no LICENSE file (verified via gh api repos/<owner>/<repo>/license returning 404), do not …

    line 332
  15. Distinctive:

    When writing README or docs content for this repo:

    line 336
  16. Distinctive:

    Keep the learning curve low: brief plain-language explanations before install commands

    line 339
  17. Distinctive:

    Use behavior-oriented language: "auto-formats your Python code after every edit" instead of "PostToolUse hook running ruff on Write/Edit …

    line 341
  18. Distinctive:

    Avoid jargon like "frontmatter", "manifest", "PostToolUse hooks" in user-facing docs

    line 342
  19. Very specific:

    When two plugins are designed to be used together, end each plugin's README long block with a "Pairs naturally with other-plugin" line on …

    line 345
  20. Very specific:

    Avoid internal jargon: say "allowlist" not "permissions allowlist entries", say "settings files" not …

    line 364
  21. Distinctive:

    When listing affected files, group by purpose: "all 3 settings files" instead of naming each one

    line 365
  22. Distinctive:

    Always name the concrete object you're acting on.

    line 366
  23. Distinctive:

    Keep PR bodies short: lead with why, short scannable bullets (one point each), a diff or snippet, numbers over adjectives

    line 367
  24. Very specific:

    After editing any sync-*.sh script:

    line 375
  25. Very specific:

    Run it once and check exit 0 with no WARNING: or ERROR: output.

    line 377
  26. Distinctive:

    Run it AGAIN to confirm idempotency (no further file diffs, "already in sync" output where applicable).

    line 378
  27. Very specific:

    Use git log --oneline -- <removed-path> inside the upstream clone to find the rename or removal commit.

    line 420
  28. Distinctive:

    Update the script accordingly.

    line 422
  29. Very specific:

    Pre-flight: run bash .github/scripts/sync-versions.sh and every sync-*-skills.sh manually first.

    line 442

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

claude-settings

AGENTS.md and GEMINI.md are symlinks to this file for Codex CLI and Gemini CLI compatibility.

Multi-tool plugin marketplace. Each plugin under plugins/ is independently installable on Claude Code, Codex CLI, Gemini CLI, and Cursor.

Repo Structure

claude-settings/
  CLAUDE.md                              # this file (repo dev guide)
  AGENTS.md -> CLAUDE.md                 # Codex CLI reads this
  GEMINI.md -> CLAUDE.md                 # Gemini CLI reads this
  .claude/CLAUDE.md                      # user-facing global config (synced to ~/.claude/CLAUDE.md)
  .claude/settings.json                  # Claude Code settings
  .claude-plugin/marketplace.json        # Claude Code marketplace
  .agents/plugins/marketplace.json       # Codex CLI marketplace
  .cursor-plugin/marketplace.json        # Cursor marketplace
  .codex/config.toml                     # Codex CLI config
  .github/scripts/                       # repo maintenance scripts
    _helpers.sh                          # shared sync/zip functions
    sync-<vendor>-skills.sh              # per-vendor skill sync
    sync-versions.sh                     # version alignment
    release.sh                           # GitHub release creation
    validate_plugins.py                  # CI plugin validation
  plugins/
    <name>/
      .claude-plugin/plugin.json         # Claude Code manifest
      .codex-plugin/plugin.json          # Codex CLI manifest
      .cursor-plugin/plugin.json         # Cursor manifest
      gemini-extension.json              # Gemini CLI manifest
      skills/<skill>/SKILL.md            # universal across all tools
      agents/<agent>.md                  # Claude Code + Gemini + Cursor
      hooks/hooks.json + scripts/        # Claude Code + Codex CLI + Gemini
      commands/<cmd>.md                  # Claude Code only
      output-styles/<style>.md           # Claude Code only

Cross-Tool Plugin Format Reference

Plugin Manifests

Each plugin has 4 manifest files. Claude Code manifest is the source of truth; others are copies or subsets.

ToolPathFormat
Claude Code.claude-plugin/plugin.jsonJSON: name, version, description, author, homepage, repository, license
Codex CLI.codex-plugin/plugin.jsonJSON: same fields as Claude Code
Cursor.cursor-plugin/plugin.jsonJSON: same fields as Claude Code
Gemini CLIgemini-extension.json (at plugin root)JSON: name, version, description only

Docs:

Root Marketplace Files

ToolPathNotes
Claude Code.claude-plugin/marketplace.jsonlocal sources only (use sync scripts for external repos)
Codex CLI.agents/plugins/marketplace.jsonlocal sources only; use ./-prefixed source.path plus plugin policy fields
Cursor.cursor-plugin/marketplace.jsonlocal sources, needs source + description
Gemini CLInoneper-plugin install: gemini extensions install --path ./plugins/<name>

Claude Code marketplace entry

{
  "name": "<plugin-name>",
  "source": "./plugins/<plugin-name>",
  "description": "...",
  "version": "1.0.0",
  "keywords": ["keyword1", "keyword2"],
  "category": "<category>",
  "tags": ["tag1", "tag2"]
}

Codex CLI marketplace entry

{
  "name": "<plugin-name>",
  "source": { "source": "local", "path": "./plugins/<plugin-name>" },
  "policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
  "category": "<category>"
}

source.path must point to a local folder with a ./-prefixed path relative to the marketplace root.

policy.installation values: AVAILABLE, INSTALLED_BY_DEFAULT, NOT_AVAILABLE.

policy.authentication controls whether auth happens on install or first use.

Codex CLI personal marketplace example

Use this only for generic Codex marketplace docs and maintainer examples. User-facing installation docs should stay specific to this repo's bundled marketplace.

{
  "name": "personal-plugins",
  "interface": {
    "displayName": "Personal Plugins"
  },
  "plugins": [
    {
      "name": "my-plugin",
      "source": { "source": "local", "path": "./.codex/plugins/my-plugin" },
      "policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
      "category": "<category>"
    }
  ]
}

Store this at ~/.agents/plugins/marketplace.json, keep plugin folders under ~/.codex/plugins/, and keep every source.path ./-prefixed relative to the marketplace root.

Cursor marketplace entry

{
  "name": "<plugin-name>",
  "source": "./plugins/<plugin-name>",
  "description": "...",
  "version": "1.0.0"
}

Skills Format

Path: skills/<name>/SKILL.md

---
name: skill-name
description: This skill should be used when user asks to "do X", "do Y", or "do Z".
---
[skill content - instructions, procedures, guidelines]
  • name: kebab-case, max 64 chars
  • description: start with "This skill should be used when...", max 1024 chars, include quoted trigger phrases

Agents Format

Path: agents/<name>.md

---
name: agent-name
description: |-
  Use this agent when... Examples: <example>...</example>
tools: [Bash, BashOutput, Glob, Grep, Read, Edit, Write]
skills: related-skill-name
model: inherit
color: blue
---
[system prompt - instructions for the agent]
  • name: kebab-case, 3-50 chars
  • model: inherit, sonnet, opus, haiku, fable (or a full model ID like claude-opus-5)
  • color: red, blue, green, yellow, purple, orange, pink, cyan
  • tools: array of allowed tool names
  • skills: optional, skill name(s) to load

If an agent selects a Claude-only model, keep it outside the shared agents/ directory and point to it with the Claude manifest's agents field. Cursor only accepts name and description for plugin agents, while Gemini agent models must be Gemini models. Give other tools a skill that calls the provider CLI.

Hooks Format

Path: hooks/hooks.json

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit",
        "hooks": [
          {
            "type": "command",
            "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/my_script.py"
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "prompt",
            "prompt": "Check if the command is safe before proceeding."
          }
        ]
      }
    ]
  }
}

Codex events: PreToolUse, PermissionRequest, PostToolUse, PreCompact, PostCompact, UserPromptSubmit, SubagentStart, SubagentStop, Stop, and SessionStart. Other tools may support additional events.

Hook types:

  • command: runs a script that reads JSON from stdin.
  • prompt: supported by Claude Code and Gemini. Codex parses it but skips it.
  • agent: Codex parses it but skips it.

Blocking and rewrite responses are tool-specific. Follow each tool's hook response schema.

Put the executable and its arguments together in command for shared hooks. Claude Code supports args as an exec form, but Codex does not document that field:

{
  "type": "command",
  "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check.py\""
}

Codex normalizes shell and patch calls:

  • Bash and unified exec_command calls provide their command in tool_input.command.
  • apply_patch provides the full patch envelope in tool_input.command, not a file_path.
  • apply_patch matches apply_patch, Edit, or Write, but still reports tool_name: "apply_patch".
  • Post-write hooks that need paths must parse each *** Add File: or *** Update File: header from the patch envelope.

Claude Write, Edit, and MultiEdit calls continue to provide tool_input.file_path.

Use ${CLAUDE_PLUGIN_ROOT} for script paths. matcher matches tool names such as Edit, Bash, or mcp__tavily__tavily_search.

Commands Format

Path: commands/<name>.md

---
allowed-tools: Read, Bash, Edit
description: Brief description of what this command does
argument-hint: optional argument hint
---
[command instructions - what to do when this command is invoked]

Commands are Claude Code only. Gemini CLI uses TOML commands. Other tools use skills for similar functionality.

Component Portability

ComponentClaude CodeCodex CLIGemini CLICursor
Skills (skills/<name>/SKILL.md)nativenativenativenative
Agents (agents/<name>.md)nativeconfig.tomlpreviewnative
Hooks (hooks/hooks.json)nativenativenativepartial
Commands (commands/<name>.md)native (MD)noTOML formatno
Output styles (output-styles/)nativenonono

Installation

  • Claude Code: run claude plugin marketplace add fcakyon/claude-codex-settings, then claude plugin install plugin-name@claude-settings
  • Codex CLI: run codex plugin marketplace add fcakyon/claude-codex-settings, then codex plugin add plugin-name@claude-settings
  • Cursor: run cursor-agent plugin marketplace add https://github.com/fcakyon/claude-codex-settings, start cursor-agent, then enter /plugin
  • Gemini CLI: run gemini extensions install --path ./plugins/plugin-name

Updating

  • Claude Code: claude plugin marketplace update, then claude plugin update <name>@claude-settings per plugin (no bulk flag), then restart to apply
  • Codex CLI: codex plugin marketplace upgrade updates installed plugins directly since they read the git snapshot, no per-plugin step
  • Same-version edits will not ship, so bump the plugin version first (see Version alignment)

Adding a New Plugin

  1. Create plugins/<name>/ with at minimum skills/<skill-name>/SKILL.md
  2. Create .claude-plugin/plugin.json:
    {
      "name": "<name>",
      "version": "1.0.0",
      "description": "...",
      "homepage": "https://github.com/fcakyon/claude-codex-settings#plugins",
      "repository": "https://github.com/fcakyon/claude-codex-settings",
      "license": "Apache-2.0"
    }
  3. Copy .claude-plugin/plugin.json to .codex-plugin/plugin.json and .cursor-plugin/plugin.json
  4. Create gemini-extension.json at plugin root with {name, version, description} only
  5. Add entry to .claude-plugin/marketplace.json (Claude Code). See "Claude Code marketplace entry" sample above and "Marketplace entry fields" rules below.
  6. Add entry to .agents/plugins/marketplace.json (Codex CLI). See "Codex CLI marketplace entry" sample above.
  7. Add entry to .cursor-plugin/marketplace.json (Cursor). See "Cursor marketplace entry" sample above.
  8. Run /claude-tools:update-readme to regenerate plugin sections and ZIP links in README.md
  9. Add sync script command to CLAUDE.md syncing vendor skills section (if synced plugin)
  10. Remove the plugin's row from README.md TODO section if it was listed there

Marketplace Plugin Conventions

Marketplace files are sinks, never sources. Each plugin's .claude-plugin/plugin.json is canonical for name, version, license. The three marketplace files (see "Root Marketplace Files" above) are written outward by sync-versions.sh. To bump or relicense, edit the source-of-truth manifest and run the sync. Never hand-edit a marketplace entry for those fields.

Source Types in Claude Code marketplace.json

All plugins use local sources: "source": "./plugins/<plugin-name>". For external vendor skills, use sync scripts (.github/scripts/sync-<name>-skills.sh) to fetch and copy skills locally rather than referencing remote URLs.

plugin.json fields

Local plugins use: name, version, description, homepage, repository, license. Author is optional (skip for third-party plugins).

SKILL.md frontmatter

Two fields: name and description. Description should start with "This skill should be used when..." with quoted trigger phrases.

Marketplace entry fields

Rich metadata (keywords, category, tags) lives in marketplace.json, not in individual plugin.json files. Never use vendor names in tags or keywords.

Description handling

The description field is intentionally NOT auto-synced. Each platform's audience differs (marketplace search, IDE panels, extension catalogs), so descriptions are free to diverge. Today they all match per-plugin by default. When rewriting, update all 6 places by hand: 4 plugin manifests (see "Plugin Manifests" table above) plus 2 marketplace entries.

Upstream license handling

When a synced plugin's upstream repo declares no LICENSE file (verified via gh api repos/<owner>/<repo>/license returning 404), do not fabricate one. Drop the ensure_license call from the sync script and omit the license field from the marketplace entry.

Documentation Rules

When writing README or docs content for this repo:

  • Assume users have limited knowledge about plugins, skills, and marketplaces
  • Keep the learning curve low: brief plain-language explanations before install commands
  • Each plugin section should explain WHAT it does and WHY a developer would want it, not just list components
  • Use behavior-oriented language: "auto-formats your Python code after every edit" instead of "PostToolUse hook running ruff on Write/Edit events"
  • Avoid jargon like "frontmatter", "manifest", "PostToolUse hooks" in user-facing docs
  • Installation instructions must be copy-paste ready
  • README plugin long blocks should be scannable bullets (3-5 max) with a short intro and tail, not paragraph walls
  • When two plugins are designed to be used together, end each plugin's README long block with a "Pairs naturally with other-plugin" line on BOTH sides, so the pairing is asserted from both directions
  • Plan for future before/after GIFs or demos per plugin to show value visually

Plugin descriptions

The description field in plugin.json and marketplace entries faces non-technical marketplace browsers. Lead with concrete user-visible outcomes, not the mechanism. Drop jargon (OTel, hook event names, internal config field names). Single sentence.

  • Bad: "PreCompact hook that injects a priority list so conversation summaries preserve unanswered questions."
  • Good: "Stop Claude Code from forgetting file paths, root causes, and open questions when it auto-summarizes long sessions."

See ### Description handling (Marketplace Plugin Conventions) for the list of files to update.

Commit and PR Writing Style

Run the /simplify skill on the staged diff before every commit, then apply its findings. Docs-only diffs are a no-op.

This repo contains config files (JSON settings, allowlist rules, hooks) rather than application code. Commit messages and PR descriptions should be written in plain language that anyone can understand, not just Claude Code plugin developers.

  • Describe WHAT changed and WHY in everyday terms: "add a safety hook that flags dangerous shell commands for review" not "add PreToolUse command hook with regex matcher on Bash tool"
  • Avoid internal jargon: say "allowlist" not "permissions allowlist entries", say "settings files" not "settings.json/settings-minimax.json/settings-zai.json"
  • When listing affected files, group by purpose: "all 3 settings files" instead of naming each one
  • Always name the concrete object you're acting on. "fix: add license fields" is useless (to what?). "fix: add license field to plugin manifests" tells the next reader exactly what changed
  • Keep PR bodies short: lead with why, short scannable bullets (one point each), a diff or snippet, numbers over adjectives
  • PR titles and bodies must read standalone months later: never reference session shorthand ("PR-cf", "the last orphan content PR"), only real PR numbers (#176)
  • Site design changes need before/after visuals in the PR body, never a text description of the change. Never commit visuals into the repo: upload with gh release upload <tag> shot.png and link the releases/download/<tag>/shot.png URL

Maintenance Scripts

Scripts in .github/scripts/ for repo maintenance. Run from repo root.

After editing any sync-*.sh script:

  1. Run it once and check exit 0 with no WARNING: or ERROR: output.
  2. Run it AGAIN to confirm idempotency (no further file diffs, "already in sync" output where applicable).
  3. Spot-check the generated diff with git diff. Narrow targeted edits only; reject runaway formatter churn.

Same pattern for sync-versions.sh and release.sh (dry-run).

Syncing vendor skills

Per-vendor scripts sync official agent-skills repos into local plugins:

  • _helpers.sh — shared functions (clone/update, copy, zip)
  • sync-<name>-skills.sh — per-vendor: clone repo to ~/dev/, copy SKILL.md + subdirs, create zip
bash .github/scripts/sync-mongodb-skills.sh
bash .github/scripts/sync-supabase-skills.sh
bash .github/scripts/sync-supabase-js-skills.sh
bash .github/scripts/sync-supabase-cli-skills.sh
bash .github/scripts/sync-stripe-skills.sh
bash .github/scripts/sync-polar-skills.sh
bash .github/scripts/sync-livekit-skills.sh
bash .github/scripts/sync-react-skills.sh
bash .github/scripts/sync-frontend-skills.sh
bash .github/scripts/sync-seo-skills.sh
bash .github/scripts/sync-agent-browser-skills.sh
bash .github/scripts/sync-anthropic-office-skills.sh
bash .github/scripts/sync-openai-office-skills.sh
bash .github/scripts/sync-cloudflare-skills.sh
bash .github/scripts/sync-web-performance-skills.sh
bash .github/scripts/sync-hetzner-skills.sh
bash .github/scripts/sync-dokploy-skills.sh
bash .github/scripts/sync-openship-skills.sh
bash .github/scripts/sync-openobserve-skills.sh
bash .github/scripts/sync-openclaw-skills.sh

Adding a new vendor: create sync-<name>-skills.sh, source _helpers.sh, list repos + skill paths.

When a sync script fails

Failures usually mean the upstream repo restructured. Diagnostic steps:

  1. Re-read the script's sync_dir source paths against the actual upstream tree (ls $HOME/dev/<vendor>/...).
  2. Use git log --oneline -- <removed-path> inside the upstream clone to find the rename or removal commit.
  3. Decide: (a) repoint the script at the new path, (b) drop the skill block if upstream removed it, or (c) freeze the local copy as vendored content (no further upstream sync) if the skill is still useful but no longer maintained upstream.
  4. Update the script accordingly. Local skill directories that were already synced remain on disk untouched until you explicitly git rm them.

Version alignment

.claude-plugin/plugin.json is the source of truth for each plugin's version AND license. Run after bumping or seeding a license:

bash .github/scripts/sync-versions.sh

Propagates version everywhere and license everywhere except gemini-extension.json (spec excludes license). Marketplace files are edited via narrow regex replacements that preserve their hand-tuned JSON formatting (compact arrays, etc.). Re-running on a no-op is zero-write. CI validates alignment on every PR.

Releases

bash .github/scripts/release.sh <version>

Updates marketplace version, regenerates all skill zips, uploads them as release assets, generates release notes from README + auto-changelog.

Pre-flight: run bash .github/scripts/sync-versions.sh and every sync-*-skills.sh manually first. release.sh re-runs them, but if any has broken on an upstream restructure the release will ship a stale or empty plugin. Surface those breakages BEFORE tagging.

Versioning: bump metadata.version in .claude-plugin/marketplace.json yourself, run sync-versions.sh to propagate it, and commit that before releasing. release.sh <version> only checks the committed value matches and stops if it does not, because gh release create tags the pushed branch and never sees a local edit. Bump minor for new plugins or skill-set additions, patch for sync refreshes, bug fixes, or copy edits.

README zip URLs: existing zip badges use releases/latest/download/<skill>.zip and auto-resolve to the new tag. Do NOT manually bump these URLs after release. New skills introduced in the release need new badge rows added via /claude-tools:update-readme.

README updates

/claude-tools:update-readme regenerates plugin sections and zip download links in README.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.