Everything you need to get started with CodeSail AI Code Assistant — an AI-powered VS Code extension powered by Claude.
⚡ New here? Jump straight to Installation and be coding with AI in under 2 minutes.
The easiest way to install CodeSail:
Cmd+Shift+X to open the Extensions panelCodeSailcode --install-extension sailendrags-a11y.codesail
CodeSail uses GitHub OAuth for authentication — no passwords, no API keys to manage.
Cmd+Shift+P to open the Command PaletteAI: Login with GitHub and press Enter🔒 Your session lasts 7 days. After that, just login again with the same steps.
Cmd+Shift+P → type AI: Open Chat AssistantThe chat panel is your main interface for talking to Claude about your code.
Enter — Send messageShift+Enter — New line (don't send)As you type code, CodeSail shows ghost text suggestions powered by Claude. These appear automatically after you pause typing.
Tab to accept the suggestion💡 Completions are context-aware — Claude sees both the code before AND after your cursor, so suggestions never duplicate existing code.
Type a slash command in the chat panel to trigger AI actions on your current file or selected code.
| Command | What it does | Plan |
|---|---|---|
| /explain | Explains your code in plain language — what it does, how it works, key patterns | Free |
| /fix | Finds and fixes bugs. Returns the complete corrected file + what was changed | Free |
| /improve | Suggests improvements for readability, performance, and best practices | Free |
| /test | Writes unit tests for your code — covers main cases, edge cases, and errors | Pro |
| /docs | Writes documentation and comments — function descriptions, parameter explanations | Pro |
/fix make sure to add type hints/explain when reviewing someone else's code/test before submitting a PRCodeSail automatically sends context from your editor with every message so Claude always knows what you're working on.
💡 Pro tip: Highlight just the function or block you want to discuss before typing your message — this gives Claude the most focused context.
Access all CodeSail commands via Cmd+Shift+P:
| Command | Description |
|---|---|
| AI: Open Chat Assistant | Opens the chat panel |
| AI: Login with GitHub | Authenticates with your GitHub account |
| AI: Logout | Signs you out and clears your session |
| AI: Check Login Status | Shows your current login status and plan |
| Set Anthropic API Key | Alternative: use your own Anthropic key directly |
Press Cmd+Shift+P → AI: Check Login Status — this shows your current plan (free or pro).
Visit codesail.in/pricing to upgrade your plan.
Press Cmd+Shift+P → AI: Cancel Subscription — or email us at hello@codesail.in.
No — CodeSail handles all API calls. Just login with GitHub and start using it.
No — we only process your code to generate responses. We don't store your code.
Claude Sonnet 4.6 by Anthropic — one of the best models for code understanding.
Cmd+Shift+P → AI: Check Login StatusAI: Login with GitHubEmail hello@codesail.in and we'll get back to you quickly.