{"_id":"@aaaaorg/cronlint","name":"@aaaaorg/cronlint","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@aaaaorg/cronlint","version":"0.1.0","description":"Cron job cost & intelligence auditor for OpenClaw","type":"module","main":"index.js","bin":{"cronlint":"index.js"},"keywords":["cron","openclaw","cost","audit","lint","optimization"],"author":{"name":"kostadin","email":"kostadin@aaaaorg"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/aaaaorg/cronlint.git"},"engines":{"node":">=18"},"gitHead":"aad67e724a7b2e3fc24071135bf75d44ab10fc8a","_id":"@aaaaorg/cronlint@0.1.0","bugs":{"url":"https://github.com/aaaaorg/cronlint/issues"},"homepage":"https://github.com/aaaaorg/cronlint#readme","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-NJxHoW6K1twsonlPRcMo4h5CzxjhshTU4TyKd/+aRmNIGwr1XE2Vsa8+REDCyuxFmbedv/ItnNmvazGSA2T9DQ==","shasum":"3e192624ef5aad52a3007d8f70d3e89525e829e2","tarball":"https://registry.npmjs.org/@aaaaorg/cronlint/-/cronlint-0.1.0.tgz","fileCount":4,"unpackedSize":14695,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCpd2N+92JhPViRI9/MRt8Z5tpXP3qlGwqyBM4ALscpOAIgLIwvVgEo6WBEyxM7QHhlOIVvkIwIwWVx/2EVXvEdWy0="}]},"_npmUser":{"name":"koc","email":"kosekdraw@gmail.com"},"directories":{},"maintainers":[{"name":"koc","email":"kosekdraw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cronlint_0.1.0_1771575879424_0.38631210643119274"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-20T08:24:39.322Z","0.1.0":"2026-02-20T08:24:39.579Z","modified":"2026-02-20T08:24:39.826Z"},"maintainers":[{"name":"koc","email":"kosekdraw@gmail.com"}],"description":"Cron job cost & intelligence auditor for OpenClaw","homepage":"https://github.com/aaaaorg/cronlint#readme","keywords":["cron","openclaw","cost","audit","lint","optimization"],"repository":{"type":"git","url":"git+https://github.com/aaaaorg/cronlint.git"},"author":{"name":"kostadin","email":"kostadin@aaaaorg"},"bugs":{"url":"https://github.com/aaaaorg/cronlint/issues"},"license":"MIT","readme":"# @aaaaorg/cronlint\n\nCron job cost & intelligence auditor for [OpenClaw](https://github.com/openclaw/openclaw).\n\nAnalyzes your cron jobs and tells you which ones are wasting money on AI models when a bash script would do.\n\n## Install\n\n```bash\nnpm install -g @aaaaorg/cronlint\n```\n\n## Usage\n\n```bash\ncronlint                          # Audit all jobs (last 24h)\ncronlint --hours 48               # Wider analysis window\ncronlint --format json            # Machine-readable output\ncronlint --min-savings 1.00       # Only show big savings\n```\n\n## What it finds\n\n| Classification | Meaning | Action |\n|---|---|---|\n| 🔧 bash-replaceable | Job runs a shell script — AI not needed | Replace with bash/cron |\n| ⚡ frequency-excessive | Runs too often for what it does | Reduce frequency |\n| 📉 model-downgrade | Uses Opus/Sonnet but Haiku would suffice | Switch to cheaper model |\n| ✅ right-sized | Job needs the model it's using | No action needed |\n\n## Example output\n\n```\n🔍 cronlint — Cron Job Audit\n\n⚠️  Action Required (3 jobs)\n\n🔧 watchdog-health (*/15 * * * *)\n   bash-replaceable · model: claude-sonnet-4-5 · 96 runs/day · $2.88/day\n   💡 Replace with bash script\n   💰 Save: $86.40/month\n\n⚡ rate-check (0 * * * *)\n   frequency-excessive · model: claude-sonnet-4-5 · 24 runs/day · $0.72/day\n   💡 Reduce from 24/day to 6/day\n   💰 Save: $16.20/month\n\n📊 Total potential savings: $102.60/month\n```\n\n## Options\n\n| Flag | Default | Description |\n|---|---|---|\n| `--config` | `~/.openclaw/openclaw.json` | OpenClaw config path |\n| `--jobs` | `~/.openclaw/cron/jobs.json` | Jobs file path |\n| `--runs` | `~/.openclaw/cron/runs` | Runs directory |\n| `--format` | `text` | Output: `text` or `json` |\n| `--hours` | `24` | Analysis window |\n| `--min-savings` | `0.10` | Min daily savings to report |\n\n## How it works\n\n1. Reads your OpenClaw cron job definitions and run history\n2. Analyzes each job's prompt text with pattern matching\n3. Classifies by whether the task actually needs an AI model\n4. Estimates costs from run history and model pricing\n5. Reports actionable recommendations with savings estimates\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-3379cce8760b88f3431fde9f42c080cd"}