Skip to content

AI Prompt Engineering Toolkit to Craft expert level prompts and to improve AI outputs efficiently.

Notifications You must be signed in to change notification settings

AathilFelix/prompt-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fccf492Β Β·Β Β· Sep 1, 2025

History

16 Commits
Aug 25, 2025
Sep 1, 2025
Aug 26, 2025
Aug 26, 2025
Sep 1, 2025
Aug 25, 2025
Aug 25, 2025
Sep 1, 2025
Aug 25, 2025
Sep 1, 2025
Sep 1, 2025

Repository files navigation

πŸš€ AI Prompt Engineering Toolkit (prompt-toolkit)

Python Version License


Overview

AI Prompt Engineering Toolkit is a CLI tool that uses AI to generate better AI prompts. It analyzes user intent and automatically uses AI to craft optimized prompts for quality results, helping students, developers, content creators, and professionals to get more efficient outputs from any AI models.

No more trial and error or vague prompts this toolkit ensures expert-level prompts every time.


Core Concept

Instead of pre-defined templates, the toolkit applies meta-prompting, a recursive AI approach where AI itself improves prompts based on your intent. This produces significantly better results than generic static prompts, making your AI interactions faster, smarter, and more accurate.


Key Features

  • βœ… AI-Powered Prompt Optimization – Dynamically generates high quality prompts.
  • βœ… Dual Mode Operation – Choose to view the optimized prompt only, or get the AI response instantly.
  • βœ… Flexible Intent System – Supports any user intent, not limited to templates.
  • βœ… Beautiful CLI Interface – Powered by Typer + Rich for professional terminal UI.
  • βœ… Cross-Platform Executable – Works on Windows, Mac, and Linux with a single executable (~12MB).
  • βœ… Clean AI Responses – Automatically filters out nk> tags and other meta-text for clarity.

Installation

Executable (Recommended)

Download the latest release for your OS from the GitHub Releases. No Python setup required.

# Example usage after download
prompt-toolkit improve summarize  "I want to learn AI"

From Source (Optional)

Requires Python 3.7+.

git clone https://github.com/AathilFelix/prompt-toolkit.git

cd prompt-toolkit
pip install -r requirements.txt
python src/cli.py improve summarize e "I want to learn AI"

Usage

Available Intents

β€’ summarize - Create concise summaries
β€’ rewrite - Improve clarity and style
β€’ questions - Generate thoughtful questions
β€’ explain - Break down complex concepts
β€’ brainstorm - Generate creative ideas
β€’ analyze - Deep analytical insights
β€’ debug - Troubleshoot problems
β€’ plan - Create step-by-step plansp plans

Generate an Optimized Prompt (Prompt Engineering Mode)

prompt-toolkit-os>gt; improve intent>gt; prompt-to-refine>gt;

Usage Example

prompt-toolkit-os>gt; improve summarize "I want to learn AI"

Output

Engineered Prompt:

"Act as an AI learning expert, and create a structured, step-by-step summary for someone beginning their journey to learn AI. Organize the summary into clear sections: foundational concepts (math, programming), key AI subfields (ML, DL, NLP), recommended resources (books, courses, tools), hands-on practice methods (projects, datasets), and common challenges with solutions. Assume a learner with basic tech proficiency but no prior AI experience. Use bullet points for conciseness, include 1-2 examples of real-world AI applications, and specify approximate timeframes for mastery. Format in plain text with clear headings, avoiding markdown. Make all resource recommendations up-to-date as of 2024."

Run AI Response

prompt-toolkit-os>gt; improve summarize "I want to learn AI" --ai
(OR)
prompt-toolkit-os>gt; improve summarize "I want to learn AI" -a

Custom Intents

prompt-toolkit-os>gt; improve study plan "machine learning basics"

DEMO

Screen.Recording.2025-08-25.at.9.51.38.PM.mov

Technical Details

  • Python 3.7+

  • CLI Framework: Typer + Rich

  • AI Integration: Hack Club AI (free tier, no API key required)

  • Executable Packaging: PyInstaller (~12MB, cross-platform)

  • Response Cleaning: Regex filters for nk> and meta-text

About

AI Prompt Engineering Toolkit to Craft expert level prompts and to improve AI outputs efficiently.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages