| ▲ | CraigJPerry 4 hours ago | |
I've had good success with something along these lines but perhaps a bit more raw:
For example:
Where ai-commit-msg is a tiny agent:
And you can see to keep the agents themselves tiny, they rely on a little lib to load the various skills and optionally apply some guard / post-exec validator. Those validators are usually simple grep or whatever to make sure there were no writes outside a given dir but sometimes they can be to enforce output correctness (always jq in my examples so far...). In theory the guard could be another claude -p call if i needed a semantic instruction. | ||
| ▲ | avoutic an hour ago | parent [-] | |
I was looking at something similar. What does your agent-lib.sh look like? | ||