PromptCode: The VS Code extension that saves the day when your AI code agent (Cursor, etc.) hits a wall. You're in control—select files, craft precise prompts, and effortlessly apply fixes using your favorite LLM.
# PromptCode [](https://opensource.org/licenses/MIT) [](https://github.com/cogflows/promptcode-vscode/releases/latest) [](https://github.com/cogflows/promptcode-vscode/releases) [](https://github.com/cogflows/promptcode-vscode) [](https://marketplace.visualstudio.com/items?itemName=cogflows.promptcode) [](https://github.com/cogflows/promptcode-vscode/releases/latest) > **The ultimate rescue tool when AI code agents hit their limits** PromptCode is your go-to solution when code agents like Cursor or Windsurf hit a wall. Available as both a powerful [VS Code extension](https://marketplace.visualstudio.com/items?itemName=cogflows.promptcode) and a standalone [CLI tool](https://github.com/cogflows/promptcode-vscode/tree/main/packages/cli#readme), PromptCode supercharges your workflow with improved code-to-AI connections. It seamlessly bridges your codebase with your favorite AI models—including those without direct API access, like GPT-5 or Cursor. Pick your file context, craft precise prompt templates, generate AI prompts, and even parse the responses—whether you prefer the rich VS Code interface or the flexibility of the command line. ## Demo Video Watch this short demo to see PromptCode in action: [](https://www.youtube.com/watch?v=dUpdSAPklfo) ## Quick Start Choose your path: ### VS Code Extension 1. Install from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=cogflows.promptcode) 2. Open Command Palette (`Cmd/Ctrl+Shift+P`)
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.