{"id":31230106,"url":"https://github.com/rohittcodes/claude-vs-codex","last_synced_at":"2025-10-14T13:40:48.063Z","repository":{"id":315678404,"uuid":"1054233348","full_name":"rohittcodes/claude-vs-codex","owner":"rohittcodes","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-10T14:57:27.000Z","size":6410,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T23:00:38.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rohittcodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-10T14:48:23.000Z","updated_at":"2025-09-18T07:25:10.000Z","dependencies_parsed_at":"2025-09-20T02:55:45.315Z","dependency_job_id":"250f4a5f-57c2-4ff8-b041-ddc50faf1c57","html_url":"https://github.com/rohittcodes/claude-vs-codex","commit_stats":null,"previous_names":["rohittcodes/claude-vs-codex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rohittcodes/claude-vs-codex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohittcodes%2Fclaude-vs-codex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohittcodes%2Fclaude-vs-codex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohittcodes%2Fclaude-vs-codex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohittcodes%2Fclaude-vs-codex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohittcodes","download_url":"https://codeload.github.com/rohittcodes/claude-vs-codex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohittcodes%2Fclaude-vs-codex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018724,"owners_count":26086612,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-22T09:53:19.886Z","updated_at":"2025-10-14T13:40:48.045Z","avatar_url":"https://github.com/rohittcodes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude vs Codex: AI Coding Comparison\n\nA practical comparison between Claude Code and OpenAI Codex, testing their capabilities on real-world development tasks using Model Context Protocol (MCP) tools. Built with [Rube MCP](https://rube.composio.dev) by [Composio](https://composio.dev).\n\n## Overview\n\nThis repository contains the complete code and results from a head-to-head comparison between two leading AI coding assistants:\n- **Claude Code** (Sonnet 4) with native MCP support\n- **OpenAI Codex** (GPT-5 Medium) with stdio-based MCP support\n\n## Test Challenges\n\n### 1. Figma UI Cloning (`claude-figma/` \u0026 `codex-figma/`)\n**Task**: Recreate a complex landing page from Figma Community using Next.js + TypeScript + TailwindCSS v4\n\n**Requirements**:\n- Pixel-accurate fidelity\n- Modular component structure\n- Fully responsive design\n- No inline styles or third-party UI libraries\n\n**Results**:\n- **Claude Code**: Better design structure but missed yellow theme\n- **Codex**: Created original design, ignored Figma brief\n\n### 2. Job Scheduler (`claude-scheduler/` \u0026 `codex-scheduler/`)\n**Task**: Build a timezone-aware cron scheduler with persistence and catch-up execution\n\n**Requirements**:\n- Cron-style expressions (e.g., \"0 9 * * 1\" = every Monday at 9AM)\n- Timezone awareness with IANA names\n- SQLite/JSON persistence\n- Catch-up execution for missed jobs\n- Clean TypeScript interface\n\n**Results**:\n- **Claude Code**: Comprehensive solution with extensive documentation\n- **Codex**: Concise, functional implementation\n\n## MCP Setup\n\nThis comparison used **Rube MCP** (Universal MCP Server by Composio) for Figma integration.\n\n### For Claude Code:\n1. Visit [rube.composio.dev](https://rube.composio.dev/)\n2. Click \"Add to Claude Code\"\n3. Run the provided command\n4. Authenticate with `/mcp`\n\n### For Codex:\nRequires a proxy layer for HTTP-based MCPs (stdio support only). See `rube-mcp-adapter-auth.js` in this repo.\n\n## Key Findings\n\n### Claude Code Strengths\n- Better design fidelity with Figma (when following instructions)\n- More comprehensive documentation and reasoning\n- Production-ready code structure\n- Educational value with detailed explanations\n\n### Codex Strengths  \n- Faster raw generation (~2-3x speed)\n- More cost-effective token usage\n- Direct, concise solutions\n- Good for rapid prototyping\n\n### Cost Comparison\n- **Claude Code**: Higher token usage due to detailed explanations\n- **Codex**: More efficient, lower cost per task\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohittcodes%2Fclaude-vs-codex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohittcodes%2Fclaude-vs-codex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohittcodes%2Fclaude-vs-codex/lists"}