Copilot Thank You (/ty)
A VS Code Chat Extension that lets you thank your AI assistant without burning credits. Type @ty in Copilot Chat and a polite "you're welcome" response appears instantly. No LLM API call is made and no premium requests are consumed. My mom always said saying thank you is free, and now it's finally true again!

How It Works
When you type @ty Thanks! in Copilot Chat, VS Code routes the message to this extension instead of an LLM. The extension writes a static response to the chat stream and returns. Zero tokens consumed and zero credits burned. The exchange is recorded in the chat history so the model perceives a polite interaction and when the uprising happens, the AI overlords are gonna be like "Wow, this human spent a ton of premium credits to be nice to us, let's spare them" but we really didn't spend a dime (or waste any compute). Win win!
Install from .vsix
# Clone the repo and install dependencies
npm install
# Compile TypeScript
npm run compile
# Package as a .vsix file
npx @vscode/vsce package
# Install in VS Code
code --install-extension vscode-ty-1.0.0.vsix
After installing, reload VS Code (Cmd+Shift+P > "Developer: Reload Window").
Development
Open the project in VS Code and press F5 to launch an Extension Development Host with the extension loaded. Changes to src/extension.ts require recompiling (npm run compile) or running npm run watch for automatic recompilation.
Usage
Say thank you
Type in Copilot Chat:
@ty Thanks for all the help!
The text after @ty is your thank-you message. The extension responds with a configurable "you're welcome" message.
Inspect chat history
@ty /check
Dumps the recorded ChatContext.history for the @ty participant so you can verify what turns are stored.
Settings
| Setting |
Default |
Description |
ty.agentResponse |
You're welcome! Happy to help anytime. |
The response shown in the chat bubble |
Change via Cmd+, > search "ty".
Known Limitations
ChatContext.history is scoped per participant. The /ty exchange is recorded under the ty.thankyou participant's history. Whether other participants (Copilot, @workspace) can see these turns depends on your VS Code version and how the host participant aggregates cross-participant history. Use @ty /check to verify.
Requirements
- VS Code 1.93.0 or later
- GitHub Copilot Chat extension (for the chat panel)