Promptheus: Instructions file for Gemini CLI

GEMINI.md

Promptheus GEMINI.md is an instructions file for Gemini CLI from abhichandra21/Promptheus. It costs 1,276 tokens per session, scanned A, original, MIT.

Project guidance for Promptheus, a Python command-line tool that improves prompts for large language models. It can use several AI providers, adapt its refinement process to the task, and support interactive revisions.

In plain words
What is it for?
Use it when developing or running Promptheus, including prompt refinement, provider integrations, task-type handling, interactive tweaking, or its terminal interface.
Why use it?
It gives developers context for the tool's purpose, architecture, and expected behavior when making changes.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md.

This is abhichandra21/Promptheus's own configuration. It tells Gemini CLI how to work on Promptheus itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Promptheus configures →

Reuse

Borrowing it

Nothing to install: this file belongs to abhichandra21/Promptheus. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/abhichandra21/Promptheus/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/abhichandra21/Promptheus

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Promptheus GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/abhichandra21/promptheus/gemini-md/github.svg)](https://agentmods.dev/instructions/abhichandra21/promptheus/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/abhichandra21/promptheus/gemini-md"><img src="https://agentmods.dev/badge/instructions/abhichandra21/promptheus/gemini-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Promptheus GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/abhichandra21/promptheus/gemini-md"><img src="https://agentmods.dev/badge/instructions/abhichandra21/promptheus/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,276 This file is loaded in full into every session.
When invoked 1,276 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01276 $0.01276
Opus 5.5 $0.00510 $0.00510
Sonnet 5.5 $0.00255 $0.00255
Haiku 4.5 $0.00128 $0.00128

Measured 2mo ago against content hash 507b95fc3bd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Promptheus GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

GEMINI.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Promptheus Project Context

This document provides a comprehensive overview of the Promptheus project, its architecture, and development conventions to be used as instructional context.

1. Project Overview

Promptheus is a sophisticated, AI-powered command-line interface (CLI) tool written in Python. Its primary purpose is to help users craft and refine prompts. The tool takes a user's initial prompt and, through a series of AI-driven steps, outputs a better, more effective prompt for the user to then take and use with any Large Language Model (LLM).

Core Features:

  • Multi-Provider Support: It uses LLM backends (Google, Anthropic Claude, OpenAI, Groq, Qwen, GLM) for its internal refinement process.
  • Adaptive Interaction: The tool intelligently detects the user's task type:
    • Generation Tasks: It offers to ask clarifying questions to add detail.
    • Analysis Tasks: It performs an automatic, non-interactive "light refinement" to improve the prompt's clarity.
  • Iterative Refinement: Users can "tweak" a generated prompt with natural language commands in an interactive loop.
  • Rich Interactive UI: The interface is built with rich and questionary, providing a polished and user-friendly experience.
  • Flexible Configuration: Configuration is handled via a clear hierarchy: CLI arguments (--provider), environment variables (PROMPTHEUS_PROVIDER), and .env files.
  • Prompt History: All refined prompts are automatically saved to a history file for later reference and reuse.
  • Subcommand Interface: Provides dedicated subcommands for utility functions like list-models, validate, and history for a clean and modern CLI experience.
  • Dynamic Model Discovery: Model information is dynamically fetched from the models.dev API and cached locally for 24 hours.

Architecture:

The project follows a modular and modern Python architecture:

  • src/promptheus/main.py: The main application entry point. It handles parsing command-line arguments, orchestrates the refinement workflow, and manages the user interface.
  • src/promptheus/cli.py: Defines the entire command-line interface, including all subcommands and their arguments, using Python's argparse module.
  • src/promptheus/commands.py: Implements the logic for the utility subcommands (list-models, validate, template, history).
  • src/promptheus/config.py: A dedicated configuration manager that detects and validates API keys and settings from environment variables and .env files. It uses providers.json for provider-specific metadata.
  • src/promptheus/providers.py: The core abstraction layer. It defines an LLMProvider abstract base class and concrete implementations (GeminiProvider, AnthropicProvider, OpenAICompatibleProvider, etc.).
  • src/promptheus/prompts.py: Stores the system instruction templates that guide the internal LLM calls for question generation, refinement, and tweaking.
  • src/promptheus/history.py: Manages persistent storage of prompt history with timestamp tracking.

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 84 lines · 1,276 tokens per session scan A 507b95fc3bd3

Subscribe to this mod's changes

Promptheus GEMINI.md is an instructions file published in the GitHub repository abhichandra21/Promptheus (17 stars, last pushed 24d ago), licensed MIT. It adds 1,276 tokens to every session, about $0.0051 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Promptheus GEMINI.md compared with instructions from other repositories

Promptheus GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Promptheus GEMINI.mdabhichandra21/PromptheusInstructions file1724d agoMITA1,276Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode