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
- Rule2hook — Task: Convert Project Rules to Claude Code Hooks 404 ★
- Carl — Context Augmentation & Reinforcement Layer — Domain-based behavioral rules for Claude Code, keyword-matched an 368 ★
- Dependency Update Workflow — Workflow command scaffold for dependency-update-workflow in JARVIS 355 ★
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
Relay
Never lose your Claude Code context. Auto-handoff daemon with TUI, web dashboard, and multi-task orchestration
Musecode
Ultracode" on Muse Spark 1.3 (free) — orchestrate the task as a Workflow where every fan-out agent is the muse
Atry Implement
Implement an existing .agent-relay/plan.md task-by-task, following project rules, and write implement-plan.md
Context Kernel
Task-induced context normalization for coding agents — a native Claude Code plugin. The task induces a project
Pawscope
Local web dashboard for inspecting Claude / Copilot / Codex CLI agent sessions in real time. Read-only, local-
Agent Ps
A process table for coding agent sessions. Claude Code, Codex, OpenCode, Hermes, Pi, CommandCode and Copilot i
Related Agents
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
Prompt Polisher
Analyzes AI prompt files (.claude/agents/.md, .claude/skills//.md, .agents/skills//.md, CLAUDE.md, AGENTS.md,