Skip to main content
Testkube 2.11.0 is out! Improved insights and metrics, more responsive AI chat, Gateway API support, and much more! Read More

Testkube Agent Skills

Testkube Agent Skills teach your AI coding agent how to create, run, and debug tests on Kubernetes with Testkube. Instead of explaining TestWorkflow syntax or CLI conventions to your agent on every request, you install a set of skills once and the agent picks up the right one when it needs it.

The skills are open source (MIT) and live at github.com/kubeshop/testkube-skills. They follow the Agent Skills open standard, so they work with any compatible AI agent — including Claude Code, GitHub Copilot in VS Code, Codex, and Cursor.

note

Skills and the Testkube MCP Server solve different halves of the same problem. The MCP Server gives your agent access to Testkube — tools to list workflows, run executions, and fetch logs. Skills give it knowledge: how to structure a valid TestWorkflow, which container image matches your dependency versions, and how to read an exit code. They are complementary, and each works without the other.

Skills work against both Testkube Cloud and open source environments. One of them, installing-testkube-oss-agent, exists specifically to create a local open source environment for you.

Available Skills

Setup

These two get your tooling ready. Skip them if you already have a working CLI and an environment.

SkillWhat it doesUse when
installing-testkube-cliInstalls, upgrades, or verifies the Testkube CLI (testkube / tk / kubectl-testkube) on Linux, macOS, and Windows via the install script, Homebrew, APT, Chocolatey, or a manual download.The CLI is missing (testkube: command not found), a specific version is required, or another skill needs to shell out to testkube.
installing-testkube-oss-agentChecks prerequisites, creates a cluster (k3d by default when a fresh local one is needed), and deploys a Testkube open source standalone agent into the testkube namespace.You need a local open source environment to run tests against and none is running yet.

Both skills are conservative by design: they check for an existing installation first and reuse it rather than replacing it, and they confirm each step with you before changing anything. installing-testkube-oss-agent detects an existing agent in the current cluster of any type — minikube, kind, k3d, or remote — and reuses that too.

Core Chain

These three are the working loop: find the tests, turn them into a workflow, run it.

SkillWhat it doesUse when
test-discoveryWalks a cloned repository, detects language and framework from marker files and content signals, and groups findings into suites — each with evidence, a confidence level, a framework version resolved from lock files, and a suggested container image.You have a repository locally and need to know what tests exist, what runs them, and with which command.
testworkflow-authorCreates and validates TestWorkflow YAML: shell steps, container run steps, execute composition, templates, services, artifacts, config parameters, and cron triggers. Reads lock files to pin dependency versions and match container images.You are writing a TestWorkflow, choosing step types, or configuring workflow behavior.
testworkflow-runnerRuns executions and diagnoses them — create, run, monitor, retrieve logs, download artifacts, and analyze root causes against a failure pattern reference of exit codes, symptoms, and fixes.A workflow has been authored and needs to run, or a previous execution failed and needs explaining.

Each skill stays inside its lane, which keeps the agent predictable:

  • test-discovery never executes a test or installs a dependency — it observes and reports. It handles polyglot monorepos and flags anything genuinely ambiguous instead of guessing.
  • testworkflow-author validates every workflow against the CRD schema before it finishes, and ships 22 worked examples covering Playwright, Cypress, k6, Go, JMeter, Postman, Selenium, Gradle, Maven, Artillery, Locust, and Robot Framework.
  • testworkflow-runner never edits YAML. If the diagnosis points at a configuration problem, it reports the finding for testworkflow-author to fix.

test-discovery emits either a JSON manifest — for testworkflow-author, API ingestion, or CI — or a Markdown report for a person to read. JSON is the default; Markdown is produced when you ask for it or when the output path ends in .md.

How They Work Together

Get the tooling ready first: installing-testkube-cli makes sure the testkube command exists, and installing-testkube-oss-agent gives you something to run against — skip it if you already have a Testkube Cloud or open source environment.

Then the core chain runs end to end. Discovery reports what tests exist and hands off a manifest, authoring turns that into a runnable TestWorkflow, and the runner executes it and reports back on what happened. You can also enter the chain at any point — for example, invoke testworkflow-author directly if you already know what you want to build.

Prerequisites

  • Testkube CLI — the installing-testkube-cli skill installs it for you, or install it yourself following the CLI installation guide.
  • Access to a Testkube environment — Cloud or open source. The installing-testkube-oss-agent skill can create a local open source one for you.
  • Authentication for Testkube Cloud — run testkube login (managing CLI context).
  • An AI Tool supporting the Agent Skills standard — see the installation options below.

If you plan to use installing-testkube-oss-agent, you also need a Kubernetes cluster with kubectl access, or Docker so the skill can create a k3d cluster for you. Standalone open source mode is CLI-driven and has no dashboard — see Standalone Agent for what that includes.

Installation

The quickest path — no clone required. In Claude Code, add the marketplace and install the plugin:

/plugin marketplace add kubeshop/testkube-skills
/plugin install testkube-skills@testkube-skills

Installed this way, the skills are namespaced:

/testkube-skills:installing-testkube-cli
/testkube-skills:installing-testkube-oss-agent
/testkube-skills:test-discovery
/testkube-skills:testworkflow-author
/testkube-skills:testworkflow-runner

They also load automatically when Claude Code matches your request to a skill description, so you rarely need to name one explicitly.

Usage

Invoke a skill directly with a slash command and a short instruction:

/installing-testkube-cli Install the Testkube CLI if it isn't already present
/installing-testkube-oss-agent Spin up a local OSS Testkube environment
/test-discovery Analyze the repository at /path/to/repo
/testworkflow-author Create a Playwright workflow for the login page
/testworkflow-runner Run the workflow and diagnose any failures

Or just describe what you want — the agent matches your request against the skill descriptions and loads the relevant one on demand:

Find the tests in this repo and get them running in Testkube
My checkout tests keep failing in Testkube. Figure out why.

From Zero to a Running Test

A green-field walkthrough, one prompt at a time. Each step uses a different skill, and the agent picks them up in order as the work progresses:

I want to run this repository's tests in Testkube. Start by making sure the CLI is installed.
I don't have a Testkube environment yet — set up a local open source one.
Now look through this repository and tell me what tests exist and what framework runs them.
Create a TestWorkflow for the end-to-end suite you found.
Run it and tell me what happened.

If the run fails, testworkflow-runner reports the root cause and hands the finding back so testworkflow-author can adjust the workflow — then run it again.

Using Skills with the MCP Server

Skills and the Testkube MCP Server compose well. With both installed, your agent knows how to work with Testkube and can act on your environment directly — querying executions, reading logs, and running workflows without shelling out to the CLI.

For AI that runs inside Testkube rather than in your editor, see Testkube AI — Dashboard-based assistants, custom AI Agents, and event-driven triggers.

Need Help?

info

Don't hesitate to reach out to us on Slack if you run into any issues!