hivesink-pull

hivesink-pull is a command for Claude Code from lancejames221b/agent-hivemind. It costs 14 tokens per session (1,495 once invoked), scanned F, original, MIT.

A command that copies skills, documentation, and configuration files from a central hAIveMind vault to a local machine. It uses HTTP over Tailscale, a private network connection between devices.

In plain words
What is it for?
Use it to pull all available files, or only skills, documents, or configuration files, from the central vault.
Why use it?
It keeps local files synchronized with shared files without requiring SSH keys. A dry-run option lets you preview what would be copied first.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

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 commands/lancejames221b/agent-hivemind/hivesink-pull
Clone the repo
git clone --depth 1 https://github.com/lancejames221b/agent-hivemind

Made for: Claude Code.

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 hivesink-pull

README.md
[![agentmods](https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hivesink-pull.svg)](https://agentmods.dev/commands/lancejames221b/agent-hivemind/hivesink-pull)
Your own site
<a href="https://agentmods.dev/commands/lancejames221b/agent-hivemind/hivesink-pull"><img src="https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hivesink-pull.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 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,495 The whole file, excluding the scripts and references it only reads on demand.
Security scan F 4 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.00014 $0.01495
Opus 5 $0.00007 $0.00747
Sonnet 5 $0.00003 $0.00299
Haiku 4.5 $0.00001 $0.00150

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

Security

Grade F, and why

hivesink-pull scanned grade F with 4 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 5d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get install curl

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s http://lance-dev:8900/vault/list | python3 -m json.tool

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/haivemind-vault

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://lance-dev:8900/vault/list | python3 -m json.tool
.claude/commands/hivesink-pull.md · 193 lines

How it starts

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

hivesink-pull - Sync from hAIveMind Vault

Purpose

Pull skills, docs, and configs from the central hAIveMind vault on lance-dev to your local machine. Uses HTTP via Tailscale for cross-machine synchronization (no SSH key setup required).

Syntax

hivesink-pull [options]

Options

  • --dry-run - Preview what would be synced without making changes
  • --skills - Pull only skill files (commands/*.md)
  • --docs - Pull only docs (CLAUDE.md, etc.)
  • --configs - Pull only config files
  • --all - Pull everything (default behavior)

Central Vault Location

The hAIveMind vault is served via HTTP from lance-dev:8900:

  • http://lance-dev:8900/vault/skills/ - Command skill files
  • http://lance-dev:8900/vault/docs/ - Documentation
  • http://lance-dev:8900/vault/configs/ - Configuration files

Execution Instructions

When this command is invoked, execute the following commands based on options:

Setup Local Directories

mkdir -p ~/.claude/commands
mkdir -p ./config

Check What's Available (--dry-run)

Preview vault contents without downloading:

# List all available files
curl -s http://lance-dev:8900/vault/list | python3 -m json.tool

# Check manifest for sync timestamps
curl -s http://lance-dev:8900/vault/manifest | python3 -m json.tool

Pull Everything (default or --all)

Download entire vault as zip and extract:

# Download vault zip
curl -o /tmp/haivemind-vault.zip http://lance-dev:8900/vault/download.zip

# Extract to temp directory
rm -rf /tmp/haivemind-vault
unzip -o /tmp/haivemind-vault.zip -d /tmp/haivemind-vault/

# Copy skills to local commands
cp /tmp/haivemind-vault/skills/*.md ~/.claude/commands/ 2>/dev/null || true

# Copy configs
cp /tmp/haivemind-vault/configs/.mcp.json ~/.mcp.json 2>/dev/null || true
cp /tmp/haivemind-vault/configs/*.json ./config/ 2>/dev/null || true

# Copy docs to project root
cp /tmp/haivemind-vault/docs/*.md ./ 2>/dev/null || true

# Cleanup
rm -rf /tmp/haivemind-vault.zip /tmp/haivemind-vault/

echo "✅ Vault sync complete"

Read the full file on GitHub · 193 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. 5d ago First seen · 193 lines · 0 tokens per session scan F a01b133a6f25

Subscribe to this mod's changes

hivesink-pull is a command published in the GitHub repository lancejames221b/agent-hivemind (7 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 1,495 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it F with 4 findings (asks for root, downloads and executes remote code, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.