Summary
Add a [scripts] section to agr.toml where users can define named commands, runnable via agr run <name>. Support parameter substitution for flexibility.
Why
Standardizes team workflows. Similar to npm scripts, this lets teams define common operations (e.g., "run linting skill then commit skill", "sync and verify", "run test suite with specific skills") in a shared, version-controlled config.
Example
[scripts]
review = "agr run-skill code-review --prompt 'Review the latest changes'"
setup = "agr sync && agr verify"
lint = "agr run-skill linter --prompt '{file}'"
agr run review
agr run lint --param file=src/main.py
Scope
- Add
[scripts] section to agr.toml config schema
- Implement
agr run <name> command
- Support parameter substitution (
{key} replaced by --param key=value)
- Consider: script composition (running multiple scripts in sequence)
- Consider: environment variable support
🤖 Generated with Claude Code
Summary
Add a
[scripts]section toagr.tomlwhere users can define named commands, runnable viaagr run <name>. Support parameter substitution for flexibility.Why
Standardizes team workflows. Similar to npm scripts, this lets teams define common operations (e.g., "run linting skill then commit skill", "sync and verify", "run test suite with specific skills") in a shared, version-controlled config.
Example
Scope
[scripts]section toagr.tomlconfig schemaagr run <name>command{key}replaced by--param key=value)🤖 Generated with Claude Code