Skip to content
项目

关于

Context management for long-context LLMs, agents, and vibe coding. Instantly build context for an entire repo, selected files, folders, and GitHub issues to generate structured AI-XML context with real-time token counting.

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
+1
7天
+1
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Prompt Tower

Prompt Tower

Turn your entire codebase into AI-ready context in seconds

VS Code Extension Rating Users

The Problem

Copy-pasting files into Claude, ChatGPT, or Cursor one by one. Losing track of context. Putting too much effort into manual context engineering? Sound familiar?

The Solution

Select files with checkboxes → Generate perfect context → Copy to clipboard → Paste anywhere.

Prompt Tower packages your codebase—files, directory structure, GithHub PR Diffs, GitHub issues—into AI-optimized prompts. Built for developers using Gemini's 1M context, Cursor's agent, Claude Code, or any AI assistant.

Demo

Install from Marketplace • Works in VS Code, Cursor, Windsurf, Google IDX


What You Get

Visual File Selection

Click checkboxes. See live token counts. No terminal commands or manual file paths.

Smart Context Packaging

Every prompt includes your project structure:

src/
├── api/GitHubApiClient.ts (5.2KB)
├── models/FileNode.ts (3.1KB)
└── services/TokenCountingService.ts (2.8KB)

Plus clean, structured file content:

<file path="/src/api/GitHubApiClient.ts">
export class GitHubApiClient {
  // Your actual code
}
</file>

Context Control with .towerignore

Keep prompts focused. Exclude test fixtures, generated files, or documentation:

tests/fixtures/
dist/
*.test.js
data/

GitHub Issues Integration

Import issues and comments directly. AI understands your problems, not just your code.

Token Intelligence

Real-time counting prevents surprises. Optimize for any model's limits.


Real Use Cases

Building features with Cursor's agent:
Select implementation files + tests + types → paste complete context → describe your feature → watch it build with full codebase awareness.

Debugging with Claude Code:
Include error logs + related files + directory structure → paste in TUI → get solutions that fit your architecture.

Massive refactors with Gemini:
Use the full 1M context window. Select entire modules, include architectural decisions as prefix text, let AI understand the complete system.


Quick Start

  1. Install "Prompt Tower" from VS Code Extensions
  2. Click the tower icon in your Activity Bar
  3. Check files you need
  4. Hit "Copy Context to Clipboard"
  5. Paste into any AI chat

Configuration

Create .towerignore in your project root (works like .gitignore):

# Most important config - keep context relevant
tests/mocks/
docs/generated/
*.min.js

Optional settings:

  • Customize output templates (XML, Markdown, custom)
  • Set global ignore patterns
  • Configure token warnings

Why Developers Choose Prompt Tower

"Went from 20 minutes of setup to 20 seconds of context building." - VS Code user

Before: Manual file copying, missing context, generic AI responses
After: One-click context, comprehensive understanding, tailored solutions

Perfect for teams that have embraced AI-assisted development but need better context control.


Contributing

Found a bug? Want a feature? Open an issue.

Development:

git clone https://github.com/backnotprop/prompt-tower.git
npm install && npm run watch
# Press F5 to launch Extension Development Host

AGPL-3.0 License • GitHub • Built by @backnotprop

The missing piece between your codebase and your AI assistant.

探索相关项目

加载中…