Hand off coding work between your local agent and Cord cloud sessions.
This is a skill — an instruction set that any coding agent (Claude Code, Cursor, Codex, Aider, Amp, etc.) can follow to seamlessly move work between your local environment and Cord's cloud coding agents.
Push: You're done for the day. Your local agent commits, pushes, writes a handoff, and sends it to Cord. Cord picks up where you left off.
Pull: Next morning. Your local agent runs cord pull. If Cord has unpublished work, Cord asks its cloud agent to finish, commit, and push first; once ready, your local agent receives a handoff summary and then runs git pull to get the commits.
npm install -g cord-cli
cord auth loginOr use without installing: npx cord-cli auth login
Recommended — via the skills CLI:
npx skills add pretzelai/cord-cloud-skill -yThis installs to your agent's skills directory (e.g. .agents/skills/ for Cursor and OpenCode).
Manual — copy into your project:
| Agent | Where to put it |
|---|---|
| Cursor / OpenCode | .agents/skills/cord-push-pull/SKILL.md |
| Claude Code | .claude/skills/cord-push-pull/SKILL.md |
| Any agent | Reference the raw URL below in project instructions |
Raw skill URL:
https://raw.githubusercontent.com/pretzelai/cord-cloud-skill/main/SKILL.md
Tell your local agent:
"Push this work to Cord and let it continue overnight"
or
"Pull the latest from Cord — what did it do?"
The agent follows the skill instructions to handle git, write context, and call the CLI.
Local Agent CLI (transport) Cord Cloud
─────────── ───────────── ──────────
Commit + push branch →
Write handoff context → cord push → Creates session
Checks out your branch
Starts working
cord pull ← Ensures branch is committed + pushed
Read handoff context ← ← Writes handoff
git pull ←
Continue working
The CLI is a thin pipe. Your agent does all the intelligent work (preparing context, managing git, deciding what to hand off). Cord's agent does the same on the other side.
MIT