cli-automation-worker
cli-automation-worker is a published AgentPM workflow template for bootstrapping a shell-first automation project.
It generates a local project that:
- installs the declared tools through AgentPM
- chains them with
agentpm run --input-file - keeps workflow logic in plain shell scripts and JSON inputs instead of SDK code
- writes a visible local markdown brief so users can prove the workflow end to end
Generated project shape
The scaffold includes:
README.md.env.examplescripts/run-daily-brief.shinputs/convert.jsonsample-inputs/daily-notes.mdoutputs/tests/test_scaffold.py
The generated root agent.json is synthesized by agentpm new from the template dependency declarations.
Tool chain
This template currently installs:
@zack/document-convert@zack/summarize-text
The generated shell script uses document-convert to normalize a local source file, then feeds that content into summarize-text with agentpm run --input-file.
Variables
This template currently uses:
project_nameworkflow_labelsource_pathoutput_path
Local development
From this template package directory:
agentpm lint
To verify the scaffold locally before publish:
agentpm new . ../cli-automation-worker-test --var workflow_label="Daily Brief Worker"
After publish, generate a test project with:
agentpm new @zack/cli-automation-worker my-automation-worker --var workflow_label="Daily Brief Worker"