Agentrun cli
CLI utilities for AI agents - fast Go replacements for common Python tools
npx -y skills add SebastianBoehler/agent-cli-utils --skill agentrun-cliAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Execute shell commands with the local `agentrun` CLI. Use when an agent needs timeout control, bounded stdout and stderr capture, or structured command results instead of direct raw process execution.
SKILL.md
1.5 KB, 320 tokens by cl100k_base, as published. Nobody here has run it
AgentRun CLI
Use agentrun when direct command execution would be too noisy or risky because the process can hang, flood output, or return unstructured results.
Invoke the Tool
Prefer the installed binary when it exists:
agentrun -timeout 5s -- sh -c 'echo ok'
If working inside this repository or the binary is not installed, run:
go run ./cmd/agentrun -- -timeout 5s -- sh -c 'echo ok'
Choose Flags
- Use
-timeoutto cap command duration. - Use
-max-outputto cap captured stdout and stderr bytes. - Use
-dirwhen the command must run in a specific directory. - Use
-stdinonly if the child process must read caller input. - Use
-format jsonor-format yamlfor programmatic consumers. - Use
-format textfor quick inspection.
Apply Good Defaults
- Keep short timeouts for probes and readiness checks.
- Keep small output caps for logs and diagnostic commands.
- Prefer
agentrunover rawsh -cwhen the result needs to be parsed later.
Examples
Run a health check:
go run ./cmd/agentrun -- -timeout 3s -format json -- sh -c 'uptime && df -h'
Capture a bounded log sample:
go run ./cmd/agentrun -- -timeout 2s -max-output 4096 -- journalctl -n 100
What ships with it: 1 file
194 B alongside SKILL.md
agents/
- openai.yaml194 B