TheR1D/shell_gpt
A command-line productivity tool powered by AI large language models like GPT-5, will help you accomplish your tasks faster and more efficiently. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 90
- Release rhythm 51
- Longevity 94
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 196.0
- age_days: 1323
- days_rel: 119
- days_push: 62
- n_releases_24m: 3
Adoption not part of the score
12259 stars · 979 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ShellGPT (sgpt) is a Python command-line productivity tool that uses LLMs like GPT-4/5 or local models via Ollama to generate shell commands, code snippets, documentation, and answers directly in the terminal. It supports stdin piping and redirection, making it easy to analyze logs, generate commit messages, and get quick answers without leaving the shell.
Use cases
- generate shell commands from natural language descriptions
- analyze docker or app logs and find errors with suggested fixes
- generate git commit messages from a diff
- summarize documents from the terminal
- get quick answers to technical questions without a browser
- use local LLMs with Ollama for free offline queries
When to choose
- you want an AI assistant embedded in your terminal workflow
- you frequently forget shell command syntax and want instant generation
- you pipe logs, diffs, or files into an LLM for analysis
- you want a lightweight pip-installable CLI that works across shells and OSes
When to avoid
- you need a polished chat UI or conversation history management
- you require optimized performance with local open-source models
- you don't want to pay for an OpenAI API key and can't self-host a backend
- you need structured agent workflows or tool calling rather than single prompts
Facets
cli-tool · maturity active
llm-inference cli chatbot developer-tools developer-tools large-language-models cli windows python cross-platform shell-commands openai ollama gpt terminal-assistant stdin-piping command-line linux macos
2 sources
- readme: https://github.com/TheR1D/shell_gpt · fetched 2026-08-28 · a712e34647dc
- registry_pypi: https://pypi.org/pypi/shell_gpt/json · fetched 2026-08-29 · 21a4a71f041f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| TheR1D/shell_gpt | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="TheR1D/shell_gpt")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem