HarjjotSinghh

Locum — Development skill for Claude Code

Development community

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

[![CI](https://github.com/HarjjotSinghh/locum/actions/workflows/ci.yml/badge.svg)](https://github.com/HarjjotSinghh/locum/actions/workflows/ci.yml) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) [![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)](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.**

  1. Never read credential files, keychains, or OAuth tokens.
  2. Never call `