Skip to main content

Offline terminal prompt builder — answer a few questions, get a perfect AI prompt in your clipboard. Zero tokens spent on explanations.

Project description

RAPT0R

build fast. ship faster.
prompt builder by i73

Python Terminal License

demo


Don't spend tokens explaining yourself — spend them on results.

RAPT0R is a terminal prompt builder. Answer a few questions, get a battle-tested AI prompt in your clipboard, or execute it directly against an LLM. Offline by design — your context window goes entirely to the actual work.

✨ Features

  • 🔌 Offline by default — build complex prompts with zero API calls, or optionally stream execution directly to OpenAI/Anthropic.
  • ⚡️ Fast — answer 3-5 questions, the finished prompt is already in your clipboard.
  • 📁 Project context — drop a .rapt0r file in your repo and your stack/rules/architecture get injected into every prompt automatically.
  • 🔎 Instant search — press f anywhere to fuzzy-search templates across all categories.
  • 🌳 Branching — smart templates ask follow-up questions based on your answers.
  • 🛠 Built-in manager — create, edit, and delete templates right from the menu.
  • 🎨 Polished TUI — custom colors, number hotkeys, icons, built on InquirerPy and rich.

🚀 Install

pip install rapt0r-cli

Run it:

rapt0r
Or run from source
git clone https://github.com/i73i73i73i73/RAPT0R.git
cd RAPT0R
pip3 install -e .
rapt0r          # or: python3 main.py

📁 Project context (.rapt0r)

Stop re-explaining your project to the AI in every prompt. Describe it once — RAPT0R appends it to every prompt it builds.

Create a .rapt0r file in your project root (any plain text or markdown):

Stack: FastAPI + React + PostgreSQL
Style: type hints everywhere, no classes where functions do
Architecture: monorepo, backend in /api, frontend in /web
Rules: never touch migrations by hand, tests are pytest

Run rapt0r from anywhere inside the project — it finds the file by walking up the directory tree and adds a ## Project context section to the generated prompt.


⌨️ Hotkeys

Key Action
1-9 Jump to item
f Fuzzy search across all templates
0 Exit / back
Ctrl+C Cancel current flow

📝 Writing your own templates

Templates are plain Markdown with YAML frontmatter. Press Create template in the menu, or drop a .md file into a category folder:

---
name: "✨ My awesome prompt"
questions:
  role: "What role should the AI play?"
  task: "Describe the task in one sentence:"
branch:
  question: "Add a constraints section?"
  y:
    questions:
      limits: "List the constraints, comma-separated:"
    body: "constraints_body"
---

You act as: {{role}}.
Your task: {{task}}.

{{constraints_body}}

Syntax

  • name — display name in the menu.
  • questionskey: "Question?" pairs; keys become {{variables}} in the body. Add choices: for a pick-list.
  • branch (optional) — yes/no fork that asks extra questions and switches the body.
  • {{variable}} — replaced with your answers.

Where templates live: the repo's rapt0r/templates/ when running from source, ~/.rapt0r/templates/ when installed via pip (seeded automatically on first run). Generated prompts are saved to ~/.rapt0r/prompts/ (or prompts/temp/ in a source checkout).


🧠 Philosophy

Precise context = fewer tokens = better results.

Every API call where you explain your project from scratch costs money and context window. RAPT0R forces the discipline of giving the AI exactly the inputs it needs — offline, for free, in seconds.

built with ❤️ for AI engineering

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rapt0r_cli-1.0.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rapt0r_cli-1.0.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file rapt0r_cli-1.0.0.tar.gz.

File metadata

  • Download URL: rapt0r_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rapt0r_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 117130236ad5138d76ad924de8d3ae6c853249eb52a0d381385ad066e0bd2fcf
MD5 32fee74526c5a5f4a24ed014dae68b06
BLAKE2b-256 77568866fcd9538bcf98ac577141571ed021fb73259758aaa7bcd9f53fcc4564

See more details on using hashes here.

Provenance

The following attestation bundles were made for rapt0r_cli-1.0.0.tar.gz:

Publisher: publish.yml on i73i73i73i73/RAPT0R

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rapt0r_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: rapt0r_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rapt0r_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f585b337ac1491d5a8fff8e12c03470ac98c75ae82f198315e9ee54b89023239
MD5 cf81546684e25ac824e2ab11c40e98a2
BLAKE2b-256 fda487c4ae430ddf653ab40fcc819f5237985e1fd8df465ed1c62425e2b14094

See more details on using hashes here.

Provenance

The following attestation bundles were made for rapt0r_cli-1.0.0-py3-none-any.whl:

Publisher: publish.yml on i73i73i73i73/RAPT0R

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page