# npiv/chatblade

A CLI Swiss Army Knife for ChatGPT

Repository: https://github.com/npiv/chatblade
Canonical: https://ross.abutalabs.com/products/chatblade
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: chatgpt, cli
Last push: 2026-02-02T08:36:35+00:00

## Health v2 (maintenance only)
Score: 50/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 65, release rhythm 8, longevity 90
- inputs: {"age_days": 1263, "days_push": 212, "days_rel": 690, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2590, forks 85 (observed 2026-08-28T04:07:02.931895+00:00)

## What it is
Chatblade is a Python CLI tool for querying OpenAI's ChatGPT from the terminal, supporting piped input, saved prompt preambles, session recall, streaming, and JSON/Markdown extraction from responses. The project is now archived and no longer maintained.

## Use cases
- query chatgpt from the command line
- pipe shell output into chatgpt and get an answer
- extract json from llm responses in a script
- save reusable prompt preambles
- continue a previous chatgpt conversation in the terminal
- switch between gpt models from the cli

## When to choose
- you need a lightweight terminal client for OpenAI models and don't mind an unmaintained tool
- you want to script LLM calls with piped input and JSON extraction

## When to avoid
- you want an actively maintained tool - the repo is archived; consider llm or Fabric instead
- you need providers other than OpenAI
- you need streaming or features beyond what the last release supports

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: cli, chatbot, llm-inference, prompt-engineering
- domain: large-language-models, developer-tools, chatbots
- platform: cli, python, windows, cross-platform
- tags: chatgpt, openai, llm-cli, piped-input, session-management, archived, command-line, macos, linux

## Member repositories
- npiv/chatblade (main) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.931895+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:22:20.645654+00:00, confidence not recorded.
  - readme: https://github.com/npiv/chatblade (fetched 2026-08-28T04:07:02.931895+00:00, sha 8db936d0625e)
  - registry_pypi: https://pypi.org/pypi/chatblade/json (fetched 2026-08-29T10:04:35.007471+00:00, sha b3a390702d9b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
