🍣 TunaCode AI CLI coding agent with safe git branches, rich tools & multi-LLM support.
# Add to your Claude Code skills
git clone https://github.com/alchemiststudiosDOTai/tunacodeLast scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T16:25:09.663Z",
"npmAuditRan": true,
"pipAuditRan": true
}tunacode is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by alchemiststudiosDOTai. 🍣 TunaCode AI CLI coding agent with safe git branches, rich tools & multi-LLM support. It has 123 GitHub stars.
Yes. tunacode passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/alchemiststudiosDOTai/tunacode" and add it to your Claude Code skills directory (see the Installation section above).
tunacode is primarily written in Python. It is open-source under alchemiststudiosDOTai on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh tunacode against similar tools.
No comments yet. Be the first to share your thoughts!
A terminal-based AI coding agent with a NeXTSTEP-inspired interface.
Early stage software — not production ready. Under active development, expect bugs and breaking changes.
discover for natural-language code search and repository exploration/resumectrl+y or ctrl+shift+cuv tool install tunacode-cli
Or with pip:
pip install tunacode-cli
git clone https://github.com/alchemiststudiosDOTai/tunacode.git
cd tunacode
make install
Or without make:
git clone https://github.com/alchemiststudiosDOTai/tunacode.git
cd tunacode
./scripts/dev-setup.sh
Common development tasks:
make install # Cleanly bootstrap the verified dev environment
make dev-setup # Alias for make install
make run # Run the development server
make test # Run test suite
make lint # Run linters
make clean # Clean build artifacts
make install also installs repo-managed pre-commit and pre-push hooks from .githooks/ using relative symlinks, so moving the checkout does not strand the hooks on an old absolute virtualenv path.
View technical debt:
uv run python scripts/todo_scanner.py --format text
# Configure API key
tunacode --setup
# Start coding
tunacode
Set your API key as an environment variable:
export ANTHROPIC_API_KEY="your-key"
# or
export OPENAI_API_KEY="your-key"
Config file: ~/.config/tunacode.json
TunaCode deep-merges partial config files onto built-in defaults and validates the merged result at startup. If the file is malformed, the app reports a configuration error instead of silently guessing.
For local models and advanced settings, see the Configuration Guide.
Slash commands are command objects in tunacode.ui.commands; each one is a Command subclass and is registered in COMMANDS. handle_command() also routes shell commands (!<cmd>), legacy exit, and slash /exit.
| Command | Description |
|---|---|
/cancel |
Cancel the current request or shell command. |
/help |
Show available commands |
/clear |
Clear transient agent state while preserving message history. |
/compact |
Force context compaction |
/debug |
Toggle debug logging to screen (includes parallel tool-call lifecycle lines) |
/model |
Open model picker or switch model |
/resume |
List, load, or delete persisted sessions. |
/skills |
Browse, search, or load session skills. |
/theme |
Open theme picker or switch theme |
/thoughts |
Toggle the streaming thought panel. |
/update |
Check for or install updates. |
!<cmd> |
Run shell command |
/exit |
Exit TunaCode |
exit |
Legacy alias for exit |
The agent has access to:
| Tool | Description |
|---|---|
bash |
Execute shell commands |
discover |
Search and explore the repository with a natural-language query |
read_file |
Read file contents with content-hash tagged lines |
hashline_edit |
Edit existing files using hash-validated line references from read_file |
web_fetch |
Fetch web page content |
write_file |
Create new files |
Important tool rules:
bash accepts optional cwd, env, timeout, and capture_output arguments in addition to the required command.discover is the semantic repository mapper; use it to find code related to a concept or feature instead of manually chaining search tools.read_file supports paging with offset and limit, wraps results in <file>...</file>, and each read replaces the editable cache window for that file.hashline_edit only supports replace, replace_range, and insert_after using <line>:<hash> refs from the current read_file output.write_file is create-only: it creates missing parent directories but refuses to overwrite an existing file.web_fetch only fetches public http or https URLs and blocks localhost, private, and reserved addresses.TunaCode has full shell access with no permission prompts. If you're concerned:
MIT