steipete/agent-scripts
Scripts for agents, shared between my repositories.
What it solves
This project provides a centralized system for managing shared instructions, reusable skills, and portable helper scripts for AI agents (specifically tailored for Codex and Claude Code). It eliminates the need to manually copy rules and skills across multiple local workspaces and repositories, ensuring that agent behavior remains consistent across different projects.
How it works
The system uses a combination of shared files and symlinks to distribute instructions and skills:
- Shared Instructions: A central
AGENTS.MDfile contains global hard rules. Other repositories point to this file via a pointer-styleAGENTS.MDto avoid duplication. - Skills Routing: Skills are defined in
SKILL.mdfiles with YAML front matter for routing. A synchronization script (scripts/sync-skills) creates the necessary mirrors for different agents: whole-root links for Codex and flat per-skill links for Claude Code. - Portable Helpers: Dependency-light scripts are stored in
scripts/andhooks/to provide common functionality and agent guardrails, such as skill validation.
Who it’s for
Developers who use AI agents like Claude Code or Codex across multiple local projects and want a centralized way to manage their agent's "knowledge base" of skills and instructions.
Highlights
- Multi-Agent Support: Specifically handles the different directory structures required by Codex and Claude Code.
- Idempotent Syncing: The
sync-skillsscript prunes stale links and avoids clobbering real files. - Skill Validation: Includes a
validate-skillsscript to be used as a git hook to ensure skill definitions are correct. - Browser Tooling: Includes a standalone Chrome DevTools helper for agent-driven browser automation.
Related
- Project
- Project
- Project
- Project
- Project