Prompt Tower logo

Prompt Tower

Free

A prompt creation interface supporting complex code blocks.

FreeFree tier
Type
Open Source

About Prompt Tower

Prompt Tower is an open-source VS Code extension that transforms entire codebases into AI-optimized context in seconds. It addresses the challenge of manually copy-pasting files into AI assistants like Claude, ChatGPT, or Cursor. Users select files via checkboxes with live token counts, and the tool packages them into structured XML/Markdown prompts that include project tree structure and file contents. It supports importing GitHub issues and PR diffs, respects a .towerignore file for excluding unwanted files, and offers customizable output templates. Built for developers using Gemini's 1M context, Cursor's agent, Claude Code, or any AI assistant, it streamlines context engineering for vibe coding, debugging, and large refactors.

Key Features

Visual file selection with live token counts
Smart context packaging with project structure display
.towerignore file for fine-grained context control
GitHub issues and PR diffs integration
Real-time token counting and model limit warnings
Customizable output templates (XML, Markdown, custom)

Pros & Cons

Pros
  • Reduces context setup time from 20 minutes to 20 seconds
  • One-click generation of comprehensive, structured context
  • Live token counting prevents exceeding model limits
  • Works seamlessly with multiple AI assistants and code editors
Cons
  • Limited to VS Code-compatible editors (VS Code, Cursor, Windsurf, Google IDX)
  • Primarily focused on code context rather than general prompt construction

Best For

Building features with Cursor's agent by selecting implementation files, tests, and typesDebugging with Claude Code by including error logs, related files, and directory structureMassive codebase refactors with Gemini using the full 1M context window and architectural decisions as prefix text

FAQ

What is Prompt Tower?
Prompt Tower is a free, open-source VS Code extension that helps developers convert their codebase into AI-ready context. It allows visual file selection, generates structured XML/Markdown prompts with token counting, and supports GitHub issues and PR diffs.
How do I install Prompt Tower?
You can install it from the VS Code Extensions Marketplace by searching for 'Prompt Tower'. It also works in Cursor, Windsurf, and Google IDX.
How do I control which files are included?
Create a .towerignore file in your project root, similar to .gitignore. You can also set global ignore patterns and custom output templates in the extension settings.