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
- Coding Agent Session Search — Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C 708 ★
- Claude Code Skill — Persistent multi-engine coding session manager 326 ★
- Lacp — Local-first policy, evidence, memory, and recovery controls for Claude, Codex, Hermes, and other CLI coding ag 300 ★
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
Lord Claude
Five Claude Code skills that delegate sub-tasks to rival CLIs — Codex, Gemini (via Antigravity), Grok, and Com
Grok Plugin Claude Code
A lightweight Grok plugin for Claude Code — delegate coding and review tasks to the Grok CLI. A simple reimple
Glm Subagent MCP
Delegate work to a Claude Code subprocess billed against a GLM Coding Plan.
Workbench
Local-first wearable work agent using Even G2 audio and R1 gestures to delegate work to Claude Code and Codex
TermCrew
Local multi-agent terminal: run Claude, Codex, Gemini, Cursor Agent and 24 more coding CLIs side by side in re
Agent Bridges
MCP configuration and templates for Claude Code to delegate work to Antigravity (Gemini) and Codex while keepi
Related Agents
Cursor Delegate
Proactively use when this coding agent should hand a substantial coding, diagnosis, or implementation task to
Force Runner
Run AI model tasks in background via The Force. Use when user wants parallel work with GPT-5.2, Gemini, Codex,
Kimi Worker
Forward a coding, diagnosis, or review task to Kimi K3 (Moonshot) through the local kimi-worker.sh runtime. Us