/ 目錄 / 演練場 / Claude + Codex Settings
● 社群 fcakyon ⚡ 即開即用

Claude + Codex Settings

作者 fcakyon · fcakyon/claude-codex-settings

An opinionated, working configuration for Claude Code AND OpenAI Codex — skills, plugins, hooks, MCPs, all known-good.

Useful as a reference point: instead of starting from blank settings.json, fork this repo and trim. Covers commonly-needed hooks (formatting, lint), permission allowlists, MCP configs that play together, and skills the author actually uses.

為什麼要用

核心特性

即時演示

實際使用效果

就緒

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "claude-codex-settings-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fcakyon/claude-codex-settings"
      ],
      "_inferred": true
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "claude-codex-settings-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fcakyon/claude-codex-settings"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "claude-codex-settings-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fcakyon/claude-codex-settings"
      ],
      "_inferred": true
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "claude-codex-settings-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fcakyon/claude-codex-settings"
      ],
      "_inferred": true
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "claude-codex-settings-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/fcakyon/claude-codex-settings"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "claude-codex-settings-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/fcakyon/claude-codex-settings"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add claude-codex-settings-skill -- git clone https://github.com/fcakyon/claude-codex-settings

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: Claude + Codex Settings

Bootstrap a working Claude Code config from a known-good baseline

👤 Claude Code users ⏱ ~15 min intermediate

何時使用: You're tired of starting from a blank slate.

步驟
  1. Clone
    Clone into a scratch folder.✓ 已複製
    → Files visible
  2. Pick + trim
    Copy what you need into your real ~/.claude; remove what you don't✓ 已複製
    → Personalized config
  3. Iterate
    Tweak permissions and hooks based on real usage✓ 已複製
    → Stable setup

結果: Config that already covers the obvious things, customized to your style.

組合

與其他 MCP 搭配,撬動十倍槓桿

claude-codex-settings-skill + fewer-permission-prompts (built-in skill)

Use it to slim the allowlist further to your usage

Combine claude-codex-settings-skill with fewer-permission-prompts (built-in skill): Use it to slim the allowlist further to your usage✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
reference-config (see docs) Static config files; not callable tools 1 call

成本與限制

運行它的成本

API 配額
N/A
每次呼叫 Token 數
0
費用
Free
提示
Don't copy blindly — author's preferences may not match yours

安全

權限、密鑰、影響範圍

憑證儲存: None
資料出站: None by itself
切勿授予: blindly trust permission entries; review them

故障排查

常見錯誤與修復

Some MCPs not starting

Author's versions may be outdated; bump npm package versions

替代方案

Claude + Codex Settings 對比其他方案

替代方案何時用它替代權衡
Empty configYou want to learn by building upSlow start

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills