Claude Code
Review, validate, and generate code with AI-powered linting. Use when fixing bugs, generating boilerplate, formatting, or running analysis.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ckchzh/ai-code-helperAI Code Helper
A developer tools toolkit for checking, validating, generating, formatting, linting, explaining, converting, and fixing code from the command line. AI Code Helper provides persistent, file-based logging for each operation with timestamped entries, summary statistics, multi-format export, and full-text search across all records.
Commands
| Command | Description |
|---|---|
check | Check code — log check results or view recent entries |
validate | Validate code or configurations — log validation results or view history |
generate | Generate code snippets or boilerplate — log generation requests or view recent ones |
format | Format code — log formatting operations or view recent entries |
lint | Lint code — log linting results or view recent lint entries |
explain | Explain code — log explanation requests or view recent explanations |
convert | Convert between formats or languages — log conversion operations or view history |
template | Template management — log template operations or view recent templates |
diff | Diff comparison — log diff results or view recent diffs |
preview | Preview changes — log preview operations or view recent previews |
fix | Fix code issues — log fix operations or view recent fixes |
report | Report generation — log report entries or view recent reports |
stats | Show summary statistics across all log categories (entry counts, data size, first entry date) |
export <fmt> | Export all data in json, csv, or txt format to the data directory |
search <term> | Full-text search across all log files (case-insensitive) |
recent | Show the 20 most recent entries from the activity history log |
status | Health check — show version, data directory, total entries, disk usage, and last activity |
help | Show the full help message with all available commands |
version | Print the current version string |
Each data command (check, validate, generate, etc.) works in two modes:
- Without arguments: displays the 20 most recent entries from that category
- With arguments: saves the input as a new timestamped entry and reports the total count
Data Storage
All data is stored in plain text files under the data directory:
- Category logs:
$DATA_DIR/<command>.log— one file per command (e.g.,check.log,lint.log,generate.log), each entry istimestamp|value - History log:
$DATA_DIR/history.log— audit trail of every command executed with timestamps - Export files:
$DATA_DIR/export.<fmt>— generated by theexportcommand in json, csv, or txt format
Default data directory: ~/.local/share/ai-code-helper/
Requirements
- Bash (with
set -euo pipefailsupport) - Standard Unix utilities:
grep,cat,date,echo,wc,du,head,tail,basename - No external dependencies or API keys required
When to Use
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ckchzh-ai-code-helper": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
header
Header design reference — navigation patterns, sticky headers, responsive menus, accessibility. Use when designing website headers or implementing navigation components.
docker-helper
Dockerfile生成、docker-compose编排、命令速查、调试排错、镜像优化、仓库配置. Use when you need docker helper capabilities. Triggers on: docker helper.
rsyslog
RSyslog advanced system logging reference. RainerScript configuration, input/output modules (imtcp/imfile/omfwd/omelasticsearch), templates with property replacer, content-based filtering, TLS-encrypted remote logging, queue performance tuning, and debug troubleshooting.
Fitness Plan — Science-Based Training & Workout Auditor
Track workouts, calculate BMI/1RM, and access exercise science guides. 支持科学健身计划制定、BMI/最大力量计算及运动解剖学参考。Use when planning gym sessions, calculating macro needs, or auditing training splits.
pesticide
Pesticide management reference — chemical classes, application methods, IPM strategies, residue limits, safety protocols. Use when selecting pest control products, calculating spray rates, or managing pesticide compliance.