Canonical source for shared agent skills and global instructions used by Claude/Codex-style setups.
Repo-specific operating notes live in AGENTS.md.
- Skills under
skills/<name>/(SKILL.mdplus optionalreferences/) - Global instruction source at
instructions/global.md - Machine routing artifacts:
instructions/skills.router.min.json(primary runtime artifact)
- Sync tooling in
bin/(sync.sh) - Skills routing metadata tooling in
skills/skill-creator/scripts/build_agents_index.py
agents/
├── skills/ # Skill packages: <name>/SKILL.md (+ references/)
├── instructions/
│ ├── global.md # Source copied to ~/.agents/AGENTS.md
│ ├── skills.router.min.json # Source copied to ~/.agents/skills.router.min.json
├── bin/
│ ├── sync.sh # Hard sync to ~/.agents
├── skills/skill-creator/scripts/
│ └── build_agents_index.py # Validate skill/routing metadata (no marker updates)
├── skills-evals/
│ ├── run.sh # Eval runner wrapper (supports --case CASE_ID)
│ └── fixtures/
│ ├── eval-cases.jsonl # Source-of-truth eval cases
│ └── models.jsonl # Models + thinking config
├── devcontainer/ # Devcontainer template and installer
└── AGENTS.md # Repo-specific durable notes
# Recommended location
cd ~
git clone https://github.com/bout3fiddy/agents.git .agents
cd ~/.agents
# Hard sync skills + instructions + routing artifact to ~/.agents
./bin/sync.shIf this repo is not at ~/.agents, set:
export AGENTS_DIR="/absolute/path/to/agents"bin/sync.sh performs hard sync from this repo to:
~/.agents/skills/~/.agents/AGENTS.md(frominstructions/global.md)~/.agents/skills.router.min.json(frominstructions/skills.router.min.json)syncruns metadata validation +check-router-artifactbefore copy.
Run these when you need to refresh routing metadata locally:
python3 skills/skill-creator/scripts/build_agents_index.py(source validation)python3 skills/skill-creator/scripts/build_skills_router_artifact.py(artifact regeneration)
- Create/update
skills/<name>/SKILL.md. - Keep
SKILL.mdconcise; place longer material inskills/<name>/references/. - Validate:
uvx --from skills-ref agentskills validate skills/<name>
# or use the in-repo TypeScript port:
bun run skills-evals/validate/index.ts validate skills/<name>- Sync:
./bin/sync.sh# Rebuild routing artifact
python3 skills/skill-creator/scripts/build_agents_index.py
python3 skills/skill-creator/scripts/build_skills_router_artifact.py
bun run skills-evals/validate/index.ts check-router-artifact
# Run evals for all configured models/cases
./skills-evals/run.sh
# Run a single eval case id across configured models
./skills-evals/run.sh --case CD-015./bin/sync.sh only syncs skills, global instructions, and the machine routing artifact. It does not roll out devcontainer template changes.
For devcontainer template rollout:
- Update files under
devcontainer/in this repo - Run
./devcontainer/install.sh self-install - In target repo:
devc install . - Rebuild container:
devc rebuild .