ralph-starter
AGENTS.md106 starsChanged 8 months agoMITView on GitHub
Configuration for AI coding agents working on ralph-starter. ralph-starter is a CLI tool for running autonomous AI coding loops. It connects to external sources (GitHub, Linear, Notion, Figma) and orchestrates AI coding agents to build software autonomously. Tech Stack: TypeScript, Node.js 20+, pnpm Run after each change: ralph-starter works with these coding agents: - Claude Code (recommended) - Cursor - OpenCode - OpenAI Codex - GitHub Copilot - Gemini CLI - Amp - Openclaw For internal features (task analysis, completion…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Run after each change:
- Very specific: line 86
Use chalk for colored output
- Very specific: line 87
Use ora for spinners
- Very specific: line 88
Use inquirer for interactive prompts
- Very specific: line 89
Use commander for CLI parsing
- Distinctive: line 90
Prefer async/await over callbacks
- Distinctive: line 94
Add types/interfaces first
- Distinctive: line 97
Update README.md if user-facing
- Distinctive: line 98
Add tests if applicable
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Configuration for AI coding agents working on ralph-starter.
Project Overview
ralph-starter is a CLI tool for running autonomous AI coding loops. It connects to external sources (GitHub, Linear, Notion, Figma) and orchestrates AI coding agents to build software autonomously.
Tech Stack: TypeScript, Node.js 20+, pnpm
Validation Commands
Run after each change:
pnpm build # TypeScript compilation
pnpm lint # ESLint checks
pnpm test # Run tests
pnpm typecheck # Type checking onlyProject Structure
src/
├── cli.ts # CLI entry point
├── commands/ # Command implementations
│ ├── run.ts # Main run command
│ ├── init.ts # Project initialization
│ ├── plan.ts # Implementation planning
│ └── ...
├── integrations/ # Source integrations
│ ├── base.ts # Base integration interface
│ ├── github/ # GitHub issues, PRs
│ ├── linear/ # Linear tickets
│ ├── notion/ # Notion pages
│ └── figma/ # Figma designs
├── loop/ # Core loop execution
│ ├── executor.ts # Main loop runner (900+ lines)
│ ├── agents.ts # Agent detection/invocation
│ ├── validation.ts # Backpressure validation
│ ├── circuit-breaker.ts
│ ├── cost-tracker.ts
│ └── ...
├── llm/ # LLM provider abstraction
│ ├── providers.ts # Anthropic, OpenAI, OpenRouter
│ └── api.ts # Unified LLM API
├── automation/ # Git operations
│ └── git.ts # Branch, commit, PR
├── config/ # Configuration
│ └── manager.ts # Config file handling
└── mcp/ # MCP serverSupported Agents
ralph-starter works with these coding agents:
- Claude Code (recommended)
- Cursor
- OpenCode
- OpenAI Codex
- GitHub Copilot
- Gemini CLI
- Amp
- Openclaw
Supported Integrations
- GitHub (gh CLI or API token)
- Linear (API key)
- Notion (API token)
- Figma (API token)
- URLs (public)
- Local files
LLM Providers
For internal features (task analysis, completion detection):
- Anthropic (ANTHROPIC_API_KEY)
- OpenAI (OPENAI_API_KEY)
- OpenRouter (OPENROUTER_API_KEY)
Code Conventions
- ESM imports with
.jsextensions - Use
chalkfor colored output - Use
orafor spinners - Use
inquirerfor interactive prompts - Use
commanderfor CLI parsing - Prefer async/await over callbacks
Adding Features
- Add types/interfaces first
- Implement in appropriate module
- Wire to CLI in
src/cli.ts - Update README.md if user-facing
- Add tests if applicable
Task Completion Criteria
A task is complete when:
pnpm buildpassespnpm lintpasses (or only pre-existing errors)- Code follows existing patterns
- README.md updated (if user-facing)
- No unresolved TODOs
Key Files
src/loop/executor.ts- Main loop logicsrc/loop/agents.ts- Agent detection and invocationsrc/commands/run.ts- Run commandsrc/integrations/base.ts- Integration interfacesrc/llm/providers.ts- LLM provider definitions
Documentation
- Website: https://ralphstarter.ai
- Docs source:
docs/(Docusaurus) - Build docs:
cd docs && pnpm build
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

