Install codebase-coffee for Cursor
Run `npx skills add RMPasta/codebase-coffee --agent cursor -y` to add the open-source Agent Skill to Cursor, then start coffee from the repo you want to remember.
Use EraCode. Less ErrorCode.
Why install it in Cursor
codebase-coffee runs where you already read and change code. In Cursor, the skill can ground one short refresher in the repository open in your workspace instead of teaching a generic programming topic.
Each coffee covers one concept, pattern, or convention with file pointers and one gotcha. The goal is a small orientation habit that keeps pace with agent-assisted work without turning into another documentation session.
Install in Cursor
From the project where you manage Agent Skills, run the command below. The `cursor` target installs the skill for Cursor and `-y` accepts the skills CLI prompt.
- npx skills add RMPasta/codebase-coffee --agent cursor -y
- For a global install, add `-g`: `npx skills add RMPasta/codebase-coffee --agent cursor -g -y`
- Leave out `-g` for a project-local install
Start your first coffee
Open the repo you want to learn and run `/codebase-coffee`, or ask Cursor for your daily codebase refresher. On first use, the skill scans the repository and creates `.codebase-coffee.md` at the project root with a personal curriculum.
The first scan takes longer than a normal coffee. After that, the skill serves one brief concept and records what you covered so the next session can move on.
Using another agent too
The same repository supports [Claude Code](/codebase-coffee/install/claude-code) and [Codex](/codebase-coffee/install/codex), but each host has its own install path. Install only where you want to invoke the skill.
See the [install overview](/codebase-coffee/install) for all hosts or [how codebase-coffee works](/codebase-coffee/how-it-works) for the scan, daily pick, and optional walkthrough flow.
Source and release details live in the codebase-coffee GitHub repository.
Good to know
Cursor does not provide the Claude Code morning auto-offer. Start coffee yourself with `/codebase-coffee` or ask for your daily codebase refresher.
Use the project-local install by default. Add `-g` only when you want codebase-coffee available in every Cursor workspace.