Agent skill

CLI Toolbox

by Zfinix in Zfinix/aster

Getting exactly the output you need from CLI tools in one call: JSON flags, slicing, counting, non-interactive flags.

Apache-2.0Auto-check passedDevelopment

Install CLI Toolbox

skills CLI
$ npx skills add Zfinix/aster --skill cli-toolbox -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Zfinix/aster cli-toolbox --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Zfinix/aster.git skills-src && mkdir -p .claude/skills && cp -r skills-src/crates/aster-skills/builtins/internal/cli-toolbox .claude/skills/cli-toolbox && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cli-toolbox
GitHub stars
111
Token cost
~886 tokens
SKILL.md length
516 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
Apache-2.0

At a glance

Getting exactly the output you need from CLI tools in one call: JSON flags, slicing, counting, non-interactive flags.

  • Works in 11 steps: Read the tool before guessing at it, and… → Ask the tool for structured output. Most… → Slice files without reading them whole.… → …
  • Inspecting command output
  • Calls cargo, npm and curl
  • Working with JSON

What it does

CLI Toolbox is an agent skill from Zfinix/aster. Getting exactly the output you need from CLI tools in one call: JSON flags, slicing, counting, non-interactive flags. Use when inspecting command output, working with JSON, probing HTTP, or when a command might prompt, page, or spew.

Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: An open-source agent harness for software work. The licence is Apache-2.0.

When your agent uses it

  • Inspecting command output
  • Working with JSON
  • A command might prompt

Example prompts

  • “/cli-toolbox”

Requirements

  • Node.js
  • Docker

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. Read the tool before guessing at it, and never guess twice. First
  2. Ask the tool for structured output. Most modern CLIs have it
  3. Slice files without reading them whole. sed -n '120,160p' file for a
  4. Count and rank instead of scrolling.
  5. Probe HTTP minimally. Status only
  6. Force non-interactive mode. Anything that might prompt hangs the call
  7. Quiet flags cut noise at the source. npm install --silent,
  8. Batch transformations with xargs, not loops of calls.
  9. Never sed -i a repository file. Use edit_file: it is exact,
  10. Check the platform line before GNU-only flags. The environment note
  11. On Windows there is no sed or grep. Stock tools are PowerShell

What it can do on your machine

Read from SKILL.md and the folder at commit 3fbb67c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • cargo
    • npm
    • curl
    • gh
    • docker
    • jq
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, curl, gh, docker and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CLI Toolbox loads about 886 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 516 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~886

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Zfinix/aster at commit 3fbb67c, republished under its Apache-2.0 licence (© Zfinix). 516 words, ~886 tokens.

Download SKILL.mdSave it as .claude/skills/cli-toolbox/SKILL.md (or your agent's skills folder).
name
cli-toolbox
description
Getting exactly the output you need from CLI tools in one call: JSON flags, slicing, counting, non-interactive flags. Use when inspecting command output, working with JSON, probing HTTP, or when a command might prompt, page, or spew.

CLI toolbox

  1. Read the tool before guessing at it, and never guess twice. First contact with a CLI you have not used this session: command -v <tool> to confirm it is installed. When a call fails on usage rather than on the task ("unknown flag", "accepts at most 1 arg(s)", "unknown command"), the next call is <tool> --help, or <tool> <subcommand> --help for the exact subcommand that failed. Never re-send a shape that just failed with a small edit; that is how a turn burns twenty calls and lands nowhere. When the tool is missing, or its help does not settle the question, go and read: aster_mcp with action: "execute", name: "web/search" for the flag, or name: "web/extract" on the tool's documentation URL. Going online once costs less than four blind retries, and unlike them it ends the question. Say so plainly if the tool simply is not installed, rather than quietly substituting a different one.

  2. Ask the tool for structured output. Most modern CLIs have it: gh pr view 12 --json title,files, cargo metadata --format-version 1, docker ps --format json, npm ls --json. Parse with jq -r '.field' instead of eyeballing prose.

  3. Slice files without reading them whole. sed -n '120,160p' file for a line range, grep -n -m5 "pattern" file for first hits with line numbers, wc -l file before deciding how to read it.

  4. Count and rank instead of scrolling. grep -c for how many, sort | uniq -c | sort -rn | head for what dominates, du -sh */ | sort -rh | head for what is big.

  5. Probe HTTP minimally. Status only: curl -s -o /dev/null -w "%{http_code}" URL. Content check: curl -s URL | grep -c "expected". Never dump a whole page to look at one thing.

  6. Force non-interactive mode. Anything that might prompt hangs the call: use --yes/-y, --force where safe, GIT_TERMINAL_PROMPT=0, DEBIAN_FRONTEND=noninteractive, CI=1, </dev/null as a last resort. Anything that might page gets --no-pager or | cat.

  7. Quiet flags cut noise at the source. npm install --silent, cargo build -q, git -q variants. Prefer them over filtering noise afterwards.

  8. Batch transformations with xargs, not loops of calls. grep -rl "old_name" src | head -20 to see the blast radius, then one edit per file, not one search per file.

  9. Never sed -i a repository file. Use edit_file: it is exact, previewed, and audited. sed -i also differs by platform (BSD needs sed -i '', GNU takes sed -i), which makes it a portability bug on top of an audit hole. Stream edits (sed -n '10,40p', sed 's/x/y/' in a pipe) are fine anywhere.

  10. Check the platform line before GNU-only flags. The environment note says macos or linux. On macos the stock tools are BSD: no grep -P (use grep -E), different date arithmetic (-v+1d, not -d "+1 day"), no xargs -d. When a one-liner needs GNU behavior, reshape it around portable flags instead of assuming Linux.

  11. On Windows there is no sed or grep. Stock tools are PowerShell: Select-String for grep, Get-Content -Tail 20 for tail. Ask the environment note, not habit, which world you are in.

© Zfinix, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in crates/aster-skills/builtins/internal/cli-toolbox of Zfinix/aster.

Open the folder on GitHubat commit 3fbb67c

Compare with similar skills

CLI Toolbox next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CLI Toolbox compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CLI Toolbox this skillZfinix/aster111—~886Automated safety check: PassApache-2.0
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k24 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Greplooponyx-dot-app/onyx32k4 repos~3.3kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 24 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Guidelines

    akash-network/node

    Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.

    1.1k GitHub starsUsed in 22 repos~577 tokens
    DevelopmentAuto-check passed

More from Zfinix/aster

All 19 skills in this repo
  • Artifact Design

    Zfinix/aster

    Designing and building any user-facing surface: a web page, landing page, dashboard, report, HTML document, email, or a component inside an existing app.

    111 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Drive aster chat programmatically and manage sessions and memory: one-shot --print/--json answers, --messages-json for caller-owned history, --continue and --session persistence, --allow-edits…

    111 GitHub stars~591 tokensUpdated yesterday
    Auto-check passed
  • Aster CLI

    Zfinix/aster

    Guidance for using the aster CLI to work in a codebase with an AI agent: chat and edit code, run AI code reviews, apply fixes, and manage sessions, memory, and skills.

    111 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Aster Config

    Zfinix/aster

    Reference for aster.yaml, covering review models, analyzers, focus areas, include/exclude globs, minconfidence, and the permissions block that gates edits.

    111 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Aster Fix Workflow

    Zfinix/aster

    Pipe aster review findings into aster fix to generate and apply patches safely, using review --json, fix --findings-json, dry-run inspection, --apply, and permission gating.

    111 GitHub stars~534 tokensUpdated yesterday
    Auto-check passed
  • Aster Planning

    Zfinix/aster

    Create and execute structured plans for multi-step tasks. An agent skill from Zfinix/aster.

    111 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about CLI Toolbox

What does CLI Toolbox do?

Getting exactly the output you need from CLI tools in one call: JSON flags, slicing, counting, non-interactive flags. CLI Toolbox is an agent skill from Zfinix/aster. Getting exactly the output you need from CLI tools in one call: JSON flags, slicing, counting, non-interactive flags.

When should I use CLI Toolbox?

CLI Toolbox fits situations like: inspecting command output; working with JSON; A command might prompt.

How do I install CLI Toolbox in Claude Code?

Run `npx skills add Zfinix/aster --skill cli-toolbox -a claude-code`. Or copy the skill folder (crates/aster-skills/builtins/internal/cli-toolbox in Zfinix/aster) into .claude/skills/cli-toolbox in your project. Claude Code loads it when a task matches its description.

How do I install CLI Toolbox in Codex?

Run `npx skills add Zfinix/aster --skill cli-toolbox -a codex`. Or copy the skill folder (crates/aster-skills/builtins/internal/cli-toolbox in Zfinix/aster) into .agents/skills/cli-toolbox in your project. Codex loads it when a task matches its description.

Can I use CLI Toolbox in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Zfinix/aster --skill cli-toolbox -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-toolbox, .gemini/skills/cli-toolbox, .github/skills/cli-toolbox and .opencode/skills/cli-toolbox in your project.

What does CLI Toolbox need to run?

Going by SKILL.md and its folder, CLI Toolbox needs the command-line tools its instructions call (cargo, npm, curl, gh, docker and jq). Our summary lists: Node.js; Docker.

Does CLI Toolbox access the network?

SKILL.md contains no URLs. Its commands use npm, curl, gh, docker and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is CLI Toolbox safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does CLI Toolbox use?

CLI Toolbox is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does CLI Toolbox use?

About 886 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to CLI Toolbox?

Skills that share tags, products or a category with CLI Toolbox: Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CLI Toolbox?

Zfinix (a GitHub user) maintains it in Zfinix/aster, which has 111 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 6, 2026.

Source: Zfinix/aster on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.