SkillsReviewed · aden-hive

Hive Terminal Tools Job Control

Hive Terminal Tools Job Control is an instruction skill for AI coding assistants managing long-running commands, but its jobs and logs do not survive a terminal-tools server restart. It explains how to start jobs, follow their output, send input and stop processes using Hive's terminal tools.

Researched 16 Nov 2026

In short.

Hive Terminal Tools Job Control is a skill for developers using AI assistants to manage long-running commands, but a terminal-tools server restart ends its jobs and erases their logs. It documents a start, read and wait cycle, incremental log offsets, stdin handling and platform-specific process termination. Its main operational constraints are bounded log buffers, a configurable concurrency limit and forceful termination on Windows. The supplied files describe intended behavior; runtime correctness, compatibility and operating costs are not established.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete captured folder core/framework/skills/_preset_skills/terminal-tools-job-control: SKILL.md and references/signals.md, plus the repository-level LICENSE. The rest of Hive, the terminal-tools implementation, installation configuration and external application documentation are outside this scope. No commands were executed. Runtime correctness, security properties, performance and compatibility were not assessed; operating costs remain unknown.

The overview

Identity

The skill identifies itself as hive.terminal-tools-job-control, a Hive preset skill authored by hive, with metadata version 1.0. Its two files are SKILL.md and references/signals.md.

Its repository location is [https://github.com/aden-hive/hive/tree/main/core/framework/skills/_preset_skills/terminal-tools-job-control]. The files supply instructions for an assistant; the terminal-tools server is a separate runtime dependency.

Assessment

The skill is a practical fit for temporary builds, long tests, development servers and log streams in an environment that already exposes Hive's terminal tools. Its useful detail is how an assistant should retain job identifiers, advance log offsets and interpret termination behavior.

Its suitability depends on accepting interrupted jobs and lost logs after a server restart. These documents do not establish whether the underlying implementation behaves as described.

Users

The intended users are developers working through an AI assistant that can launch and monitor terminal commands. It is particularly relevant when commands take longer than a minute or must keep running while the assistant handles other work.

For beginners, the central idea is that starting a job and checking its progress are separate operations. Experienced developers get more specific guidance on output streams, process groups, shutdown windows and signal-related exit codes.

Capabilities

terminal_job_start launches work and returns a job_id, process ID and start time. terminal_job_logs retrieves output, status and exit information. terminal_job_manage provides job listing, capability discovery, stdin operations and supported process-control actions.

The instructions cover merged or separate stdout and stderr, sending input, closing stdin for programs that wait for end-of-file, and taking over jobs automatically backgrounded by terminal_exec.

The signal reference explains POSIX signal actions and exit-code conventions. A directly tracked process terminated by signal N can report -N; a tracked shell can instead report 128 + N. Windows exit codes do not follow the POSIX -N convention.

Using it

Requirements

A compatible terminal-tools server must expose terminal_job_start, terminal_job_logs and terminal_job_manage. terminal_exec is also relevant for short commands and automatic backgrounding.

The files do not specify installation prerequisites, compatible Hive releases, language-runtime versions, model requirements or credential requirements. POSIX and Windows process-control capabilities differ, so available actions must be determined from the server's capabilities response.

Mechanism

The assistant starts a job, retains its job_id and reads output incrementally. Each log response supplies next_offset; passing that value as the next since_offset continues from the previous read. A nonzero truncated_bytes_dropped means older output was evicted before it could be retrieved.

With merge_stderr=True, output uses one merged stream with interleaving preserved. With merge_stderr=False, stdout and stderr are requested separately.

A read using wait_until_exit=True can return when the process exits, a new message arrives or its timeout expires. The documented default and maximum timeout are 600 seconds, so callers still need to inspect status rather than assume every waiting read means completion.

Setup

Keep SKILL.md and references/signals.md in their documented relative folder structure so the companion reference remains available. The supplied files do not explain how to install or register the skill in Hive.

In an already configured environment, the documented preparation is to choose merged or separate output and query terminal_job_manage(action="capabilities") before choosing signal actions. When terminal_exec returns an automatically backgrounded job, continue with that existing job_id.

Example

An illustrative, unexecuted build sequence starts with terminal_job_start using the project's build command. Retain the returned job_id, then request terminal_job_logs with since_offset=0 and max_bytes=64000. For each subsequent read, use the preceding response's next_offset.

When no other work is pending, request a waiting log read with wait_until_exit=True. Continue checking status until it reports exited, then inspect exit_code and the output. This sequence illustrates the documented API flow; it is not a test result.

Assessment & evidence

Limitations

Jobs end when the terminal-tools server restarts, with no reattachment or retained output across restarts. Hive's desktop restart is documented to restart that server. The skill explicitly says nohup does not escape managed process-tree cleanup.

Output is held in a 4 MB ring buffer per stream, so slow readers can lose earlier output. Only the 50 most recent exited jobs are retained. The server-wide concurrency cap defaults to 32 jobs and is configurable through TERMINAL_TOOLS_MAX_JOBS; starting beyond the cap returns an error.

On Windows, signal_term and signal_kill both forcefully terminate the process tree without application cleanup handlers; signal_int is unsupported. On POSIX, signal_term allows up to two seconds before forced cleanup. Graceful shutdown therefore depends on the platform, application and chosen action.

The takeover example describes a zero-offset read as grabbing everything, but the documented buffer limit means evicted output cannot be recovered. Restarting at zero can also repeat output already returned by terminal_exec, while tail mode can omit earlier output.

Reasoning

The documented design suggests a good fit for temporary, supervised work: job_id connects later operations to a process, offsets support incremental output reading, and capability discovery exposes platform differences.

The same documented constraints make it a poor fit for uninterrupted services or permanent log history. That assessment follows from restart cleanup and finite in-memory storage; it is not based on measured reliability or performance.

Alternatives

For short, one-shot commands, the skill recommends terminal_exec as the simpler option, with job control taking over if the command is automatically backgrounded.

For durable services, it points to a separate service manager without naming or comparing products. For applications needing longer shutdown time, the signal reference recommends their documented shutdown interface rather than relying on the bounded signal_term cleanup window.

Evidence

The operating instructions are captured in SKILL.md at [https://raw.githubusercontent.com/aden-hive/hive/c6c2cdcfe5a6142cd0da3f82424afc9dd9721cc3/core/framework/skills/_preset_skills/terminal-tools-job-control/SKILL.md]. The companion signal reference is at [https://raw.githubusercontent.com/aden-hive/hive/c6c2cdcfe5a6142cd0da3f82424afc9dd9721cc3/core/framework/skills/_preset_skills/terminal-tools-job-control/references/signals.md].

The captured licence is at [https://raw.githubusercontent.com/aden-hive/hive/c6c2cdcfe5a6142cd0da3f82424afc9dd9721cc3/LICENSE]. These files provide documentation and licence terms; they do not include terminal-tools implementation code, benchmarks or execution results.

Access & freshness

Costs

Total operating cost is unknown. The files provide no prices for Hive, hosting, model/API usage or support, and do not establish which charges might apply to a particular environment.

The Apache-2.0 licence grants specified rights without licence royalties. That does not establish that running the surrounding system is free.

Rights

The captured repository LICENSE is Apache License 2.0 and carries Copyright 2024 Aden. It permits use, modification and redistribution, including commercial use, subject to its conditions.

Redistribution requires a licence copy and retention of applicable source notices. Modified files must carry prominent change notices, and applicable NOTICE attributions must be reproduced if the work includes them. The licence provides no warranty and no general permission to use the licensor's trademarks.

Freshness

The captured files are tied to repository commit c6c2cdcfe5a6142cd0da3f82424afc9dd9721cc3 and were captured on 16 November 2026 at 22:36:57.572 UTC. SKILL.md declares version 1.0.

The capture timestamp is not a publication or modification date. Release history, changes after this commit and compatibility with later Hive versions are unknown.

Actions

Before adoption, confirm that the environment exposes the three job tools and keep both skill files in their original relative structure. Inspect platform capabilities before using signals, and retain next_offset after each log read.

Choose jobs that can tolerate interruption when terminal-tools restarts. If service continuity or complete historical logs are required, arrange a separate service manager or persistent logging solution; the documented job mechanism does not establish either capability.

Evidence for this report

LICENSEnotice · checked 2026-11-16