Code Metrics
v1.0.0Analyze code quality metrics including lines of code by language, cyclomatic complexity (Python), function/class counts, comment ratios, and largest file ran...
⭐ 0· 73·0 current·0 all-time
byJohn Wang@johnnywang2001
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description claim to compute LOC, comment ratios, function/class counts, and Python cyclomatic complexity; the repository includes a Python script that implements those analyses and no unrelated capabilities (no cloud SDKs, no credential usage, no unrelated binaries).
Instruction Scope
SKILL.md instructs running the bundled Python script against a project path (or cwd). The script only reads source files discovered under the provided path, parses Python AST for complexity, and computes text-based metrics. The instructions do not ask the agent to read unrelated system files, environment secrets, or transmit data to external endpoints.
Install Mechanism
No install spec is provided (instruction-only with a bundled script). The script uses only Python stdlib and there are no downloads or archive extraction steps.
Credentials
The skill requests no environment variables, credentials, or config paths. The code does not attempt to access environment secrets or network services; its filesystem access is limited to reading files under the target project directory.
Persistence & Privilege
always is false and the skill does not request persistent/privileged presence or modify other skills or system-wide configuration.
Assessment
This appears to be a straightforward, local code metrics tool. Before running it: 1) run it in the project directory you intend to analyze (avoid running it from / or other sensitive root paths), 2) review any large or unexpected files it reports if you pointed it at a wide path, and 3) confirm you are comfortable executing a Python script from this source (you can inspect scripts/code_metrics.py fully). There are no network calls or credential requests in the included code.Like a lobster shell, security has layers — review code before you run it.
latestvk97e9khht67ca7sz855tsc66hs83g4aj
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
