Agent Skills
Drop-in skills that teach Claude Code and other agent platforms how to drive the Tektona CLI, the in-sandbox tektonactl tool, and the TypeScript SDK.
Agent Skills are small Markdown files that
teach an AI agent how to use a tool. They sit on disk next to the agent
(e.g. ~/.claude/skills/), describe when to use a tool and how, and are
loaded on demand when their trigger conditions match the task at hand.
Tektona ships three skills:
tektona-cliinstalls, authenticates, manages sandboxes, SSH and VNC into them, mints preview URLs, and configures egress network policy from the shell.tektonactldrives the in-sandbox control tool: capture screenshots, click, type, manage the clipboard, and run named long-running PTY sessions inside a sandbox.tektona-typescript-sdkcovers the same platform from TypeScript with@tektona/sdk: create sandboxes, run and stream processes, page through lists, and handle typed errors.
They cross-reference each other, so an agent only loads the surface
relevant to the task: sandbox lifecycle from outside, desktop or PTY
automation from inside, @tektona/sdk when the work belongs in code.
Prerequisites
The two CLI skills need the tektona CLI on your PATH.
See the CLI overview for install options. In short:
npm install -g @tektona/clipnpm add -g @tektona/clibun add -g @tektona/cliThen authenticate:
tektona api-key set tektona_xxx
tektona ctx set <org> <project>The tektona-typescript-sdk skill needs no CLI. Add the package to your
project instead, and export TEKTONA_API_KEY:
pnpm add @tektona/sdk
export TEKTONA_API_KEY=tektona_xxxThe SDK reads TEKTONA_API_KEY, TEKTONA_API_URL, TEKTONA_ORG and
TEKTONA_PROJECT from the environment. It does not read the credentials
tektona api-key set and tektona ctx set store.
Install the skills
Skills are distributed via GitHub. Use the
Vercel skills CLI, with no install
needed, run it through npx:
# All three skills
npx skills add tektona-ai/agent-skills
# Just one
npx skills add tektona-ai/agent-skills --skill tektona-cli
npx skills add tektona-ai/agent-skills --skill tektonactl
npx skills add tektona-ai/agent-skills --skill tektona-typescript-sdkThe CLI clones the tektona-ai/agent-skills
repository (shallow), discovers each skill's SKILL.md, and symlinks
them into your active agent's skill directory. For Claude Code that
means:
~/.claude/skills/tektona-cli/SKILL.md
~/.claude/skills/tektonactl/SKILL.md
~/.claude/skills/tektona-typescript-sdk/SKILL.mdOther Agent Skills-compatible runtimes (Codex, GitHub Copilot CLI, Gemini CLI, …) are detected automatically. The skills themselves are runtime-agnostic, plain Markdown plus YAML frontmatter.
Skills evolve alongside the CLI. The published skills always match the
currently supported CLI surface. Run npx skills update (see below) to
pull in the latest after a CLI upgrade.
What the agent gains
Once the skills are installed, your agent will:
- Recognise that "spin up a sandbox and run my test suite" maps to
tektona sandbox create tektona/desktop --egress-network-policy tektona/open …and follow up withtektona sshto execute commands. - Know that new sandboxes use
tektona/devunless overridden by project or org settings, and propose--egress-network-policy tektona/openor another allowed policy when broader egress is needed. - Understand the difference between a token-bearing preview URL and a
durable canonical URL on a
--publicsandbox, and pick the right flag for the situation. - Inside a sandbox, drive the desktop with
tektonactl desktop click/type/screenshotand manage long-running servers withtektonactl process run/logs/stop. - In TypeScript, reach for
tek.sandbox.create(...)andsandbox.process.start(...)instead of shelling out, and know that a request body uses the API'ssnake_casefield names while SDK options staycamelCase. - Recommend the
tektona/desktoptemplate for VNC and computer-use workflows, and pin a version, because thedefaulttag moves.
Update
Re-run the install command, or use the skills CLI's update flow:
npx skills updateThis compares the installed skills against the latest published version and pulls in changes automatically.
Uninstall
Skills are symlinks. Remove them with the skills CLI:
npx skills remove tektona-cli
npx skills remove tektonactl
npx skills remove tektona-typescript-sdkOr delete the symlinks directly from your agent's skill directory.
Triggering rules
Each skill declares when an agent should load it. Paraphrased from their YAML frontmatter:
| Skill | Loads when |
|---|---|
tektona-cli | The user mentions Tektona, asks to create or manage a remote sandbox / dev environment, or runs tektona commands. |
tektonactl | Working inside a Tektona sandbox or driving one over tektona ssh <id> -- tektonactl … to capture screenshots, click, type, read the clipboard, or run and manage long-running processes. |
tektona-typescript-sdk | Writing TypeScript or JavaScript against @tektona/sdk — creating sandboxes from code, running and streaming processes, pagination, or typed errors. |
Agents that respect the Agent Skills spec will only load a skill when its description matches the active task, so installing all three is cheap.
What's next
CLI Reference
The full command surface the tektona-cli skill teaches your agent.
Sandboxes
Create, fork, pause, and inspect sandboxes from the shell.
TypeScript SDK
The @tektona/sdk surface the tektona-typescript-sdk skill teaches your agent.
HTTP API
Drive the same control plane directly from your own code.