Skip to main content

Skills for AI agents

AI agents such as Claude Code, Codex, Cursor and Gemini CLI can run tuna, but without guidance they guess flags and mix up the platform's services. The tuna skill tells an agent how to start a tunnel, run a command with secrets, read a monitor, and which of these actions need your confirmation.

The skill has been bundled with the CLI since version 0.43.0, and its version matches the tuna version. There is nothing to download separately.

Installation​

tuna skills install

The skill is installed for the current user into ~/.agents/skills and, if the ~/.claude directory exists, into ~/.claude/skills as well. Most agents read skills from there.

To make the skill available in one project only, install it into the git repository:

tuna skills install --project

The skill goes to .agents/skills and .claude/skills at the repository root. Commit it, and the whole team gets it. After installation, tuna suggests a line to add to AGENTS.md or CLAUDE.md so that the agent reaches for the skill more often.

If your agent reads skills from another directory, pass it with the --dir flag:

tuna skills install --dir ~/.kiro/skills

Updating​

After a CLI upgrade, any tuna command warns you that the installed skill is outdated:

Warning: tuna agent skills in /home/user/.agents/skills are outdated, run: tuna skills update
tuna skills update

update refreshes the skills both in the home directory and in the current git repository. It leaves alone a skill you edited by hand or one installed by a newer tuna, and tells you so. To replace such a skill with the version from the CLI, add --force. The --dry-run flag shows what would change without writing anything.

List and state​

tuna skills list

The command shows the bundled skills and where they are installed. The STATE column:

StateMeaning
currentmatches the version bundled with the CLI
outdatedinstalled by an older tuna, run update
newerinstalled by a newer tuna
modifiedthe skill files were edited by hand
unmanageda directory with this name was not created by tuna
not installedthe skill is not installed

The --json flag prints the same as JSON.

Reading without installing​

get prints a skill file from the binary, SKILL.md by default. This way an agent can read the skill even if it is not installed:

tuna skills get tuna
tuna skills get tuna references/secrets.md

Uninstalling​

tuna skills uninstall
tuna skills uninstall --project

The command removes only the skills that tuna installed.