← Back to Skills Marketplace
easonc13

Sui Coverage

by Eason Chen · GitHub ↗ · v1.1.1
cross-platform ✓ Security Clean
1410
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install sui-coverage
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 is internally consistent with a Sui Move coverage helper: it expects you to run 'sui move test --coverage' and then runs local Python parsers to analyze colored coverage output or LCOV files. Before installing or invoking the skill, consider: - Trust the repository: the scripts will execute the 'sui' CLI and will read your package sources and coverage outputs. Running tests will execute code in the target Move package, so only run against trusted code or in a sandbox. - Review the bundled scripts (they are small, local Python files) if you want certainty; they do not perform network calls, require secrets, or auto-write tests. - The description mentions 'security audits' but the supplied code only generates coverage-based suggestions and does light pattern inspection; it does not replace a dedicated security audit tool. - Because the skill invokes the Sui CLI (os.execvp/PTY usage), ensure your environment has the intended version of 'sui' and that you understand the effects of running package tests. If you need automated test generation or deep security analysis, ask for clarification from the author or use dedicated tooling. Otherwise this skill appears coherent and low risk for use in a development sandbox.
Capability Analysis
Type: OpenClaw Skill Name: sui-coverage Version: 1.1.1 The skill is designed to analyze Sui Move test coverage and assist in writing tests, including a security-focused approach. All files, including the `SKILL.md` instructions and Python scripts, align with this stated purpose. The `analyze_source.py` script uses `pty.openpty` and `os.execvp` to run the `sui` CLI, which is a powerful capability, but its usage is strictly limited to executing the `sui move coverage source` command, a core function of the skill. There is no evidence of malicious command construction, data exfiltration, persistence mechanisms, or prompt injection attempts against the agent to perform actions outside the skill's scope or against user intent. The security analysis instructions in `SKILL.md` guide the agent's analytical process, not malicious actions.
Capability Assessment
Purpose & Capability
Name and description claim coverage analysis, test-writing guidance, and 'security audits'. The included Python tools clearly perform LCOV/source/bytecode parsing and generate suggestions for missing tests — they do not automatically write tests or perform deep automated security audits. This is a minor overstatement in the description but not an incoherence.
Instruction Scope
SKILL.md instructs running 'sui move test --coverage --trace' and then the provided Python scripts to analyze coverage output. The scripts read coverage output (stdin or lcov files) and optionally read local source files for context; they do not attempt to fetch external data, read arbitrary system config, or access environment variables beyond standard process usage. Running the 'sui' CLI and tests executes code in the target package (expected for coverage analysis) — users should only run against trusted code.
Install Mechanism
Instruction-only skill with bundled scripts; no install spec, no downloads, and no archive extraction. Risk is low because nothing is automatically fetched or written to disk by an installer.
Credentials
Requires python3 and the 'sui' binary (declared). No environment variables, credentials, or config paths are requested. The scripts may read local source files and coverage outputs (expected for their purpose).
Persistence & Privilege
The skill is not marked always:true and does not request permanent platform-level privileges. It does spawn subprocesses (execvp) to run the 'sui' CLI to capture colored output — this is necessary for its functionality but means it will execute the Sui tool in the agent's environment when invoked.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sui-coverage
  3. After installation, invoke the skill by name or use /sui-coverage
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.1
Add GitHub link and Related Skills section
v1.1.0
Add related skills section (sui-decompile, sui-move)
v1.0.2
Simplify install: brew for Mac, link to docs for others
v1.0.1
Add Sui CLI installation guide with suiup
v1.0.0
Initial release: Coverage analysis, auto-test generation, and security auditing for Sui Move contracts
Metadata
Slug sui-coverage
Version 1.1.1
License
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is Sui Coverage?

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 1410 downloads so far.

How do I install Sui Coverage?

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

Is Sui Coverage free?

Yes, Sui Coverage is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Sui Coverage support?

Sui Coverage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Sui Coverage?

It is built and maintained by Eason Chen (@easonc13); the current version is v1.1.1.

💬 Comments