agentsclimarketplace

Clean ast

Skill AntonioTimo/skillchecker/examples/clean-ast

paranoid auditor for Claude Code skills

Install
npx -y skills add AntonioTimo/skillchecker --skill clean-ast

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

A small, safe data helper — runs a fixed command, parses JSON, reads YAML safely. Demonstrates Python that the AST pass should NOT flag.

SKILL.md

1.2 KB, 212 tokens by cl100k_base, as published. Nobody here has run it

Data Tools

A safe helper. Every potentially risky call is written the safe way, so neither the regex pass nor the AST pass flags it.

Step 0 — Validate

P="$1"
test -e "$P" || { echo "NOT_FOUND: $P"; exit 1; }

Step 1 — Run

python3 ~/.claude/skills/data-tools/scripts/safe.py "$P"

Why this passes audit (negative test for the AST pass)

scripts/safe.py uses the safe form of every pattern the AST pass watches:

  • subprocess.run(["ls", "-l"], timeout=10) — argument list, no shell=True
  • json.loads(text) — not pickle / marshal
  • yaml.safe_load(text) — not yaml.load
  • getattr(obj, "name", None) — a literal attribute, not dynamic dispatch

Expected verdict: 🟢 GREEN, exit 0.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.