Relay Task Kernel — Productivity skill for Claude Code
One handoff contract that Claude Code, Codex, Gemini CLI and Copilot all read.
How to install Relay Task Kernel
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open leavemagic-cyber/relay-task-kernel and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Relay Task Kernel does
One handoff contract that Claude Code, Codex, Gemini CLI and Copilot all read. Zero-dependency CLI for shared agent rules, scoped memory and handoff cards.
Alternatives in Productivity
- Dependency Update Workflow — Workflow command scaffold for dependency-update-workflow in JARVIS 355 ★
- Obsidian Capture — Quick idea capture — zero friction, saves to Ideas/ and mentions in daily note 277 ★
- Meridian — Zero-config Claude Code setup with enforced task scaffolding, structured memory, persistent context after comp 143 ★
README
RTK — Relay Task Kernel
**One handoff contract that Claude Code, Codex, Gemini CLI and Copilot all read.**
[](LICENSE)  
繁體中文說明請看 [README.zh-TW.md](README.zh-TW.md)。
The problem
You use more than one coding agent. Each wants its own instruction file:
AGENTS.md Codex
CLAUDE.md Claude Code
GEMINI.md Gemini CLI
.github/copilot-instructions.md Copilot
So you write the rules four times. Then you tighten one rule and update three files. Then a new session starts, the agent has no idea what happened yesterday, and you re-explain the project for the ninth time — right before it force-pushes something.
RTK makes those four files thin pointers to one shared contract, and gives the project a small, deliberate memory that survives across sessions and across agents.
Quick start
npx github:leavemagic-cyber/relay-task-kernel init --all
`--all` writes the machine-wide protocol to `~/.rtk/` **and** the project overlay into the current repo. Answer four questions, or pass `--yes` to take the detected values.
Already have a `CLAUDE.md` you like? Keep it. RTK only manages the region between its own markers and never touches the rest of the file.
What it writes
~/.rtk/ the protocol, shared by every repo
├── RTK.md load order + core contract
├── rules/ core, forbidden-actions, code-edit
├── templates/ task packet, context capsule, memory patch, handoff
└── schemas/ machine-readable task packet
~/.codex/AGENTS.md Codex global entry
your-repo/
├── START_HERE.md the one card every agent reads first
├── AGENTS.md ─┐
├── CLAUDE.md
Related Skills
Agent Autosave
One task, many agents. A portable .autosave/ folder that saves what your coding agent was doing and hands it t
Musecode
Ultracode" on Muse Spark 1.3 (free) — orchestrate the task as a Workflow where every fan-out agent is the muse
Relay
Never lose your Claude Code context. Auto-handoff daemon with TUI, web dashboard, and multi-task orchestration
Relayhand
Relay: compress the current conversation into a task handoff for the next session, and output a copy-paste pro
Atry Implement
Implement an existing .agent-relay/plan.md task-by-task, following project rules, and write implement-plan.md
Codex Widget Kit
Codex Widget Kit: live usage rings, effort meter, task ETA and sub-agent cards for OpenAI Codex CLI, in their
Related Agents
Paf Reviewer
Runs one phone-a-friend relay or review command in the background and reports back a receipt plus the findings
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Consult Agent
Execute cross-tool AI consultations via Task spawning. Use when agents or workflows need a second opinion from