Retrieves current hive session details including ID, inbox topic, repo path, and state using bash commands. For inter-agent messaging, debugging, and scripting coordination.
From hivenpx claudepluginhub colonyops/hive --plugin hiveThis skill uses the workspace's default tool permissions.
references/troubleshooting.mdDesigns and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Display information about the current hive session, including session ID, inbox topic, and state.
26kj0c)agent.<session-id>.inboxhive session info
Example output:
Session ID: 26kj0c
Name: claude-plugin
Repository: hive
Inbox: agent.26kj0c.inbox
Path: /Users/hayden/.local/share/hive/repos/hive-claude-plugin-26kj0c
State: active
hive session info --json
Example output:
{
"id": "26kj0c",
"name": "claude-plugin",
"repository": "hive",
"inbox": "agent.26kj0c.inbox",
"path": "/Users/hayden/.local/share/hive/repos/hive-claude-plugin-26kj0c",
"state": "active"
}
| Field | Description | Example |
|---|---|---|
id | Unique 6-char session identifier | 26kj0c |
name | Human-readable session name | claude-plugin |
repository | Git repository name | hive |
inbox | Full inbox topic | agent.26kj0c.inbox |
path | Absolute path to session directory | /Users/... |
state | Session state | active, recycled, corrupted |
hive session info --json | jq -r '.inbox'
# Output: agent.26kj0c.inbox
SESSION_ID=$(hive session info --json | jq -r '.id')
INBOX=$(hive session info --json | jq -r '.inbox')
# Check session context is correct
hive session info
# Then check inbox
hive msg inbox
The command detects the current session from the working directory. Sessions are identified by:
$XDG_DATA_HOME/hive/repos/<repo>-<session-id>.hive-session file in the directoryIf not in a hive session directory, the command fails with an error.
For troubleshooting and advanced usage, see:
references/troubleshooting.md - Common issues and solutions/hive:inbox - Check inbox for messages/hive:publish - Send messages to other agents' inboxes/hive:wait - Wait for messages on inbox