Locum — Development skill for Claude Code
Delegate Grok Bot coding work to your own local Claude Code / Codex CLIs via a custom MCP connector.
How to install Locum
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open HarjjotSinghh/locum and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Locum does
Delegate Grok Bot coding work to your own local Claude Code / Codex CLIs via a custom MCP connector.
Alternatives in Development
- Claude Code Skill — Persistent multi-engine coding session manager 326 ★
- Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
- Obsidian MCP Connector — Your Obsidian vault, exposed to Claude, Codex, Cursor and any MCP client 115 ★
README
Locum
[](https://github.com/HarjjotSinghh/locum/actions/workflows/ci.yml) [](LICENSE) [](https://www.python.org/)
*A locum is a qualified professional who temporarily does someone else's job.*
Lets Grok Bot delegate coding work to the Claude Code and Codex CLIs you are already logged into on your own machine, instead of burning Grok Bot usage on its own agent loop.
Not affiliated with or endorsed by xAI, Anysphere, OpenAI, or Anthropic.
Grok Bot runs on a persistent computer in xAI's cloud, so it cannot see `localhost`. It reaches this server over a tunnel, as a **custom MCP connector** -- a documented Grok feature, not a workaround.
Grok Bot (xAI cloud)
└─ MCP tool call ──► tunnel ──► this server (your Mac)
├─ spawns `claude -p` (your Claude sub)
└─ spawns `codex exec` (your ChatGPT sub)
Why this is allowed, and where the line is
Anthropic's [Claude Code legal page](https://code.claude.com/docs/en/legal-and-compliance) draws the boundary explicitly:
Advertised usage limits for Pro and Max plans assume **ordinary, individual usage of Claude Code and the Agent SDK**.
Anthropic does not permit third-party developers to offer Claude.ai login or to **route requests through Free, Pro, or Max plan credentials on behalf of their users**.
So:
| ✅ | You, your machine, your subscription, your own work |
| ❌ | Hosting this so other people's requests hit your subscription |
| ⚠️ | Sharing the code so others run it on their own subscription -- fine only while the invariants below hold |
**Invariants. Do not remove them; they are the reason this is legal.**
- Never read credential files, keychains, or OAuth tokens.
- Never call `
Related Skills
Grok Scout
Scout for Grok Bot: hosted MCP and OAuth for local coding-agent coordination
Lord Claude
Five Claude Code skills that delegate sub-tasks to rival CLIs — Codex, Gemini (via Antigravity), Grok, and Com
ChatGPT Local Connector
Connect ChatGPT to local coding agents—including Codex, Claude, Gemini, Cursor, and more—to explore projects,
Claude Foreman
Cross-harness coding orchestration for Claude Code. Delegate to Codex, Antigravity, or custom CLI agents via p
Grok Plugin Claude Code
A lightweight Grok plugin for Claude Code — delegate coding and review tasks to the Grok CLI. A simple reimple
Picode
PiCode — browser-based Agent Development Environment (ADE) for coding-agent CLIs: Pi, Claude Code, Codex, Grok
Related Agents
Protocol Researcher
Verifies facts about vendor agent CLIs, SDKs, protocols and terms (Claude Code, Codex, Gemini CLI, OpenCode, A
Cursor Delegate
Proactively use when this coding agent should hand a substantial coding, diagnosis, or implementation task to
Pi Implementer
Implementation lane driven by the pi CLI (a local multi-provider coding agent, distinct from omp). Model-agnos