by fcakyon
A comprehensive setup for Claude Code, Claude Desktop, and OpenAI Codex that provides ready‑to‑use commands, agents, hooks, and pre‑configured MCP servers to streamline daily development workflows.
Provides a personal configuration bundle for Claude Code, Claude Desktop, and OpenAI Codex, bundling battle‑tested slash commands, git‑automation agents, code‑quality hooks, and a collection of ready‑to‑use MCP server definitions. All components are designed to work together out‑of‑the‑box, reducing manual setup time for developers who rely on AI‑assisted coding.
npm install -g @anthropic-ai/claude-code), jq, gh, and formatting tools (ruff, docformatter, prettier)./plugin marketplace add fcakyon/claude-codex-settings
/plugin install code-quality-hooks@fcakyon-claude-plugins
/plugin install git-workflow-agents@fcakyon-claude-plugins
/plugin install code-simplifier-agent@fcakyon-claude-plugins
/plugin install productivity-commands@fcakyon-claude-plugins
/plugin install mcp-server-configs@fcakyon-claude-plugins
ln -s ~/.claude/CLAUDE.md ~/.claude/AGENTS.md
.claude files, make hook scripts executable, and adjust paths./commit-staged, /create-pr, /explain-architecture-pattern, /update-pr-summary.Q: Do I need to install each MCP server manually?
A: No. The mcp-server-configs plugin copies a ready‑made mcp.json into your project. Manual copy is only required if you prefer a custom location.
Q: Can I use the setup on Windows?
A: The core tools (node, npm, jq, gh) are cross‑platform, but hook scripts assume a Unix‑like shell. On Windows, use WSL or adapt the scripts.
Q: How do I switch from Claude to Z.ai models?
A: Replace the .claude/settings.json with .claude/settings-zai.json and set your Z.ai API key in the indicated environment variable.
Q: What if I want to add my own custom command?
A: Place a markdown file describing the command inside .claude/commands/ and it becomes available automatically.
Q: Are the formatting hooks safe if the required tools are missing?
A: Yes. Hooks gracefully skip execution when ruff, prettier, or other tools are not found, avoiding workflow disruption.
My personal Claude Code/Desktop and OpenAI Codex setup with battle-tested commands and MCP servers that I use daily.
Installation • Configuration • MCP Servers • Agents • Hooks • Commands • Statusline
Install Claude Code and dependencies:
# Install Node.js
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
nvm install 22
# Install Claude Code
npm install -g @anthropic-ai/claude-code
# Install required tools
brew install jq gh # macOS
# OR apt-get install jq gh # Ubuntu
# Install code quality tools (required for hooks to work)
pip install ruff docformatter
npm install -g prettier@3.6.2 prettier-plugin-sh
See INSTALL.md for detailed prerequisite setup.
Option A: Plugin Marketplace
Install agents, commands, hooks, and MCP servers via plugin system:
# Add marketplace
/plugin marketplace add fcakyon/claude-codex-settings
# Install plugins
/plugin install code-quality-hooks@fcakyon-claude-plugins
/plugin install git-workflow-agents@fcakyon-claude-plugins
/plugin install code-simplifier-agent@fcakyon-claude-plugins
/plugin install productivity-commands@fcakyon-claude-plugins
/plugin install mcp-server-configs@fcakyon-claude-plugins
Then create symlink for cross-tool compatibility:
ln -s ~/.claude/CLAUDE.md ~/.claude/AGENTS.md
Restart Claude Code to activate.
Option B: Manual Clone
# Clone repository
git clone https://github.com/fcakyon/claude-settings.git ~/.claude-settings
# Copy configuration files
cp -r ~/.claude-settings/.claude/* ~/.claude/
# Create symlink
ln -s ~/.claude/CLAUDE.md ~/.claude/AGENTS.md
# Make hooks executable
chmod +x ~/.claude/hooks/*.py
See INSTALL.md for complete manual setup guide.
| Plugin | Description | Installation |
|---|---|---|
| code-quality-hooks | Auto-formatting for 8+ languages | /plugin install code-quality-hooks@fcakyon-claude-plugins |
| git-workflow-agents | commit-manager + pr-manager agents | /plugin install git-workflow-agents@fcakyon-claude-plugins |
| code-simplifier-agent | Pattern consistency enforcer | /plugin install code-simplifier-agent@fcakyon-claude-plugins |
| productivity-commands | Custom slash commands | /plugin install productivity-commands@fcakyon-claude-plugins |
| mcp-server-configs | 9 pre-configured MCP servers | /plugin install mcp-server-configs@fcakyon-claude-plugins |
Claude Code configuration is stored in .claude/settings.json and includes:
Alternative API Providers:
For cost-effective alternatives, you can use Z.ai's GLM models via Anthropic-compatible API:
.claude/settings-zai.json - Configuration for Z.ai GLM-4.6/GLM-4.5-Air models (85% cheaper than Claude 4.5 - source)
OpenAI Codex configuration is stored in ~/.codex/config.toml and includes:
gpt-5-codex model with model_reasoning_effort set to "high" and served through the Azure responses API surfacemodel_providers.azure) with the project-specific base URL and env_key secret for authenticationVSCode settings are stored in .vscode/settings.json and include:
The MCP (Model Context Protocol) configuration lives in mcp.json.
Plugin-based:
/plugin install mcp-server-configs@fcakyon-claude-plugins
Copy mcp.json to your project root named as .mcp.json and adjust MCP servers.
These are some solid MCP server repos worth checking out:
OpenAI Codex compatible version of MCP server configurations can be found in ~/.codex/config.toml.
Specialized agents that run automatically to enhance code quality, stored in .claude/agents/:
Plugin-based:
/plugin install git-workflow-agents@fcakyon-claude-plugins
/plugin install code-simplifier-agent@fcakyon-claude-plugins
Copy agents from .claude/agents/ to your project's .claude/agents/ directory.
code-simplifier.md - Contextual pattern analyzer that ensures new code follows existing project conventions (imports, naming, function signatures, class patterns). Auto-triggers after TodoWrite to maintain codebase consistency.
commit-manager.md - Git commit expert that analyzes staged changes, creates optimal commit strategies, and executes commits with meaningful messages. Handles documentation updates and multi-commit scenarios.
pr-manager.md - Git and GitHub PR workflow automation that handles branch creation, commits via commit-manager agent, documentation updates, and PR submission with proper formatting.
For more details, see the Claude Code sub-agents documentation.
Custom hooks that enhance tool usage, configured in .claude/settings.json:
Plugin-based:
/plugin install code-quality-hooks@fcakyon-claude-plugins
.claude/hooks/ to your project.claude/settings.jsonchmod +x ./.claude/hooks/*.py
Make hook scripts executable after cloning:
chmod +x ./.claude/hooks/*.py
These hooks ensure Claude always has access to project-specific instructions by automatically loading them on each prompt.
These hooks provide user confirmation dialogs before executing critical git operations, showing previews of what will be committed or created.
gh pr create. Displays PR title, body preview, assignee (resolves @me to actual username), and reviewer.These hooks redirect native Claude Code web tools to faster and more reliable Tavily alternatives. Native WebSearch/WebFetch tools take 20-30 seconds while Tavily equivalents complete in 1-2 seconds. Additionally, native WebFetch often fails on bot-protected websites while Tavily can bypass these protections.
Comprehensive auto-formatting system that covers all major file types, designed to eliminate formatting inconsistencies and reduce CI formatting noise.
Whitespace Cleanup (settings.json#L64-L74): Automatically removes whitespace from empty lines in Python, JavaScript, and TypeScript files (.py, .js, .jsx, .ts, .tsx) after any Edit, MultiEdit, Write, or Task operation. Works cross-platform (macOS and Linux).
Python Code Quality (hook_python_code_quality.py): Automatically formats and lints Python files using ruff and docformatter after Edit/Write/MultiEdit operations. Matches Ultralytics Actions pipeline exactly:
ruff format --line-length 120ruff check --fix --unsafe-fixes --extend-select I,D,UP --target-version py38docformatter --wrap-summaries 120 --wrap-descriptions 120Prettier Formatting (hook_prettier_formatting.py): Auto-formats JavaScript, TypeScript, CSS, JSON, YAML, HTML, Vue, and Svelte files using prettier. Skips lock files and model.json to prevent conflicts.
Markdown Formatting (hook_markdown_formatting.py): Formats Markdown files with prettier, applying special tab-width 4 handling for documentation directories (matches Ultralytics Actions docs formatting).
Bash/Shell Formatting (hook_bash_formatting.py): Formats shell scripts (.sh, .bash) using prettier-plugin-sh for consistent bash scripting style.
Ripgrep Enforcement (hook_enforce_rg_over_grep.py): Blocks grep and find commands in Bash tool calls, suggesting rg (ripgrep) alternatives for better performance and more features.
This comprehensive formatting setup is designed to achieve zero auto-formatting from CI workflows like Ultralytics Actions. The hooks cover 95% of typical formatting needs:
All hooks gracefully degrade when tools aren't available, never disrupting Claude Code operations. Python formatting configuration inspired by onuralpszr's setup.
For more details, see the Claude Code hooks documentation.
Custom Claude Code slash commands that make life easier, stored in .claude/commands/:
Plugin-based:
/plugin install productivity-commands@fcakyon-claude-plugins
Copy commands from .claude/commands/ to your project's .claude/commands/ directory.
/commit-staged - Commit staged changes using the commit-manager agent with optional context/create-pr - Create pull request using the pr-manager agent with optional context/explain-architecture-pattern - Identify and explain architectural patterns and design decisions/update-pr-summary - Generate PR summaries with advanced analytical frameworksThe setup includes a custom statusline powered by ccusage that displays Claude usage statistics in real-time. The statusline configuration provides:
The statusline is configured through two files:
.claude/settings.json: Contains the statusline command configuration.claude/ccusage.json: ccusage-specific settings for locale, timezone, and refresh behaviorFor detailed setup instructions and customization options, see the ccusage statusline guide.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.