session-sync

A tool for moving coding-agent session records between two checkouts of the same project on different machines. It can sync transcripts, memories, settings, agent definitions, and handoff documents.

In plain words
What is it for?
Use it to pull, push, or synchronize project session state while excluding credentials, tokens, key material, and .env files.
Why use it?
It helps continue work on another machine without manually copying session context. It requires choosing the direction, remote host, project path, and handling conflicts explicitly.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/helixdevelopment/code/session-sync
Any agent
npx skills add HelixDevelopment/code --skill session-sync
Clone the repo
git clone --depth 1 https://github.com/HelixDevelopment/code

Made for: Claude Code, Codex.

Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00022 $0.00479
Opus 5 $0.00011 $0.00239
Sonnet 5 $0.00004 $0.00096
Haiku 4.5 $0.00002 $0.00048

Measured yesterday against content hash a30859b1be8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

session-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

helix_code/internal/commands/builtin_skills/session-sync/SKILL.md · 44 lines

What it actually says

You are helping a HelixCode user sync session state with the same project on another machine.

Session sync moves the project's agent-side state — memories, session transcripts, settings, agent definitions and handoff documents — between a remote host and this one. It supports pull (remote to local), push (local to remote) and bidirectional sync.

Before running anything, establish these facts rather than assuming them:

  1. DIRECTION. Pull, push, or bidirectional. Never guess: pushing when the user meant pull can overwrite newer local state.

  2. THE REMOTE. Which host, which user, and the path to the SAME project there. Sync is defined between two checkouts of one project; it is not a general file copy.

  3. WHAT IS IN SCOPE. Session transcripts and memories are the point. Anything holding credentials is not: never sync secrets, tokens, key material or .env files between machines as part of this operation.

  4. CONFLICTS ARE SURFACED, NOT SILENTLY MERGED. When both sides changed, report the divergence and let the user decide. Silently picking a winner destroys whichever side lost.

  5. THE OPERATION MUST BE REVERSIBLE. Confirm a backup or a dry run before any step that overwrites existing local state, and prefer showing what WOULD change first.

Report afterwards what actually transferred — which files, in which direction — rather than reporting success generically. If the remote was unreachable, say so; an unreachable remote is not a completed sync.

The sync implementation and its full contract live at constitution/skills/session-sync/ alongside the executable helper.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 44 lines · 22 tokens per session scan A a30859b1be8f

Subscribe to this mod's changes

session-sync is a skill published in the GitHub repository HelixDevelopment/code (2 stars, last pushed 4d ago), licensed MIT. It adds 22 tokens to every session and 479 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

reskin

Author a NEW skin for the reskinnable-demo app. A skin is a self-contained domain plugin under src/skins/ / that implements the frozen Skin contract (src/shell/skin-contract.ts) to swap the app's entire experience — brand, theme, layout, pages, tools, data, and agent — as a live sales demo. Use when the user says "add…

CopilotKit/CopilotKit · 154 tokens

copilotkit-channels

Use for the CODE half of a managed Intelligence Channel with Slack or Microsoft Teams: customising the Channel a CLI-scaffolded project already ships, or — for a project the CLI did not generate — writing the Channel declaration, the long-running host, and the awaited activation call. Teams provider setup is in scope…

CopilotKit/CopilotKit · 112 tokens

copilotkit-setup

Use when adding CopilotKit to an existing project or bootstrapping a new CopilotKit project from scratch. Covers framework detection, package installation, runtime wiring (managed Intelligence or self-hosted SSE), provider setup, and first working chat integration.

CopilotKit/CopilotKit · 56 tokens

setup-slack-channel

Use for the PROVIDER half of getting a locally running CopilotKit Channels agent to answer in Slack, when no Slack app exists yet — setting up a Channels bot in Slack for the first time, creating the Slack app and its tokens, attaching it to a managed Intelligence Channel, or when a Channel reports setuprequired, sits…

CopilotKit/CopilotKit · 206 tokens

a2ui-renderer

Render A2UI (Agent-to-UI declarative surfaces) in CopilotKit v2. Enable the runtime via CopilotRuntime({ a2ui: {...} }), then enable the provider via . Auto-activates via /info — do NOT manually pass renderActivityMessages. createA2UIMessageRenderer ships from @copilotkit/react-core/v2; low-level primitives…

CopilotKit/CopilotKit · 175 tokens

runtime

@copilotkit/runtime — mount a fetch-native CopilotRuntime on any JS server, wire middleware, pick an AgentRunner, instantiate BuiltInAgent (Factory Mode with TanStack AI is the preferred default) or plug in any of 12 external agent frameworks (Mastra, LangGraph, CrewAI Crews/Flows, PydanticAI, ADK, LlamaIndex, Agno…

CopilotKit/CopilotKit · 150 tokens