It detects components, hooks, API routes, database models, design tokens, patterns, and more. Outputs ~10K tokens of structured context. Unlike Repomix or Code2Prompt which pack raw files, agent-smith extracts structured metadata: components with props, hooks, API routes with auth status, database models with relations, design tokens, barrel exports, and import graphs. It also generates "Critical Rules" with wrong/right code examples so AI actually follows your patterns.
Over past year I've churned out a few next.js projects and found myself making agents every time manually so through I'd try to automate the process.
Any feedback would be appreciated!
-cheers