Architecture of popoboxxo/agent-meta
popoboxxo/agent-meta is 2,071 source files holding 15,073 symbols across 5 modules, written mainly in Python, Shell. The largest module is tests, with 649 files, and 1 file is an entry point into the dependency graph.
How agent-meta fits together
Input comes from .meta-config/project.yaml, which holds the project's configuration and variables, and from the template directories under agents/. The indexed entry point is scripts/lib/bootstrap.py, while scripts/sync.py is the command that renders the templates and accepts options such as --dry-run, --validate and --setup. Agent and rule sources are merged in four layers, where higher layers override lower ones, and project-owned files in .claude/3-project are never overwritten by sync. Placeholders written in double braces are resolved at render time, and provider differences are handled by PAL_ placeholders. The index marks .agents/hooks.json and .agents/hooks/lib/hook_common.sh as central files, and the hook scripts are shell files. The rendered output is written to each enabled provider's agents directory, for example .claude/agents/, along with a context file such as CLAUDE.md or AGENTS.md.
Largest modules
- tests: 649 files and 109,287 lines of code
- scripts: 183 files and 69,701 lines of code
- hooks: 25 files and 5,644 lines of code
- .agents: 15 files and 3,761 lines of code
- scratch: 12 files and 242 lines of code
Languages
By file count: Python 745 files, Shell 139 files.
Documentation
Repowise documents agent-meta in 465 pages generated from the source.
More on agent-meta: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos