hive.terminal-tools-troubleshooting

hive.terminal-tools-troubleshooting is a skill for Claude Code, Codex from aden-hive/hive. It costs 85 tokens per session (1,227 once invoked), scanned C, original, Apache-2.0.

Troubleshooting guidance for unexpected results from terminal commands, such as missing output, expired results, busy sessions, or mismatched status information.

In plain words
What is it for?
It helps diagnose empty output, null exit codes, expired output handles, session limits, warnings, and other terminal-tool problems.
Why use it?
It helps distinguish a real command failure from output being redirected, truncated, buffered, or still running.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps diagnose empty output, null exit codes, expired output handles, session limits, warnings, and other terminal-tool problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aden-hive/hive/terminal-tools-troubleshooting
About the project

OpenHive is a runtime for groups of specialized AI agents that collaborate on long-running business processes. A persistent lead agent, called the Queen, creates and coordinates worker agents while the system manages state, recovery, observability, costs, and human oversight. The catalogue entries provide agent skills, instructions, and integrations for working with this harness.

aden-hive/hive · 11,029 stars · on GitHub

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 aden-hive/hive --skill terminal-tools-troubleshooting
Clone the repo
git clone --depth 1 https://github.com/aden-hive/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.terminal-tools-troubleshooting

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aden-hive/hive/terminal-tools-troubleshooting"><img src="https://agentmods.dev/badge/skills/aden-hive/hive/terminal-tools-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,227 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 55
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00085 $0.01227
Opus 5 $0.00043 $0.00613
Sonnet 5 $0.00017 $0.00245
Haiku 4.5 $0.00009 $0.00123

Measured 11d ago against content hash 1b9d7c9762ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

hive.terminal-tools-troubleshooting scanned grade C with 1 finding 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 11d 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.

Recursive force deletehighDestructive command

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

Informational only. The pattern matched (e.g. `rm -rf` literally appears, or `git push --force` was used). The command ran. The warning is your "did I mean to do that?" prompt — verify the side effect was intended before
core/framework/skills/_preset_skills/terminal-tools-troubleshooting/SKILL.md · 93 lines

How it starts

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

Troubleshooting terminal-tools

Recipes for surprising results. Match the symptom to the section.

Empty stdout despite the command "should have" produced output

Possible causes:

  1. Output went to stderr instead. Check stderr in the envelope (or use merge_stderr=True for jobs).
  2. Output was fully truncated because max_output_kb is too small. Check stdout_truncated_bytes > 0. Bump max_output_kb or paginate via output_handle.
  3. Command produced no output (correct, just unexpected — silent flags, no matches).
  4. Pipeline issue: the last stage of a pipe ran but stdout went elsewhere (> /dev/null, redirected via 2>&1).
  5. Process is buffering its output and didn't flush before exit. Add stdbuf -oL (line-buffered) or unbuffer to the command.

exit_code: null

Cause Other field
Auto-backgrounded auto_backgrounded: true, job_id: <X>
Hard timeout, process killed timed_out: true
Pre-spawn failure (command not found) error: ... set, pid: null
Still running (in terminal_job_logs) status: "running"

output_handle returned expired: true

5-minute TTL. Either (a) you waited too long, or (b) the store evicted it under memory pressure (64 MB total cap, LRU eviction). Re-run the command.

To reduce risk: paginate the handle as soon as you receive it, or use terminal_job_* for huge outputs (4 MB ring buffer with offsets — no expiry).

"too many jobs" / JobLimitExceeded

TERMINAL_TOOLS_MAX_JOBS (default 32) hit. Either:

  • Wait for jobs to exit (poll with terminal_job_logs(wait_until_exit=True))
  • Kill old jobs: terminal_job_manage(action="list") to see what's running, then signal_term the abandoned ones
  • Raise the cap via env (rare)

"session busy"

A terminal_pty_run was issued while another _run is in flight on the same session. PTY sessions are single-threaded conversations. Wait for the prior call to return, or open a second session.

"PTY cap reached"

Read the full file on GitHub · 93 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. 11d ago First seen · 93 lines · 85 tokens per session scan C 1b9d7c9762ab

Subscribe to this mod's changes

hive.terminal-tools-troubleshooting is a skill published in the GitHub repository aden-hive/hive (11,029 stars, last pushed 4d ago), licensed Apache-2.0. It adds 85 tokens to every session and 1,227 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.