hv-sync-commands

hv-sync-commands is a command for Claude Code, Codex from lancejames221b/agent-hivemind. It costs 26 tokens per session (1,511 once invoked), scanned A, original, MIT.

A command-line tool for synchronising personal commands and skills between coding assistants and computers through hAIveMind. It can detect tools and push or pull selected command sets.

In plain words
What is it for?
Use it when setting up a new machine, backing up commands, sharing selected commands, or keeping Claude, Cursor, Kilo, and Cline configurations aligned.
Why use it?
It reduces the work of recreating the same assistant setup on another machine or in another coding tool.

Command for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/lj/.claude/commands.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hv-sync-commands

README.md
[![agentmods](https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-sync-commands.svg)](https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-sync-commands)
Your own site
<a href="https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-sync-commands"><img src="https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-sync-commands.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,511 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.1 $0.00026 $0.01511
Opus 5 $0.00013 $0.00756
Sonnet 5 $0.00005 $0.00302
Haiku 4.5 $0.00003 $0.00151

Measured 6d ago against content hash a4984dd7ea7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

hv-sync-commands 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 6d ago.

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.

commands/hv-sync-commands.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

hv-sync-commands - Personal Command Synchronization

Purpose

Synchronize personal slash commands and skills across different AI coding assistants and machines using hAIveMind as the central hub.

When to Use

  • New Machine Setup: Pull your personal commands to a new workstation
  • Cross-Tool Sync: Copy commands from Claude Code to Cursor, Kilo, or Cline
  • Team Sharing: Share selected commands with team members
  • Backup Commands: Push personal commands to hAIveMind for safekeeping
  • Multi-Machine Workflow: Keep commands in sync across lance-dev, m2, max, etc.

Syntax

hv-sync-commands <operation> [options]

Operations

detect - Detect AI Tools

Scan for installed AI coding assistants and their command directories.

hv-sync-commands detect

push - Push to hAIveMind

Sync personal commands from local directory to hAIveMind memory.

hv-sync-commands push [--tool <name>] [--filter <commands>] [--scope <scope>]
  • --tool: Source tool (claude|cursor|kilo|cline|codex), default: claude
  • --filter: Only sync specific commands (comma-separated)
  • --scope: Memory scope (project-shared|user-global|team-global)

pull - Pull from hAIveMind

Sync commands from hAIveMind memory to local directory.

hv-sync-commands pull [--tool <name>] [--filter <commands>] [--force]
  • --tool: Target tool (claude|cursor|kilo|cline|codex), default: claude
  • --filter: Only sync specific commands (comma-separated)
  • --force: Overwrite existing commands

cross-tool - Cross-Tool Sync

Sync commands directly between AI tools without going through hAIveMind.

hv-sync-commands cross-tool --from <tool> [--to <tools>] [--force]
  • --from: Source tool
  • --to: Target tools (comma-separated), default: all others
  • --force: Overwrite existing commands

list - List Synced Commands

Show all commands synced in hAIveMind memory.

hv-sync-commands list [--scope <all|personal|hv>]

Real-World Examples

Read the full file on GitHub · 211 lines

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. 6d ago First seen · 211 lines · 0 tokens per session scan A a4984dd7ea7e

Subscribe to this mod's changes

hv-sync-commands is a command published in the GitHub repository lancejames221b/agent-hivemind (7 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 1,511 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.