ClawFlow is a CLI wrapper for OpenClaw that installs skill bundles and wires cron jobs in one flow.
Published package: clawflowbang
Primary command: clawflow (alias: cfh)
- Install package presets (skills + cron jobs) with one command.
- Install skills from ClawHub first, then fallback to Git clone if not found.
- Manage cron jobs through
openclaw cron(add/edit/remove/list). - Validate and normalize cron expressions before save.
- Node.js
>=16 - OpenClaw CLI (
openclaw) - ClawHub CLI (
clawhub) for registry skill install - Git (used for fallback clone)
npm i -g clawflowbangCheck:
clawflow --versionInitialize local config:
clawflow initInstall a package preset:
clawflow install trading-kitCheck status:
clawflow statusclawflow install <package>
clawflow list [--available] [--npm]
clawflow search <query> [--no-npm]
clawflow remove <package>
clawflow cron-list
clawflow cron-add <skill> --schedule "*/5 * * * *"
clawflow cron-edit <id> --every 15m --description "updated job"
clawflow cron-remove <id>Supported formats:
- Raw cron:
*/5 * * * * - Preset:
@hourly,@daily,@weekly,@monthly - Shorthand:
5m,every 15m,1h,2d
Examples:
clawflow cron-add crypto-price --every 15m
clawflow cron-edit <job-id> --schedule "@daily"
clawflow cron-edit <job-id> --params '{"symbols":["BTC","ETH"]}'
clawflow cron-remove <job-id>When installing package skills:
- Try
clawhub install - If failed, try
git clonewhen skill metadata provides repository info - Validate cloned skill by checking
SKILL.md
Skill metadata fields for git fallback:
repositoryorrepoorgit- optional
branch/tag/ref
- Skills path:
~/.openclaw/workspace/skills - Cron jobs file:
~/.openclaw/cron/jobs.json
Override during install:
clawflow install <package> \
--skills-path "<path-to-skills>" \
--cron-jobs "<path-to-jobs.json>"clawflow can read package metadata from npm packages.
Use clawflow field in package.json:
{
"name": "my-kit",
"version": "1.0.0",
"keywords": ["clawflow"],
"clawflow": {
"skills": [
{
"name": "crypto-price",
"version": "^1.0.0",
"source": "openclaw",
"repository": "https://github.com/owner/crypto-price-skill.git"
}
],
"crons": [
{
"skill": "crypto-price",
"schedule": "*/5 * * * *",
"params": { "symbols": ["BTC", "ETH"] }
}
]
}
}npm install
npm run lint
npm test -- --runInBandMIT