Overview
VibeLearn works with Cursor via hook scripts. When a Cursor agent session ends, the same 5-step analysis pipeline runs: stack detection → static analysis → concept extraction → quiz generation → sync.Quick Install
Configure an AI Provider
~/.vibelearn/settings.json
What Gets Captured
| Cursor Hook | VibeLearn Action |
|---|---|
beforeSubmitPrompt | Initialize session |
afterFileEdit | Capture file edits |
afterMCPExecution | Capture MCP tool usage |
afterShellExecution | Capture shell commands |
stop | Trigger analysis pipeline |
After a Session
How It Differs from Claude Code
| Feature | Claude Code | Cursor |
|---|---|---|
| Hooks | Native plugin hooks | Bash scripts in .cursor/hooks/ |
| Transcript access | Available | Not available |
| Analysis pipeline | Full (with transcript context) | Full (file edits only) |
| Worker port | 37778 | 37778 |
| Installation | /plugin install vibelearn | bun run cursor:install -- user |
Troubleshooting
Hooks not running:~/.vibelearn/settings.json and check worker logs for LLM errors.
