hive.terminal-tools-foundations
Agent skill fromaden-hive/hive
Required when terminal_* tools are available. Explains foreground execution, outer collect_result handles, promoted job IDs and their retrieval/cancellation, deadlines, output retention, platform shell selection, and structured editing when enabled.
How to install hive.terminal-tools-foundations
install hive.terminal-tools-foundations
# install the hive pack with the skills CLI
npx skills add aden-hive/hive# or add only this skill to Claude Code: copy the folder
core/framework/skills/_preset_skills/terminal-tools-foundations/
# into
~/.claude/skills/terminal-tools-foundations/ (all projects)
.claude/skills/terminal-tools-foundations/ (one project)
1# terminal-tools — foundations23These tools provide command execution, background jobs, log streaming, filesystem search, and optional PTY sessions. POSIX uses bash for shell commands; Windows selects Git Bash, PowerShell, then cmd. Inspect `shell_kind` in results.45## Tool preference (read first)67Use `search_tools(query="inventory")` before describing capabilities. It reports this session's loaded, searchable, disabled, and configured-but-unavailable tools. Load searchable tools by exact name. An absent schema alone does not prove a capability is missing; configuration does not prove credentials or connectivity work. Terminal tools and coding file tools default to the injected session workdir; an explicit absolute path overrides it.89- **Reading files** → use `read_file` before `edit_file` when the coding tools are enabled; it records file state for the stale-edit guard. Otherwise use a command appropriate to `shell_kind`.10- **Editing files** → prefer `edit_file` when enabled. Replacement mode requires a unique match unless `replace_all=true`; patch mode validates all operations before writing. Inspect its changed-file summary and diff. Re-read files after external changes. Terminal editing remains available when coding tools are disabled.11- **Writing files** → heredoc: `terminal_exec("cat > PATH <<'EOF' ... EOF")`12- **Searching** → `terminal_rg` (content / regex grep) and `terminal_glob` (find files by name)13…
Excerpt shown under the repository's Apache-2.0 license.
