Getting Started

Installation Login with GitHub Your First Chat

Features

Chat Panel Inline Completions Slash Commands Code Context

Commands

All Commands

Account

Subscription FAQ

CodeSail Documentation

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.

Installation

Requirements

Install from VS Code Marketplace

The easiest way to install CodeSail:

Install from Command Line

code --install-extension sailendrags-a11y.codesail

Login with GitHub

CodeSail uses GitHub OAuth for authentication — no passwords, no API keys to manage.

🔒 Your session lasts 7 days. After that, just login again with the same steps.

Your First Chat

Chat Panel

The chat panel is your main interface for talking to Claude about your code.

Features

Keyboard Shortcuts

Inline Completions

As you type code, CodeSail shows ghost text suggestions powered by Claude. These appear automatically after you pause typing.

How it works

💡 Completions are context-aware — Claude sees both the code before AND after your cursor, so suggestions never duplicate existing code.

Slash Commands

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

Tips for slash commands

Code Context

CodeSail automatically sends context from your editor with every message so Claude always knows what you're working on.

What's included

💡 Pro tip: Highlight just the function or block you want to discuss before typing your message — this gives Claude the most focused context.

All VS Code Commands

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

Subscription

Check your plan

Press Cmd+Shift+PAI: Check Login Status — this shows your current plan (free or pro).

Upgrade to Pro

Visit codesail.in/pricing to upgrade your plan.

Cancel subscription

Press Cmd+Shift+PAI: Cancel Subscription — or email us at hello@codesail.in.

FAQ

Do I need my own Anthropic API key?

No — CodeSail handles all API calls. Just login with GitHub and start using it.

Is my code stored on your servers?

No — we only process your code to generate responses. We don't store your code.

What AI model does CodeSail use?

Claude Sonnet 4.6 by Anthropic — one of the best models for code understanding.

The extension stopped working — what do I do?

How do I report a bug?

Email hello@codesail.in and we'll get back to you quickly.