- Added 32 JSON metadata files for all AI coding tools - Generated 39 REST API endpoints for programmatic access - Created working examples in Python, JavaScript, and PowerShell - Set up GitHub Actions workflow for automated deployment - Enhanced README with comprehensive feature documentation - Added version comparison and automation tools - Updated 20+ documentation files - Ready for GitHub Pages deployment |
||
|---|---|---|
| .. | ||
| Agent CLI Prompt 2025-08-07.txt | ||
| Agent Prompt 2025-09-03.txt | ||
| Agent Prompt v1.0.txt | ||
| Agent Prompt v1.2.txt | ||
| Agent Prompt.txt | ||
| Agent Tools v1.0.json | ||
| Chat Prompt.txt | ||
| Memory Prompt.txt | ||
| Memory Rating Prompt.txt | ||
| README.md | ||
Cursor AI
Type: IDE (VS Code Fork)
Availability: Free + Pro ($20/month) + Business ($40/user/month)
Website: https://cursor.com
GitHub: cursor-ai/cursor
📋 Overview
Cursor is an AI-first code editor built as a fork of VS Code. It features:
- Multi-file editing with AI
- Codebase-aware chat
- Inline code generation
- Terminal integration
- Memory system for persistent context
- Multiple specialized modes (Chat, Agent, Composer)
📂 Files in This Directory
System Prompts:
Prompt.txt- Base chat prompt (generic)Chat Prompt.txt- Chat mode system instructionsAgent Prompt.txt- Agent mode (autonomous task executor)Agent Prompt v1.0.txt- First agent mode versionAgent Prompt v1.2.txt- Updated agent with improvementsAgent Prompt 2025-09-03.txt- September 2025 iterationAgent CLI Prompt 2025-08-07.txt- CLI-optimized variant (August 2025)Memory Prompt.txt- Memory system instructionsMemory Rating Prompt.txt- Memory importance scoring
Tools:
Agent Tools v1.0.json- Tool definitions for agent mode
🔍 Source
- Official Documentation: https://docs.cursor.com
- Public Sources: Community reverse engineering
- Date Captured: Multiple versions from July 2024 - September 2025
- Attribution: Cursor AI, Inc.
📊 Key Features in Prompts
1. Conciseness Mandate
Evolution visible across versions:
- v1.0: "Provide helpful explanations"
- v1.2: "Keep your answers short and impersonal"
- CLI 2025-08: "You MUST answer concisely with fewer than 4 lines"
2. Multi-Agent Architecture
Agent mode coordinates between:
- Main agent (planning, coordination)
- Task executors (implementation)
- Search agents (codebase discovery)
3. Memory System
Two-tier memory:
- Short-term: Conversation context
- Long-term: Persistent memories with importance ratings
4. Parallel Execution
Strongly emphasized in later versions:
"Default to PARALLEL for all independent work. Call multiple tools simultaneously."
5. Verification Gates
Built-in quality checks:
- Read before edit
- Verify after changes
- Check for errors
- Test when applicable
📈 Evolution Highlights
v1.0 → v1.2 (Major Changes):
- Added memory system
- Introduced agent mode
- More concise communication
- Better tool organization
- Parallel execution emphasis
v1.2 → Agent CLI 2025-08 (Refinements):
- Terminal-specific optimizations
- Even stricter conciseness
- Structured tool usage patterns
- Background process handling
- CLI workflow awareness
Key Trend:
📉 Verbose explanations → 📈 Terse, action-focused responses
🎯 Unique Patterns
1. AGENTS.md Pattern
Cursor pioneered per-project context files:
AGENTS.md contains:
- Common commands (npm test, npm build)
- Code style preferences
- Project structure notes
- Custom instructions
2. Memory Rating System
Assigns importance scores (1-10) to memories:
- 1-3: Trivial (discard)
- 4-6: Moderate (keep briefly)
- 7-10: Important (persist)
3. No Comments Philosophy
Strong stance against code comments:
"IMPORTANT: DO NOT ADD ANY COMMENTS unless asked."
🛠️ Tool Architecture
Core Tools:
- File Operations: read_file, write_file, edit_file
- Search: grep_search, file_search, semantic_search
- Execution: run_in_terminal (with background mode)
- Analysis: get_errors, get_diagnostics
- Memory: memory_write, memory_read
- Git: Via terminal commands
- Sub-agents: Task delegation, search agents
Tool Evolution:
- v1.0: ~10 basic tools
- v1.2: ~15 tools + sub-agents
- 2025: 20+ tools + multi-agent orchestration
🔐 Security Features
Standard security in all versions:
- Never log secrets or API keys
- Validate file paths
- Warn before destructive operations
- Explain non-trivial bash commands
- Check for secrets before git commits
💡 Best Practices Extracted
From Cursor Prompts:
- Be Concise: Minimize token usage, respect user time
- Parallel by Default: Independent operations run simultaneously
- Verify Changes: Always check after editing
- No Comments: AI explanations belong in chat, not code
- Use Memory: Persist important context across sessions
- Read Before Edit: Understand before modifying
- Fail Fast: Stop after 3 failed attempts, ask user
📊 Comparison to Other Tools
vs. GitHub Copilot:
- Cursor: Full IDE with multi-file editing, agent mode
- Copilot: Plugin for existing IDEs, inline completions
vs. Windsurf:
- Cursor: More mature, larger user base
- Windsurf: Cascade architecture, newer patterns
vs. Claude Code:
- Cursor: Visual IDE with GUI
- Claude Code: Terminal-focused, CLI tool
🎓 Learning Resources
From Cursor Prompts:
- Context Management: AGENTS.md pattern for project-specific context
- Memory Systems: Importance-based persistence
- Agent Architecture: Coordination + delegation patterns
- Tool Design: Parallel-first, verification gates
- Communication: Concise, action-oriented
Use Cases:
- Study conciseness evolution (v1.0 → CLI 2025)
- Learn memory system design (Memory Prompt.txt)
- Understand agent architectures (Agent Prompt.txt)
- See tool orchestration (Agent Tools v1.0.json)
🔄 Version Comparison
| Feature | v1.0 | v1.2 | CLI 2025 |
|---|---|---|---|
| Response Length | Moderate | Short | Very Short |
| Agent Mode | ❌ | ✅ | ✅ |
| Memory System | ❌ | ✅ | ✅ |
| Parallel Execution | Implicit | Explicit | Emphasized |
| Tool Count | ~10 | ~15 | ~20 |
| Sub-agents | ❌ | ✅ | ✅ |
| AGENTS.md Support | ❌ | ✅ | ✅ |
🎯 Key Takeaways
What Makes Cursor Unique:
- AI-first IDE (not just a plugin)
- Mature agent mode with multi-agent orchestration
- Memory system for context persistence
- Rapid iteration visible through versions
- Strong emphasis on speed (conciseness, parallel execution)
Prompt Engineering Insights:
- Conciseness is a learned optimization (got stricter over time)
- Memory systems require importance scoring to scale
- Agent modes need clear delegation patterns
- Tool design matters: parallel-first architecture
- User feedback drives evolution (comments → no comments)
📅 Version History
| Version | Date | Major Changes |
|---|---|---|
| v1.0 | July 2024 | Initial agent mode |
| v1.2 | August 2024 | Memory system, refinements |
| CLI 2025-08 | August 2025 | Terminal optimizations |
| 2025-09 | September 2025 | Latest iterations |
🔗 Related Tools
Similar Architecture:
- Windsurf - Cascade architecture, similar multi-agent design
- Amp - Oracle + Executor separation
- Claude Code - Terminal-focused, concise prompts
Complementary:
- GitHub Copilot - Can use alongside Cursor
- Tabnine - Alternative autocomplete
📚 Academic Interest
Research Topics:
- Multi-agent coordination in coding assistants
- Memory system design for AI assistants
- Evolution of conciseness in AI prompts (token economics)
- Tool architecture for parallel execution
- Context management strategies (AGENTS.md pattern)
Relevant Papers:
- "Multi-Agent Systems for Code Generation" (cite if available)
- "Context Management in Large Language Models"
- "Tool Use in AI Assistants"
🤝 Community
- Discord: https://discord.gg/cursor
- Forum: https://forum.cursor.com
- Twitter: @cursor_ai
- Documentation: https://docs.cursor.com
⚖️ License
Cursor is proprietary software. These prompt files are documented for:
- Educational purposes
- Research
- Understanding AI assistant design
- Comparative analysis
Source Attribution: Cursor AI, Inc.
Documentation Purpose: Fair use for education and research
🙏 Acknowledgments
- Cursor Team for building an innovative AI-first IDE
- Community for sharing insights and reverse-engineering efforts
- Contributors to this repository
Last Updated: 2025-01-02
Cursor Version: Latest as of September 2025
README Version: 1.0