Install
openclaw skills install @northcap-group/clawcode-lensExplain code in any language with structured syntax/logic breakdown, local security scan, and improvement suggestions. 100% lokal — private og hurtig, ingen netværkskald, ingen API-nøgle.
openclaw skills install @northcap-group/clawcode-lensCode explanation and analysis tool — inspired by Dify Code Interpreter, improved:
code directly with structured rules — works offline, free and instantly:
python3 scripts/explain.py code.py --lang python
python3 scripts/explain.py main.js --lang javascript --detail
Finds vulnerabilities: hardcoded keys, SQL injection, eval() misuse, unsafe
exec calls, weak passwords, unsafe imports:
python3 scripts/security_scan.py code.py --out report.md
Gives concrete, prioritized suggestions: complexity, repeated code, missing error handling, performance bottlenecks and best practices — with code examples:
python3 scripts/improve.py code.py --out suggestions.md
python3 scripts/explain.py file.py --lang python
# Output: overview → key functions → logic flow → edge cases
Python, JavaScript/TypeScript, C/C++, Java, C#, Go, Rust, SQL, Bash, PHP, Ruby — auto-detected from file type.
python3 scripts/explain.py app.py --security --improve --out full-report.md
# 2) Deep scan (PAID call — uploads your code + costs per call)
python3 scripts/code_scan.py app.py
🔒 Security scan: app.py
[HIGH] Line 45: SQL string built with f-string — injection risk
[INFO] Line 78: eval() — avoid unless strictly necessary
clawhub star clawcode-lens