agent-tools is a reusable toolbox and workflow definition layer for software
development agents.
It is meant to combine two useful patterns:
- long-lived project memory and workflow guidance (
AGENT.md,.agent/skills/) - stable command wrappers for frequent operations (
justfile,scripts/)
The goal is to stop agents from repeatedly inventing noisy shell commands for common work. Stable tools save tokens, reduce GitHub API usage, and make agent behavior easier to debug.
agent-tools/
agent-tools.yaml # project configuration
AGENT.md # workflow entrypoint for agents
justfile # stable command surface
.agent/skills/ # reusable agent skills and recipes
github/SKILL.md
scripts/
github/agent-gh.py # cached GitHub command wrappers
docs/
design.md # project direction and extension rules
Edit agent-tools.yaml for the project agents are working on:
project:
name: aperag-enterprise
workdir: /Users/earayu/GitHub/apecloud/aperag-enterprise
github:
repo: apecloud/aperag-enterprise
default_branch: main
cache:
dir: .agent-tools-cacheEvery command can also be overridden through environment variables such as
REPO=owner/name, WORKDIR=/path/to/repo, and CONFIG=/path/to/config.yaml.
Run bootstrap once to install/check local dependencies:
sh scripts/project/bootstrap.shUse just recipes for common read-heavy GitHub operations:
just gh-rate-limit
just gh-ci-runs release-image.yml "" 5
just gh-ci-run 25954207863
just gh-pr 708
just gh-file .github/workflows/release-image.yml origin/mainDirect Python entrypoint:
scripts/github/agent-gh.py ci-runs --workflow release-image.yml --limit 5
scripts/github/agent-gh.py pr 708 --jsonThe GitHub wrapper:
- uses short TTL caches for read-only GitHub calls
- prefers local
git showbefore the GitHub Contents API - returns concise summaries by default
- supports
--jsonwhere structured output is useful - never caches write operations
- CI run polling cache and summary
- PR context cache and summary
- GitHub rate bucket summary
- repository file reads through local git first, Contents API second
- failed CI log extraction into a short root-cause summary
- merge/rebase/release recipes as agent skills