← Back to Skills Marketplace
dinghaibin

Test Tool

by BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
37
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install test-tool
Description
Evaluate conditional expressions for file testing, string comparison, and arithmetic checks. Use for shell script conditionals.
README (SKILL.md)

Test - Condition Evaluator

Evaluate expressions and return exit status 0 (true) or 1 (false). Used for file attribute testing, string comparison, and numeric checks in scripts.

Usage

test-tool \x3Cexpression>

Common Tests

  • -f file: True if file exists
  • -d dir: True if directory exists
  • -z str: True if string is empty
  • n1 -eq n2: True if numbers equal
  • s1 = s2: True if strings equal

Examples

test-tool -f /etc/passwd
test-tool -d /home/user
test-tool 5 -gt 3
Usage Guidance
This looks safe for basic local file checks such as -e, -f, and -d. Do not rely on the documented string or arithmetic examples until the implementation is fixed or verified, especially in critical automation.
Capability Analysis
Type: OpenClaw Skill Name: test-tool Version: 1.0.0 The skill provides a basic utility for checking file and directory existence using standard Python os.path functions in scripts/test.py. While the documentation in SKILL.md claims support for arithmetic and string comparisons that are not actually implemented in the code, there are no indicators of malicious intent, data exfiltration, or dangerous execution patterns.
Capability Assessment
Purpose & Capability
The stated purpose is benign and proportional, but SKILL.md claims file, string, and arithmetic condition support while the included script only implements -e, -f, and -d file checks.
Instruction Scope
The instructions are simple usage documentation and do not try to override user intent, force hidden tool use, or change agent behavior.
Install Mechanism
There is no install spec, no dependency installation, no remote download, and the included Python code uses only the standard library.
Credentials
The tool requires no credentials, environment variables, network access, or configuration paths; local file existence/type checks fit the stated purpose.
Persistence & Privilege
No persistence, background execution, privilege escalation, writes, or account mutation are shown in the artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install test-tool
  3. After installation, invoke the skill by name or use /test-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug test-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Test Tool?

Evaluate conditional expressions for file testing, string comparison, and arithmetic checks. Use for shell script conditionals. It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.

How do I install Test Tool?

Run "/install test-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Test Tool free?

Yes, Test Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Test Tool support?

Test Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Test Tool?

It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.

💬 Comments