hive-connect-repo

hive-connect-repo is a skill for Claude Code, Codex from Hivemind-OSS/Hivemind. It costs 150 tokens per session (4,211 once invoked), scanned A, original, Apache-2.0.

A setup guide for registering a Git repository with a Hivemind server so tracked-branch changes can enter its change-outcome record and anchor-drift checks. It uses Git over HTTPS with a token supplied through an environment variable.

In plain words
What is it for?
Use it to add a repository to Hivemind, check server health, and verify that repository changes are reaching the census feed.
Why use it?
It connects a repository to the server-side synchronisation process without installing extra components in the repository or requiring inbound access.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to add a repository to Hivemind, check server health, and verify that repository changes are reaching the census feed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hivemind-oss/hivemind/hive-connect-repo
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.

Any agent
npx skills add Hivemind-OSS/Hivemind --skill hive-connect-repo
Clone the repo
git clone --depth 1 https://github.com/Hivemind-OSS/Hivemind

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 hive-connect-repo

README.md
[![agentmods](https://agentmods.dev/badge/skills/hivemind-oss/hivemind/hive-connect-repo/github.svg)](https://agentmods.dev/skills/hivemind-oss/hivemind/hive-connect-repo)
Your own site
<a href="https://agentmods.dev/skills/hivemind-oss/hivemind/hive-connect-repo"><img src="https://agentmods.dev/badge/skills/hivemind-oss/hivemind/hive-connect-repo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hive-connect-repo

Your own site · 80×15
<a href="https://agentmods.dev/skills/hivemind-oss/hivemind/hive-connect-repo"><img src="https://agentmods.dev/badge/skills/hivemind-oss/hivemind/hive-connect-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,211 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00150 $0.04211
Opus 5.5 $0.00060 $0.01684
Sonnet 5.5 $0.00030 $0.00842
Haiku 4.5 $0.00015 $0.00421

Measured 2mo ago against content hash de441921adde, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hive-connect-repo 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 2mo 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.

skills/hive-connect-repo/SKILL.md · 245 lines

How it starts

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

hive-connect-repo — register a repo & test the census feed

Register git repos with a running server so the sync daemon feeds tracked-branch landings into the change-outcome ledger — and judges anchor drift — automatically, per repo. One store, partitioned by repo: register each repo the fleet works in. This skill does not connect agents/teammates (that is hive-connect-team) or tune the sync loop's knobs (that is hive-operate).

The whole connection is outbound git-over-HTTPS with the token resolved from an env var — no gh CLI, no GitHub App, no SSH key, and nothing installed in the consuming repo (census and drift are server-side; agents are thin, repo-agnostic MCP clients). The server reaches out to the remote; nothing inbound is required for the feed.

CLI resolve (once per shell): command -v hive >/dev/null 2>&1 || hive() { python3 -m hive.tools.cli "$@"; } — makes every hive … line below run on an uninstalled checkout (the CLI is stdlib-only; Windows shells: py -m hive.tools.cli <verb>; prerequisites: hive-bringup).

1. Preflight — server up

hive status          # or hive_health() over MCP — confirm the server is ok

If it is down, bring it up first (hive-bringup).

2. Gather inputs (walk through anything missing)

  • Repo URL — the https://…/ORG/REPO.git form. An SSH URL ([email protected]:…) will not authenticate; no key is provisioned. HTTPS only. A public repo needs no token (the fetch runs anonymous).
  • Token — only for a private remote. Mint a least-privilege, read-only GitHub token: Settings → Developer settings → Personal access tokens → Fine-grained → grant the repo Repository permissions → Contents: Read-only. A classic PAT with repo scope or a machine-user / App-installation token work too — the daemon uses the git transport, not the GitHub API. Put the value in an env var in the server's .env; the registry gets only the var's NAME (--token-env). Unset, the daemon falls to the fleet-default HIVE_SYNC__TOKEN at tick time; that too absent ⇒ anonymous.
  • Branch — optional. Unset, the daemon tracks the remote's origin default branch. Pass --branch <ref> only to pin a different tracked line.

Read the full file on GitHub · 245 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. 2mo ago First seen · 245 lines · 150 tokens per session scan A de441921adde

Subscribe to this mod's changes

hive-connect-repo is a skill published in the GitHub repository Hivemind-OSS/Hivemind (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 150 tokens to every session and 4,211 once invoked, about $0.0006 per session on Opus 5.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

github-multi-repo

Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration.

jazz-max/ruflo-hub · 21 tokens

Hooks Automation

Automated coordination, formatting, and learning from Claude Code operations using intelligent hooks with MCP integration. Includes pre/post task hooks, session management, Git integration, memory coordination, and neural pattern training for enhanced development workflows.

jazz-max/ruflo-hub · 46 tokens

release-rollback

Roll a release back for real when post-deploy regression goes red — apc release rollback flips the current version to pulled and the last good version back to current in the release ledger, and (with --mirror) repoints the bare mirror ref. Behind an approval gate; with no previous good version it BLOCKS instead of…

Prismer-AI/PrismerCloud · 96 tokens

release-tag

Cut a release tag behind a real tier gate and cloud approval readback. The approval, task, approved commit, and resulting tag are bound; self-approval and HEAD drift fail closed. Prod prefixes remain refused.

Prismer-AI/PrismerCloud · 46 tokens

git-ops

Close out a local coding task on the bound daemon — stage, commit, branch, merge, push via cloud git — and when a merge conflicts, STOP and escalate with the file list instead of auto-resolving. Push reaches only the bare replica; prod-triggering tags are refused.

Prismer-AI/PrismerCloud · 62 tokens

prismer-github

GitHub via gh CLI: PRs, issues, reviews, repos, auth.

Prismer-AI/PrismerCloud · 22 tokens