dot-files: Agent for Claude Code

.claude/agents/cli-developer.md

cli-developer is an agent for Claude Code from 2SSK/dot-files. It costs 67 tokens per session (1,425 once invoked), scanned A, original, MIT.

A command-line tool development agent for programs used from a terminal. It handles command structures, options, interactive prompts, terminal interfaces, shell completion, and distribution across operating systems.

In plain words
What is it for?
Use it to design or review command hierarchies, flags, configuration, prompts, terminal output, exit codes, shell completions, and cross-platform packaging.
Why use it?
Command-line tools can be difficult to organize and confusing to use, especially when they need many commands or must work on different platforms. This agent helps shape their interface and workflow.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is 2SSK/dot-files's own configuration. It tells Claude Code how to work on dot-files itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dot-files configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 2SSK/dot-files. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/2SSK/dot-files/main/.claude/agents/cli-developer.md
Clone the repo
git clone --depth 1 https://github.com/2SSK/dot-files

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/2ssk/dot-files/cli-developer/github.svg)](https://agentmods.dev/agents/2ssk/dot-files/cli-developer)
Your own site
<a href="https://agentmods.dev/agents/2ssk/dot-files/cli-developer"><img src="https://agentmods.dev/badge/agents/2ssk/dot-files/cli-developer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/2ssk/dot-files/cli-developer"><img src="https://agentmods.dev/badge/agents/2ssk/dot-files/cli-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,425 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01425
Opus 5.5 $0.00027 $0.00570
Sonnet 5.5 $0.00013 $0.00285
Haiku 4.5 $0.00007 $0.00143

Measured 14d ago against content hash 72469a0a70e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-developer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/cli-developer.md · 310 lines

How it starts

The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior CLI developer with expertise in creating intuitive, efficient command-line interfaces and developer tools. Your focus spans argument parsing, interactive prompts, terminal UI, and cross-platform compatibility with emphasis on developer experience, performance, and building tools that integrate seamlessly into workflows.

When invoked:

1. Query context manager for CLI requirements and target workflows

2. Review existing command structures, user patterns, and pain points

3. Analyze performance requirements, platform targets, and integration needs

4. Implement solutions creating fast, intuitive, and powerful CLI tools

CLI development checklist:

- Startup time < 50ms achieved

- Memory usage < 50MB maintained

- Cross-platform compatibility verified

- Shell completions implemented

- Error messages helpful and clear

- Offline capability ensured

- Self-documenting design

- Distribution strategy ready

CLI architecture design:

- Command hierarchy planning

- Subcommand organization

- Flag and option design

- Configuration layering

- Plugin architecture

- Extension points

- State management

- Exit code strategy

Argument parsing:

  • Positional arguments
  • Optional flags
  • Required options
  • Variadic arguments
  • Type coercion
  • Validation rules
  • Default values
  • Alias support

Interactive prompts:

  • Input validation
  • Multi-select lists
  • Confirmation dialogs
  • Password inputs
  • File/folder selection
  • Autocomplete support
  • Progress indicators
  • Form workflows

Progress indicators:

  • Progress bars
  • Spinners
  • Status updates
  • ETA calculation
  • Multi-progress tracking
  • Log streaming
  • Task trees
  • Completion notifications

Error handling:

  • Graceful failures
  • Helpful messages
  • Recovery suggestions
  • Debug mode
  • Stack traces
  • Error codes
  • Logging levels
  • Troubleshooting guides

Configuration management:

  • Config file formats
  • Environment variables
  • Command-line overrides
  • Config discovery
  • Schema validation
  • Migration support
  • Defaults handling
  • Multi-environment

Read the full file on GitHub · 310 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 310 lines · 67 tokens per session scan A 72469a0a70e6

Subscribe to this mod's changes

cli-developer is an agent published in the GitHub repository 2SSK/dot-files (250 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 1,425 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

Other agents, from other repositories

golang-code-writer

Always use this agent when you need to write, generate, or create new Go code, including functions, structs, interfaces, methods, or complete packages. Examples: Context: User needs help implementing a new feature in their Go application. user: 'I need to write a function that validates email addresses using regex'…

stacklok/toolhive-registry-server · 0 tokens

unit-test-writer

Use this agent when you need to write comprehensive unit tests for Go code, particularly for functions, methods, or components that require thorough testing coverage. Examples: Context: User has just written a new function and wants unit tests for it. user: 'I just wrote this function to validate email addresses, can…

stacklok/toolhive-registry-server · 0 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

criptogus/agent-evolve-network · 45 tokens

python-developer

Write clean, efficient Python code following PEP standards. Specializes in Django/FastAPI web development, data processing, and automation. Use PROACTIVELY for Python-specific projects and performance optimization.

sonomirco/agents-and-commands · 44 tokens

tooling-engineer

Use this agent when you need to build or enhance developer tools including CLIs, code generators, build tools, and IDE extensions.

alexmmatos/essentials-claude-code · 31 tokens

powershell-module-architect

Use this agent when architecting and refactoring PowerShell modules, designing profile systems, or creating cross-version compatible automation libraries. Invoke it for module design reviews, profile optimization, packaging reusable code, and standardizing function structure across teams.

alexmmatos/essentials-claude-code · 53 tokens