# Test skill

> Test skill is an open-source agent skill for developer tools. Run an approved Python hello script and produce a small report file. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/cocoyes/zhizhi-agent-runtime/tree/master/examples/15-docker-skills/skills/test-skill
- **Repository:** https://github.com/cocoyes/zhizhi-agent-runtime
- **GitHub stars:** 183
- **License:** MIT
- **Skill name:** test-skill
- **Collection:** https://github.com/cocoyes/zhizhi-agent-runtime
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [agent setup](https://ai-powered.com/categories/agent-setup)
- **Listing updated:** 2026-12-05

## About

This skill is a minimal example from the zhizhi-agent-runtime Docker skills demo. It directs the agent to run one pre-approved Python entrypoint, scripts/hello.py, through the run_skill_script tool using the skill id test-skill and no arguments.

The script writes a report to /output/report.txt and prints a JSON result. The agent is told to relay the real stdout and the returned file reference, and never to claim the script ran unless a tool result confirms it.

The skill sets firm limits: no installing dependencies and no running shell commands. It depends on a runtime that provides the run_skill_script tool, so it is best seen as a demonstration of audited, sandboxed script execution.

## When your agent uses it

> Execute the audited Python hello script and create a small report file.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/cocoyes/zhizhi-agent-runtime/tree/HEAD/examples/15-docker-skills/skills/test-skill)
- [No network calls found in its scripts](https://github.com/cocoyes/zhizhi-agent-runtime/tree/HEAD/examples/15-docker-skills/skills/test-skill)
- [License: MIT](https://github.com/cocoyes/zhizhi-agent-runtime/tree/HEAD/examples/15-docker-skills/skills/test-skill)

## Features

- **Approved script execution:** Calls run_skill_script on the single audited scripts/hello.py entrypoint with no arguments.
- **Report file output:** The script writes /output/report.txt and prints a JSON result.
- **Honest result reporting:** The agent must quote actual stdout and the returned file reference, not assume success.
- **Restricted actions:** Forbids dependency installation and shell command execution during the workflow.

## Good for

- Verify that a sandboxed skill runtime can execute an approved script
- Generate a sample report file for a Docker skills demo
- Test that the agent reports real tool output instead of fabricating it
- Use as a template for audited single-script skills

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/test-skill` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/test-skill &&
cp -R "$tmp/examples/15-docker-skills/skills/test-skill" ~/.claude/skills/test-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/test-skill` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/test-skill` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/test-skill &&
cp -R "$tmp/examples/15-docker-skills/skills/test-skill" ~/.agents/skills/test-skill &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/test-skill` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/test-skill` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/test-skill &&
cp -R "$tmp/examples/15-docker-skills/skills/test-skill" ~/.cursor/skills/test-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/test-skill` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/cocoyes/zhizhi-agent-runtime.git --path examples/15-docker-skills/skills/test-skill
```

Or copy the folder to `~/.gemini/skills/test-skill` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/test-skill`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/test-skill &&
cp -R "$tmp/examples/15-docker-skills/skills/test-skill" ~/.copilot/skills/test-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/test-skill` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.git
```

Then copy `zhizhi-agent-runtime/examples/15-docker-skills/skills/test-skill` into your agent's skills folder as `test-skill`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Test skill run?

It runs scripts/hello.py via the run_skill_script tool with skill_id test-skill and no arguments.

### What files does Test skill create?

The script writes /output/report.txt and prints a JSON result.

### Can Test skill install packages or run shell commands?

No. The instructions explicitly forbid installing dependencies and executing shell commands.

### What does Test skill need to work?

A runtime exposing the run_skill_script tool, such as the zhizhi-agent-runtime example setup.

### How do I install Test skill in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/test-skill to use it in all your projects, or to .claude/skills/test-skill in one project.

### Does Test skill run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Test skill?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Test skill?

The closest alternatives to Test skill are Run test, Skill creator, Script generator, Agent runtime gateway smoke test and Unittest skill.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Run test](https://ai-powered.com/skills/run-test): Run test is an open-source agent skill for developer tools.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Script generator](https://ai-powered.com/skills/script-generator): Script generator is an open-source agent skill for developer tools.
- [Agent runtime gateway smoke test](https://ai-powered.com/skills/agent-runtime-gateway-smoke-test): Agent runtime gateway smoke test is an open-source agent skill for developer tools.
- [Unittest skill](https://ai-powered.com/skills/unittest-skill): Unittest skill is an open-source agent skill for developer tools.
- [Full test audit](https://ai-powered.com/skills/full-test-audit): Full test audit is an open-source agent skill for developer tools.
- [Good skill](https://ai-powered.com/skills/good-skill-hekivo): Good skill is an open-source agent skill for developer tools.
- [Valid skill](https://ai-powered.com/skills/valid-skill): Valid skill is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/test-skill-cocoyes
