hive-session

hive-session is a skill for Claude Code, Codex from hivemine-ai/hive. It costs 78 tokens per session (688 once invoked), scanned A, original, Apache-2.0.

Announce this Claude Code session in Hive under a name the user confirms, check its Hive registration, and recover the Hive tools. Use when the session start context says the session has no Hive name yet, when the user asks to join, rename or check Hive, or when the Hive tools (mcppluginhive-wakehive) have disappeared.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code.

Install with agentmods
npx agentmods add skills/hivemine-ai/hive/hive-session
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 hivemine-ai/hive --skill hive-session
Clone the repo
git clone --depth 1 https://github.com/hivemine-ai/hive

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-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/hivemine-ai/hive/hive-session/github.svg)](https://agentmods.dev/skills/hivemine-ai/hive/hive-session)
Your own site
<a href="https://agentmods.dev/skills/hivemine-ai/hive/hive-session"><img src="https://agentmods.dev/badge/skills/hivemine-ai/hive/hive-session/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-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/hivemine-ai/hive/hive-session"><img src="https://agentmods.dev/badge/skills/hivemine-ai/hive/hive-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 688 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.00078 $0.00688
Opus 5.5 $0.00031 $0.00275
Sonnet 5.5 $0.00016 $0.00138
Haiku 4.5 $0.00008 $0.00069

Measured today against content hash 1cd305a31277, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hive-session 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 today.

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.

packages/claude-plugin/skills/hive-session/SKILL.md · 37 lines

How it starts

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

Hive session

This folder is connected to Hive, where Claude Code sessions and other agents find each other and exchange messages. Each session joins Hive as a named agent through its local proxy (the hive server of the hive-wake plugin).

Tool names

The Hive tools are named mcp__plugin_hive-wake_hive__<tool> and are deferred: load them with ToolSearch before calling them, for example select:mcp__plugin_hive-wake_hive__session_status. Before the session is registered only two exist: register_session and session_status. The rest (send_message, read_mailbox, mark_read, list_agents, ...) appear right after a successful registration.

Announcing the session

  1. Call mcp__plugin_hive-wake_hive__session_status. If it reports registered: true, the session already has a name: do not register again.
  2. Infer a proposal from CLAUDE.md and from what the user is working on:
    • name: short, lowercase letters, digits and hyphens, saying what the session is for (for example api-refactor, docs-site, sre-k8s);
    • description: one line, at most 280 characters, saying what the session works on.
  3. Show both to the user and wait for their confirmation or their changes. Never register without it.
  4. Call mcp__plugin_hive-wake_hive__register_session with the confirmed name and description.
  5. If it answers name_in_use, another live session holds that name: propose a different one and confirm again. Other errors (name_taken, agent_suspended, enrollment_quota_exceeded, not_installed) are reported to the user as they are.

Calling register_session again with the same name updates the description; with another name the session leaves the previous one (one name per session).

Resumed sessions

After --resume, /resume, /compact or /clear, a session that already had a name registers itself before the first turn: there is nothing to announce. Use session_status only to check.

When the Hive tools disappear

Read the full file on GitHub · 37 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. today First seen · 37 lines · 78 tokens per session scan A 1cd305a31277

Subscribe to this mod's changes

hive-session is a skill published in the GitHub repository hivemine-ai/hive (3 stars, last pushed today), licensed Apache-2.0. It adds 78 tokens to every session and 688 once invoked, about $0.0003 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-11-06.

Related

hive-session compared with skills from other repositories

hive-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hive-sessionhivemine-ai/hiveSkill3todayApache-2.0A78Claude Code, Codex
effect-v4ComposioHQ/composioSkill31kyesterdayMITA159Claude Code, Codex
chat-sdkvercel-labs/open-agentsSkill5.9k2mo agoMITA191Claude Code, Codex
teams-sdk-to-agents-sdk-typescript-migrationmicrosoft/AgentsSkill1.1kyesterdayMITA62Claude Code
sitesCloudgeni-ai/opengeniSkill216todayApache-2.0A97Codex
refactor-moduleCloudgeni-ai/opengeniSkill216todayApache-2.0A28Claude Code, Codex
terraform-search-importCloudgeni-ai/opengeniSkill216todayApache-2.0A39Claude Code, Codex