← Back to Skills Marketplace
Sui Auto Test
by
Eason Chen
· GitHub ↗
· v1.0.0
1229
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install sui-auto-test
Description
Analyze Sui Move test coverage, identify untested code, write missing tests, and perform security audits. Includes Python tools for parsing coverage output and generating reports.
Usage Guidance
This skill appears to be a helpful analyzer for Sui Move coverage, but several things don't add up:
- The package metadata lists no required binaries, but the runtime clearly expects and execs the 'sui' CLI. Make sure you have a trusted 'sui' binary on PATH before running — a malicious or symlinked executable named 'sui' could be executed by the script.
- The README/description implies automatic test creation, but the included Python tools only parse colored coverage output and generate suggestions/reports. There is no code that auto-generates or inserts Move test files. Expect to write tests yourself (or have the agent author them as content, then you must apply/commit them manually after review).
- One of the included files (analyze.py) appears truncated in the packaged content (a line 'source_lines = read' and truncated sections). That indicates either a packaging bug or incomplete file — the tool may fail at runtime. Review the scripts locally before using.
- The scripts use os.fork/os.execvp/pty to run the 'sui' CLI and will read source files in the package path. Run the skill in a sandboxed or non-sensitive repository first, and inspect the scripts' code yourself. If you intend to let an agent run this autonomously, restrict its repository access and ensure the 'sui' binary is the expected official binary.
Recommended actions before installing/using:
- Verify the source of this skill (owner is present but homepage/source unknown).
- Inspect the full content of included Python scripts locally; fix or obtain the complete analyze.py if needed.
- Ensure 'sui' on your PATH is the legitimate CLI and run the workflow manually once to confirm behavior.
- If you allow the agent to commit changes, review diffs before pushing to any remote.
If you want, I can list the exact lines that show exec/fork/pty usage and the truncated section to help with your review.
Capability Analysis
Type: OpenClaw Skill
Name: sui-auto-test
Version: 1.0.0
The skill bundle provides tools and instructions for analyzing Sui Move test coverage and performing security audits. The Python scripts (`analyze.py`, `analyze_source.py`, `parse_bytecode.py`, `parse_source.py`) are designed to process local Sui CLI output or execute local `sui` commands. The `SKILL.md` instructions guide the agent through a legitimate workflow, including running local `sui` commands and the provided Python scripts. There is no evidence of data exfiltration, malicious execution, persistence, obfuscation, or prompt injection attempts against the agent to perform actions outside the stated purpose. All observed behaviors are aligned with the skill's stated goal.
Capability Assessment
Purpose & Capability
The skill's stated purpose is coverage analysis and auto-improving tests. The included Python scripts (parse/analyze) align with analyzing coverage and producing suggestions, but the SKILL.md language ('write missing tests' / 'auto-improve') overstates automation: the code parses coverage and generates suggestions/reports but does not actually generate or apply test files. Also the runtime expects the 'sui' CLI to be present and executed, but the registry metadata declared no required binaries — that mismatch is unexplained.
Instruction Scope
Instructions direct the agent (or user) to run `sui move test --coverage --trace` and to run the bundled Python scripts on coverage output and the repository source. That scope is appropriate for a coverage tool, but the SKILL.md also instructs committing changes (git add/commit). The scripts read repository source files and may execute an external binary ('sui') via fork/exec; they do not access unrelated system paths or external endpoints. Be aware the agent will read and may modify local repo files if you follow the commit step.
Install Mechanism
No install spec is provided (instruction-only with bundled scripts), so nothing is downloaded at install time. This minimizes supply-chain risk. However, running the skill executes the user's local 'sui' binary (via PTY/fork/exec), which is an external dependency not declared in metadata.
Credentials
The skill requests no environment variables or credentials. The scripts operate on local files and stdin/stdout. That is proportionate to the stated purpose. Note: running git commit may require the user's git identity/credentials but the skill does not request or handle secrets itself.
Persistence & Privilege
always is false and the skill does not request persistent or elevated platform privileges. It does suggest committing changes to the repository, but it does not modify other skills or system-wide configs.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sui-auto-test - After installation, invoke the skill by name or use
/sui-auto-test - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Auto-analyze coverage, generate missing tests, and security audit for Sui Move contracts
Metadata
Frequently Asked Questions
What is Sui Auto Test?
Analyze Sui Move test coverage, identify untested code, write missing tests, and perform security audits. Includes Python tools for parsing coverage output and generating reports. It is an AI Agent Skill for Claude Code / OpenClaw, with 1229 downloads so far.
How do I install Sui Auto Test?
Run "/install sui-auto-test" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Sui Auto Test free?
Yes, Sui Auto Test is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Sui Auto Test support?
Sui Auto Test is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Sui Auto Test?
It is built and maintained by Eason Chen (@easonc13); the current version is v1.0.0.
More Skills