Cursor Crew

View the Project on GitHub iamramishka/Launch_Live

Cursor Crew: project rules for Claude

Cursor Crew is a Manifest V3 browser extension (Chrome, Edge, Firefox). It blanks any web page and a crew of cursor “agents” rebuilds it live, takes it apart (reverse mode) and records it to video. It’s an original implementation inspired by Swarm Rebuild (Dhvanil Patel) and Swarm (Joel Califa). Never copy code from those projects. They have no license. Re-implement ideas from scratch.

Layout

Path What it is
src/core.js Pure logic: task ordering, scheduling, reverse plan, settings, file names. No DOM. Unit tested.
src/themes.js Themes: palettes, cursor SVGs, agent names. Unit tested.
src/engine.js Content script: DOM snapshot → shadow-DOM overlay → agent animation, toolbar, recording, reverse.
src/background.js Popup ON button (toolbar icon) / Alt+Shift+S command (toggle-crew) → click-time media screenshot → inject core.js, themes.js, sound.js, engine.js and toggle. Keeps the auto-play content script registered for granted sites.
src/sound.js The crew’s audio synth (typing, clicks, notes), shared by the engine and the offscreen recorder. Unit tested.
src/recstore.js IndexedDB store for recordings (add, list, get, delete). Used by the offscreen recorder and the Recordings page.
src/offscreen.* Chrome/Edge offscreen document: records the tab stream plus crew sound, saves to recstore.
src/recordings.* Recordings page: play, save, delete and split saved recordings.
src/popup.* Toolbar popup: ON button, quick settings, intro-shape dropdown, Record checkbox (hidden in Firefox).
src/autoplay.js Tiny content script, registered only on auto-play sites; asks the background to start.
src/options.* Options page (theme, crew size, speed, name tags), saved in storage.sync.
src/manifest.base.json Shared manifest; scripts/manifest.mjs adds per-browser fields.
scripts/build.mjs npm run build → dist/chrome, dist/edge, dist/firefox.
scripts/make-icons.mjs Regenerates src/icons/*.png (no dependencies).
demo/index.html Test page. npm run demo serves the repo at http://127.0.0.1:8731/demo/.
test/*.test.mjs node:test unit tests (npm test).

Commands

Code rules

Workflow: Superpowers (required)

Use the Superpowers skills for every task. Invoke the skill before acting, even for clarifying questions.

  1. New feature or behavior change → superpowers:brainstorming first (understand intent, pick an approach, short design), then superpowers:writing-plans.
  2. Executing a plan → superpowers:subagent-driven-development (independent tasks) or superpowers:executing-plans (inline).
  3. Writing code → superpowers:test-driven-development: failing test first for anything in core.js, themes.js or scripts/; for engine.js, verify in a real browser on demo/index.html.
  4. Bug or unexpected behavior → superpowers:systematic-debugging before proposing a fix.
  5. Before saying “done” → superpowers:verification-before-completion: run npm test and npm run build, and check the change on the demo page. Report what was and wasn’t verified.
  6. Before merging → superpowers:requesting-code-review, then superpowers:finishing-a-development-branch.
  7. Parallel, independent work → superpowers:dispatching-parallel-agents. Isolation → superpowers:using-git-worktrees.

Also follow andrej-karpathy-skills:karpathy-guidelines: small, surgical changes, no speculative abstractions, and state your assumptions.

Git

graphify

This project has a knowledge graph at graphify-out/ with god nodes, community structure, and cross-file relationships.

Rules: