Home

Awesome

prompt-tower

<img src="https://github.com/backnotprop/prompt-tower/blob/main/image.png?raw=true" alt="Prompt Tower" width="200"/>

A VS Code extension that helps you build prompts with lots of code blocks in them.

Install: https://marketplace.visualstudio.com/items?itemName=backnotprop.prompt-tower&ssr=false#overview

0.1.12 Token count, as seen with batch file selection: Demo

Features

Construct a prompt with multiple code blocks in it.

Commands:

Each code block is added to the tower and is wrapped in ``` ticks, with appropriate newlines. It's height indicates the block size (more code = taller block); until a certain threshold where too many blocks normalizes sizes. Blocks are movable, and its simple to add annotations (as new blocks) above or below each other.

See it in action:

Demo

After the prompt is built, it's ready to be sent to gpt:

GPT

Release Notes

These are very early releases, please submit issues!

0.1.12

Token Counter added wtih gpt-tokenizer npm package.

0.1.11

Prompt Tower menu condensed in context window, now part of copy/paste group

0.1.10

Minor usability fixes (retain focus in active editor when using Send To Prompt Tower commands)

0.1.9

Demo

0.1.0

Initial release