Anyone using AI coding assistants knows the ritual: before the AI can help you, you have to explain your entire project to it. Write a CLAUDE.md. Set up .cursorrules. Configure Windsurf rules. It is busywork that defeats the purpose of having an AI assistant in the first place.
A new open-source CLI tool called ai-setup tries to eliminate that step entirely. Run npx ai-setup in any project directory and it scans your codebase to detect your framework, libraries, folder structure, and conventions, then generates the appropriate context files for whichever AI coding tools you use. It supports CLAUDE.md (for Claude Code), .cursorrules (for Cursor), and Windsurf rule files out of the box. The tool has picked up 150 GitHub stars since launch.
The value proposition is straightforward: instead of manually writing and maintaining context files that describe what your project does, let the tool read the code and figure it out. For developers who jump between multiple projects or maintain several repos, that saves real time. Context files that drift out of date are arguably worse than having none at all, since they feed the AI stale information about your stack.
The practical limitation is obvious too. Auto-generated context files will capture the mechanical stuff ("this is a Next.js app using Prisma and Tailwind") but miss the nuanced decisions that make context files actually useful ("we avoid ORMs for this module because of performance requirements" or "all new API routes need rate limiting"). Think of it as a solid first draft rather than a finished product. You will still want to edit what it generates, but starting from a populated file beats starting from blank every time.