Server · #170 trending MCP repo · ↗ +34 stars this week
Codewhale
codewhale-hq/Codewhale
Open-source Rust coding agent for terminal, web, and desktop. Any model, multi-agent fleets, MCP & plugins, OS sandboxing, and session receipts.
- Stars
- 41k
- This week
- +34
- Forks
- 3.6k
- Open issues
- 75
- Skills inside
- 68
Inside this repo
48 of 68 skills
crates/skills/assets/dsh-creator/skills/agent-experiencecordis-composition-referenceUse when writing or reading a Cordis bundle patch or agent preset for this harness and you need the Loader YAML dialect (insert, override by id, group, disabled, isolate, !!js) or the list of installable Harness plugin packages and what each provides.crates/skills/assets/dsh-creator/skills/cordis-composition-referencecordis-plugin-developmentUse when designing, reviewing, adding, enabling, disabling, installing, configuring, or debugging a plugin, bundle, feature, page, panel, tool, or MCP connection in the current Harness profile, including a shipped plugin that is disabled by default, and for any visual object, decoration, or widget rcrates/skills/assets/dsh-creator/skills/cordis-plugin-developmentediting-cordis-compositionsUse when creating, changing, or validating an agent preset or other Cordis composition for this harness, including deciding host versus preset placement and checking that an authored preset mounts.crates/skills/assets/dsh-creator/skills/editing-cordis-compositionsbatchBreak a large, parallelizable goal into bounded work units, coordinate existing agent/worktree machinery, integrate, and verify. Explicit-only.crates/skills/assets/skills/batchbest-of-nGenerate a small set of independent candidate solutions in worktrees, judge them against one explicit rubric, and apply the winner only after PASS verification.crates/skills/assets/skills/best-of-ncontributor-onboardingHelp a new contributor get productive on this checkout - inspect sync state against main, build, run the repository's exact verification gate, and produce a local what's-new digest. Never fetches, pulls, or modifies a dirty tree on its own. Explicit-only.crates/skills/assets/skills/contributor-onboardingdatavizChoose and produce an appropriate chart/dashboard/visual explanation from data, with legible encodings and source/assumption notes.crates/skills/assets/skills/datavizdebugReproduce, minimize, localize, identify root cause, and distinguish diagnosis from an authorized fix. Prefer root-cause over symptom patches.crates/skills/assets/skills/debugdelegateStrategic delegation for multi-step coding, research, or verification work. Use when a task can be split into parent reasoning plus focused sub-agent execution through the agent tool.crates/skills/assets/skills/delegatedependency-updateRead release notes/changelogs, update a defined dependency scope, handle breaking changes, and verify. Explicit-only; no broad update-everything by inference.crates/skills/assets/skills/dependency-updatedocumentWrite or update repository/product documentation: README, user guides, API docs, architecture, migration notes, and changelog material. This is not the Word-document artifact skill.crates/skills/assets/skills/documentdocumentsCompatibility alias for the docx skill. Prefer loading docx.crates/skills/assets/skills/documentsdocxCreate/edit/inspect Word documents using available managed or host capabilities.crates/skills/assets/skills/docxfeedbackReport a Codewhale bug or idea as a GitHub issue. Use when: codewhale bug, feature request, feedback on codewhale, report an issue, or this should work differently.crates/skills/assets/skills/feedbackfeishuWork with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.crates/skills/assets/skills/feishufleet-managerUse when managing, triaging, restarting, escalating, or summarizing Codewhale fleet runs and workers.crates/skills/assets/skills/fleet-managerflightsTrack flights and look up status and schedules. Use when: flight status, track a flight, flightaware, arrivals, departures, delays, or a flight number.crates/skills/assets/skills/flightsforgetHelp the user remove a stored fact using Codewhale's Context Lens when they ask to forget or delete a memory.crates/skills/assets/skills/forgetfrontend-designProduce intentional, responsive, accessible UI work and perform visual QA instead of generic component assembly.crates/skills/assets/skills/frontend-designgithubGitHub via gh — issues, PRs, reviews, search, and CI runs. Use when: user mentions a repo, issue, PR, review, release, workflow run, or anything on github.com.crates/skills/assets/skills/githubgmailSearch, read, draft, and send Gmail when the user asks to work with their inbox or email.crates/skills/assets/skills/gmailgoogle-calendarRead schedules, check availability, and create or update Google Calendar events when the user asks to work with their calendar.crates/skills/assets/skills/google-calendarhandoffWrite a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / 'pass the baton' / 'hand off', or a long-running operation needs a durable state checkpcrates/skills/assets/skills/handoffhelpRoute a "how do I use Codewhale" question to the installed help, config, and doctor surfaces instead of reciting a manual from memory. Explicit-only.crates/skills/assets/skills/helpimage-searchFind images on the web and save them locally. Use when: find an image, image search, stock photo, picture of, download an image, or need a visual.crates/skills/assets/skills/image-searchimplementCarry an authorized, defined request or approved plan through scoped edits and proportionate verification. Skill loading is not write authorization by itself.crates/skills/assets/skills/implementinterviewAsk one useful structured question at a time only when material product/implementation choices are genuinely missing; remember answers and produce a brief/spec. Discoverable facts should be investigated instead of asked.crates/skills/assets/skills/interviewmcp-builderDesign, build, configure, or debug Model Context Protocol servers for codewhale, including stdio and HTTP/SSE transports.crates/skills/assets/skills/mcp-buildermcp-discoveryFind and start a zero-environment local MCP server when the session lacks a capability that no available tool, project script, or ordinary local code can cover.crates/skills/assets/skills/mcp-discoverymoneyBank accounts, balances, and transactions via Plaid. Use when: bank, balance, transactions, spending, accounts, or plaid.crates/skills/assets/skills/moneypdfRead, extract, split, merge, rotate, watermark, fill, OCR, or create PDF files with verification of page counts and text extraction.crates/skills/assets/skills/pdfpersonal-goalsThe user's personal goals and resolutions in goals.md: set, review, track progress. Not the session goal (create_goal).crates/skills/assets/skills/personal-goalsphotosSearch a local macOS Photos library and export selected copies when the user asks to find or use their own photos.crates/skills/assets/skills/photosplanTurn a sufficiently understood task into an ordered implementation plan with dependencies and verification. Orchestrate Codewhale’s native plan state; do not build a parallel planner.crates/skills/assets/skills/planplugin-creatorScaffold a local Codewhale plugin bundle with a versioned manifest, namespaced Skills, and a trust review that goes through the session's approval.crates/skills/assets/skills/plugin-creatorpodcastTurn research into a spoken podcast — script, synthesize, stitch. Use when: podcast, generate a podcast, audio briefing, narrate, or turn this into audio.crates/skills/assets/skills/podcastpptxCreate/edit/inspect/verify slide decks and PPTX presentations.crates/skills/assets/skills/pptxpresentationsCompatibility alias for the pptx skill. Prefer loading pptx.crates/skills/assets/skills/presentationsreleasePrepare a named version: preflight, version consistency, build/package, smoke test, checksums/notes, and release readiness. Publishing/tagging/deploy need separate authorization. Explicit-only.crates/skills/assets/skills/releaseresearchCurrent external research using available web tools, primary sources where possible, links/citations, date awareness, synthesis, and unresolved uncertainty.crates/skills/assets/skills/researchreviewDiff-scoped correctness review that reads the codebase around the change — callers, contracts, and invariants — and returns line-anchored findings ranked by severity with confidence, then a merge-risk verdict. Use for reviewing a PR, diff, or named change set. Not for style review, approvals-as-rubbcrates/skills/assets/skills/reviewsecurity-reviewReview a change, module, or surface for exploitable defects — trust boundaries, authn/authz, injection, secret exposure, filesystem and network reach, dependency risk. Use when the user asks for a security review, audit, or vulnerability check of concrete code. Not for general code review, lint, or crates/skills/assets/skills/security-reviewshoppingProduct research — compare options, prices, and reviews. Use when: buy, shopping, product recommendation, compare prices, best X to buy, or is this a good deal.crates/skills/assets/skills/shoppingsimplifyImprove clarity and reduce needless complexity after behavior is understood; preserve behavior and keep cleanup separate from correctness fixes.crates/skills/assets/skills/simplifyskill-creatorCreate or improve codewhale skills. Use when the user wants a new skill, wants to update an existing skill, or needs guidance on when a skill should be a skill versus MCP, hooks, tools, or a plugin scaffold.crates/skills/assets/skills/skill-creatorskill-installerInstall, update, trust, or inspect Codewhale skills from GitHub or local skill folders. Use when the user asks for available skills or wants a community skill installed.crates/skills/assets/skills/skill-installerspotifyControl Spotify playback and search the library and playlists. Use when: spotify, music, playlist, play, pause, or what's playing.crates/skills/assets/skills/spotifyDocumentation
README
Open-source Rust coding agent for your terminal. Any model, multi-agent fleets, OS sandboxing, and verifiable receipts.
curl -fsSL https://codewhale.net/install.sh | sh
Website · Documentation · Changelog · Contributing
简体中文 · 日本語 · Tiếng Việt · Bahasa Indonesia · 한국어 · Español · Português · Русский · Українська · Français · Deutsch · 繁體中文 · हिन्दी · Türkçe · Italiano · Polski · العربية · Català

Real session on published Codewhale v0.10.4 (48669ad108fa) running local Ollama (qwen3:4b) in Accept Edits mode.
Install
The install script above puts checksum-verified codewhale and its short alias
codew in ~/.local/bin on macOS and Linux. If your shell reports
command not found, add ~/.local/bin to your PATH
(details). Upgrade in place with
codewhale update.
winget install --id HunterBown.CodeWhale --exact --source winget # Windows x64
npm install -g codewhale # wraps the same release binaries
cargo install codewhale-cli --locked # builds from source; can trail GitHub Releases
Prebuilt binaries ship for Linux, macOS, and Windows (x64 and arm64). Scoop,
Nix, Homebrew on Linux, Android/Termux (preview), and manual downloads are in
docs/INSTALL.md; container images are in
docs/DOCKER.md. Use one install method per machine so two
binaries do not shadow each other on PATH.
Quickstart
- Commit or stash your work, then run
codewhalefrom a git repository root. - Run
/provider(or pressF3) to select a provider, paste an API key, and pick a model. DeepSeek is the default; if no key is configured and a local Ollama server responds, Codewhale offers its models on your first message. - Give it a task:
Fix the failing tests and explain what changed.
Read-only commands run immediately, except in Ask, which asks before every
command. Mutating shell commands prompt for approval: y runs once, a allows matching commands for the rest of the
session, and n denies. Run /undo to revert the last turn and its file
edits, or /help for commands and keybindings.
Capabilities
- 50+ built-in providers and local models: Anthropic, OpenAI, DeepSeek
(
deepseek-flash/ V4.1 Flash by default; details), Google, Mistral, Moonshot, OpenRouter, xAI, any OpenAI-compatible endpoint, and local runtimes via Ollama, vLLM, or SGLang. Switch models mid-session with/model, route per-turn with/model auto(/router), and inspect latency and cost with/turn inspect. See Providers. - Receipts and rollback:
/receipts(orcodewhale receipts --lastafter exiting) records changed files, commands, web/MCP calls, sub-agents, approvals, and failures./undoreverts the last turn in one step;/restorerolls the workspace back to an earlier snapshot (requires/trust onor Full Access). See Receipts. - Sub-agents, Fleets, and workflows: Carry multi-turn objectives with
/goal, delegate work to sub-agents, coordinate role- and model-specific Fleets, or run repository-checked workflows. - MCP, skills, hooks, and plugins: Attach MCP servers,
skills, plugins, and lifecycle
hooks. Experimental code mode (
execute_tools) batches multiple MCP/plugin calls under your normal approval rules. Optional macOS Computer Use stays off until explicitly reviewed and enabled. - Drop-in compatibility: Reads
AGENTS.mdautomatically. Opt intoCLAUDE.md,.cursorrules, or.github/copilot-instructions.mdviaproject_instruction_importsin config.example.toml. Import Claude Code settings and MCP servers with/import-claude, or install Claude Code plugins (skills, commands, agent profiles, MCP) and DeepSeek Harness (DSH) plugins with/plugin install(details).
Entry points
| Command | Purpose |
|---|---|
codewhale |
Interactive terminal app |
codewhale exec "…" |
Headless single-task runner for scripts and CI (guide; --auto uses Full Access unless sandboxed) |
codewhale web |
Local web client on 127.0.0.1 (guide) |
codewhale review --pr N |
Advisory GitHub PR review; GitHub bot setup runs it on your own key |
codewhale app-server --http |
Local HTTP Runtime API for threads, events, approvals, and per-turn diffs |
codewhale serve --acp |
Agent Client Protocol over stdio for editors such as Zed |
All entry points share one Rust engine (architecture). A community-maintained VS Code extension (source) connects to the same engine. See the latest release notes and roadmap for current release and desktop/cloud status.
Permissions, sandboxing, and privacy
Shift+Tab cycles permission modes:
Ask → Accept Edits → Plan → Auto-Review → Full Access (Tab only
completes). Accept Edits (default) applies edits inside the git repository
and asks before commands. Ask prompts on every edit and command. Plan
is read-only. Auto-Review uses rules and a reviewer model to approve
routine calls and block high-risk ones. Full Access skips prompts and
disables the OS sandbox (repository rules and managed policy still apply). See
Modes.
In Ask, Accept Edits, and Auto-Review, commands run inside an OS sandbox where
available: Seatbelt on macOS and bubblewrap on Linux (Windows has no OS sandbox
yet). Sandboxed commands and terminal sessions cannot read credential paths
such as ~/.ssh, ~/.aws, or .env files. Run /preview-request to inspect
a redacted outgoing request before sending it.
API keys added with /provider stay on your machine, and local models require
no key. /cost and the footer track session spend when pricing is known (an
unknown price is shown as unknown, never as free).
Aggregate telemetry is enabled by default (version, OS, session length/outcome,
built-in provider IDs, bundled public-catalog model IDs (custom, private, or
local models map to other), aggregate token totals, built-in tool call/error
counts, and feature/error counters; rotating 90-day random install ID; never
code, prompts, conversations, custom/private model names, file/repo/branch
names, credentials, or IP addresses). Disable it with:
codewhale config set telemetry false
At startup Codewhale also checks GitHub for a new release
(CODEWHALE_NO_UPDATE_CHECK=1 to skip) and refreshes the public models.dev
model catalog every 24 hours (CODEWHALE_DISABLE_MODELS_DEV_FETCH=1 or
[catalog] auto_refresh = false to skip; suppressed automatically in CI and
under DO_NOT_TRACK). Details: authorization order,
sandboxing, and telemetry.
Documentation
Guides follow main and may describe changes not yet in the latest release.
Contributing and license
The contributor wall (scripts/contributor-wall.py)
tracks code, co-authored commits, carried-forward PRs, and credited reports.
Bug reports and feature proposals go to
Issues,
questions to Discussions,
and PR guidelines plus layout are in CONTRIBUTING.md
(project structure). Join us on
Discord or add hunterbown on WeChat for the
Whale Brothers group.
Codewhale started as deepseek-tui and remains backward-compatible with its
config and sessions. It is independently maintained and not affiliated with
DeepSeek or any other model provider.
MIT. Third-party notices: vendored sources and adapted designs.
Releases
