Agentfs cli
CLI utilities for AI agents - fast Go replacements for common Python tools
npx -y skills add SebastianBoehler/agent-cli-utils --skill agentfs-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
Inspect filesystem state with the local `agentfs` CLI. Use when an agent needs a bounded directory snapshot, file previews, or optional hashes without traversing an uncontrolled tree.
SKILL.md
1.5 KB, 319 tokens by cl100k_base, as published. Nobody here has run it
AgentFS CLI
Use agentfs to inspect a file tree with explicit limits so the result stays cheap enough for low-compute systems and downstream agent parsing.
Invoke the Tool
Prefer the installed binary when it exists:
agentfs -root . -max-depth 2 -format json
If working inside this repository or the binary is not installed, run:
go run ./cmd/agentfs -- -root . -max-depth 2 -format json
Choose Flags
- Use
-rootto set the inspection root. - Use
-max-depthto keep traversal bounded. - Use
-max-entriesto avoid oversized snapshots. - Use
-preview-linesfor cheap text previews. - Use
-hashonly when content integrity matters. - Use
-hiddenonly when hidden files are relevant. - Use
-format jsonor-format yamlfor automation,textfor review.
Apply Good Defaults
- Keep depth and entry limits conservative unless the task explicitly needs more.
- Prefer previews over full file reads when building context.
- Hash only a small set of files, since hashing scales with file size.
Examples
Take a bounded repo snapshot:
go run ./cmd/agentfs -- -root . -max-depth 2 -preview-lines 2
Inspect logs in text form:
go run ./cmd/agentfs -- -root /var/log -max-depth 1 -preview-lines 3 -format text
What ships with it: 1 file
208 B alongside SKILL.md
agents/
- openai.yaml208 B