Llm Cli banner
MuhiminOsim MuhiminOsim

Llm Cli

Data & AI community

Description

# Setup: llm, sgpt, shell_gpt, and other LLM CLIs For any CLI tool that calls an LLM, the pattern is the same: provide `PROMPT.md` as the system prompt. --- ## llm (Simon Willison's llm) ```bash # Install once globally pip install llm # Create a reusable template llm --system "$(cat PROMPT.md)" --save refactor # Use it llm -t refactor "Refactor the processOrder function in orders.py" # Or pipe a file cat src/orders.py | llm -t refactor "This function is too long, extract the discount logi

Installation

Installs to ~/.claude/agents/muhiminosim-code-refactoring-skill-llm-cli.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/MuhiminOsim/code-refactoring-skill/HEAD/agents/llm-cli.md -o ~/.claude/agents/muhiminosim-code-refactoring-skill-llm-cli.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository