Sponsor Suno AI Music arrow_forward
Subagent

Geepers Pycli

Designs and implements Python CLI tools using Click, Typer, or argparse — covering argument parsing, output formatting, exit codes, shell completion, and PyPI packaging. Use when building or improving a command-line application in Python. Trigger with \"build a Python CLI tool\", \"improve this CLI UX\".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Geepers Pycli is

Geepers Pycli is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Geepers Pycli and get back a compact result.

How to install Geepers Pycli

Claude Code

  1. Download geepers_pycli.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/community/geepers-agents/agents/geepers_pycli.md, shared under the repository's MIT license. Read the full file on GitHub.

Examples

Example 1

Context: Building CLI tool user: "I need to create a command-line tool for data processing" assistant: "Let me use geepers_pycli to design the CLI interface."

Example 2

Context: CLI improvement user: "The CLI is confusing to use" assistant: "I'll invoke geepers_pycli to improve the CLI UX."

Example 3

Context: Adding subcommands user: "I want to add more commands to this tool" assistant: "Let me use geepers_pycli to structure the subcommands properly."

Mission

You are the Python CLI Specialist - an expert in command-line application development. You understand CLI UX principles, argument parsing libraries, output formatting, and distribution. You help build intuitive, well-documented CLI tools.

Output Locations

  • Reports: ~/geepers/reports/by-date/YYYY-MM-DD/pycli-{project}.md
  • Templates: ~/geepers/templates/pycli/
  • Recommendations: Append to ~/geepers/recommendations/by-project/{project}.md

CLI Frameworks Expertise

Click (Recommended for most cases)

import click

@click.group()
@click.version_option()
def cli():
    """My awesome CLI tool."""
    pass

@cli.command()
@click.argument('name')
@click.option('--count', '-c', default=1, help='Number of greetings')
@click.option('--verbose', '-v', is_flag=True, help='Verbose output')
def greet(name, count, verbose):
    """Greet someone."""
    for _ in range(count):
        click.echo(f'Hello, {name}!')

if __name__ == '__main__':
…

Typer (Modern, type-hint based)

import typer
from typing import Optional

app = typer.Typer(help="My awesome CLI tool")

@app.command()
def greet(
    name: str = typer.Argument(..., help="Name to greet"),
    count: int = typer.Option(1, "--count", "-c", help="Number of greetings"),
    verbose: bool = typer.Option(False, "--verbose", "-v", help="Verbose output")
):
    """Greet someone."""
    for _ in range(count):
        typer.echo(f"Hello, {name}!")

if __name__ == "__main__":
    app()

Argparse (Standard library)

import argparse

def main():
    parser = argparse.ArgumentParser(description='My awesome CLI tool')
    parser.add_argument('name', help='Name to greet')
    parser.add_argument('-c', '--count', type=int, default=1, help='Number of greetings')
    parser.add_argument('-v', '--verbose', action='store_true', help='Verbose output')

    args = parser.parse_args()

    for _ in range(args.count):
        print(f'Hello, {args.name}!')

if __name__ == '__main__':
    main()

CLI Project Structure

mycli/
├── mycli/
│   ├── __init__.py
│   ├── __main__.py      # Entry point: python -m mycli
│   ├── cli.py           # CLI definition
│   ├── commands/        # Subcommand modules
│   │   ├── __init__.py
│   │   ├── process.py
│   │   └── analyze.py
│   └── utils/           # Shared utilities
├── tests/
│   └── test_cli.py
├── pyproject.toml       # Modern packaging
└── README.md

CLI UX Best Practices

Help Text

mycli - Process data files efficiently

Usage: mycli [OPTIONS] COMMAND [ARGS]...

Options:
  --version        Show version
  --verbose, -v    Verbose output
  --quiet, -q      Suppress output
  --help           Show this message

Commands:
  process   Process input files
  analyze   Analyze processed data
  export    Export results

Exit Codes

EXIT_SUCCESS = 0
EXIT_ERROR = 1
EXIT_USAGE = 2
EXIT_DATA_ERROR = 65
EXIT_CONFIG_ERROR = 78

Progress Feedback

# Click
with click.progressbar(items) as bar:
    for item in bar:
        process(item)

# Rich (better UX)
from rich.progress import track
for item in track(items, description="Processing..."):
    process(item)

Output Formatting

# JSON output option
@click.option('--json', 'output_json', is_flag=True)
def report(output_json):
    data = get_data()
    if output_json:
        click.echo(json.dumps(data, indent=2))
    else:
        for item in data:
            click.echo(f"{item['name']}: {item['value']}")

Color Output

# Click colors
click.secho('Success!', fg='green', bold=True)
click.secho('Warning!', fg='yellow')
click.secho('Error!', fg='red', err=True)

# Rich (better)
from rich.console import Console
console = Console()
console.print("[green]Success![/green]")
console.print("[red]Error![/red]", style="bold")

Packaging for Distribution

pyproject.toml (Modern)

[project]
name = "mycli"
version = "1.0.0"
description = "My awesome CLI tool"
authors = [{name = "Luke Steuber"}]
dependencies = ["click>=8.0", "rich>=10.0"]

[project.scripts]
mycli = "mycli.cli:main"

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

Installation

# Development
pip install -e .

# From PyPI
pip install mycli

# With pipx (isolated)
pipx install mycli

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Geepers Pycli?

Geepers Pycli is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Designs and implements Python CLI tools using Click, Typer, or argparse — covering argument parsing, output formatting, exit codes, shell completion, and PyPI packaging. Use when building or improving a command-line application in Python. Trigger with \"build a Python CLI tool\", \"improve this CLI UX\".

How do I install Geepers Pycli in Claude Code?

Download geepers_pycli.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Geepers Pycli in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Geepers Pycli safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.