Skills for Real Engineers. Straight from my .agents directory.
hive.terminal-tools-job-control
Agent skill fromaden-hive/hive
Use when launching anything that runs longer than a minute, anything that streams logs, anything you want to keep running while doing other work — or when terminal_exec auto-backgrounded on you and returned a job_id. Teaches the start→poll→wait pattern with terminal_job_logs offset bookkeeping, bounded blocking polls, platform-specific process control via terminal_job_manage capabilities, and the hard rule that jobs die when the terminal-tools server restarts. Read before calling terminal_job_start, or right after terminal_exec auto-backgrounded.
How to install hive.terminal-tools-job-control
npx skills add aden-hive/hive# or add only this skill to Claude Code: copy the folder
core/framework/skills/_preset_skills/terminal-tools-job-control/
# into
~/.claude/skills/terminal-tools-job-control/ (all projects)
.claude/skills/terminal-tools-job-control/ (one project)
1# Background job control23Background jobs are how you do things that take time without blocking your conversation. Three tools cover the surface: `terminal_job_start`, `terminal_job_logs`, `terminal_job_manage`.45## When to use a job67- Builds, deploys, long tests8- Processes you want to monitor (streaming a log file, a dev server)9- Anything that auto-backgrounded from `terminal_exec` (you have a `job_id`; pivot to this skill's idioms)1011For one-shot work expected to finish quickly, `terminal_exec` is simpler. The auto-promotion mechanic in `terminal_exec` is your safety net — start with `terminal_exec`, take over with this skill if needed.1213## Lifecycle1415```16terminal_job_start(command, ...)17 → { job_id, pid, started_at }1819terminal_job_logs(job_id, since_offset=0, max_bytes=64000)20 → { data, offset, next_offset, status: "running"|"exited", exit_code, ... }2122# Repeat with since_offset = previous next_offset until status == "exited"23# Or, better when you have nothing else to do, wait once with wait_until_exit=True:24terminal_job_logs(job_id, since_offset=N, wait_until_exit=True)25 → waits until exit, a new message for you, or wait_timeout_sec (at most 600, the default)26```2728After exit, the job is retained for inspection (`terminal_job_manage(action="list")`) until evicted by FIFO (50 most recent exits kept).2930## Offset bookkeeping — the only rule that matters3132The job's output lives in a 4 MB ring buffer per stream. Each call to `terminal_job_logs` returns:33…
Excerpt shown under the repository's Apache-2.0 license.
More skills in hive
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
