
Test skill
Run an approved Python hello script and produce a small report file
Test skill is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 183
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Test skill
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (721 bytes) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/test-skill to use it in all your projects:
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.
Copy the skill folder to ~/.agents/skills/test-skill to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/test-skill to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/cocoyes/zhizhi-agent-runtime.git --path examples/15-docker-skills/skills/test-skillOr copy the folder to ~/.gemini/skills/test-skill yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/test-skill:
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.
Get the folder:
git clone --depth 1 https://github.com/cocoyes/zhizhi-agent-runtime.gitThen 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.
What it does
- 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
Test 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.
More from cocoyes/zhizhi-agent-runtime

Entry point that routes requests into the Comet Native or Classic workflow per project
- Open source
- 183 GitHub stars
- Developer tools

Guides building or upgrading Comet Classic workflow skills through a confirmed proposal
- Open source
- 183 GitHub stars
- Developer tools

Runs a Chinese-language native change workflow where the runtime drives each stage
- Open source
- 183 GitHub stars
- Developer tools

Runs a read-only manual review of the current Comet change's diff for correctness
- Open source
- 183 GitHub stars
- Developer tools

Has the agent call the application's greeting tool to compose a greeting for a named
- Open source
- 183 GitHub stars
- Agent setup





