/cursor-kit:setup-ai-memoryfrom cursor-kit
Install or repair the ai-memory companion for Claude Code, Cursor, Codex and Gemini (native macOS binary, LaunchAgent, MCP + lifecycle hooks) while keeping kit layers AGENTS.md, PROJECT.md, and .claude/state authoritative. Also invoked from /setup-project (pré-check repair + depth-2 install) and /setup-pucpr when the full Cursor stack is in play. Use when the user asks to wire ai-memory, long-horizon wiki memory, cross-agent handoffs, or says setup / arrumar ai-memory. Prefer this over ad-hoc upstream copy-paste.
Ships in cursor-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Multi-tool (primary path): run ~/Projects/estack/scripts/sync-all.sh (subset via TOOLS="claude cursor codex gemini"). It installs/repairs the binary + LaunchAgent and wires every tool. Verify with claude mcp list, codex mcp list, ai-memory doctor. Cursor-specific steps below apply only to Cursor.
Opt-in companion for long-horizon project memory. Compose upstream ai-memory with cursor-kit — do not fork, do not vendor their SKILL.md, do not replace kit episodic state.
Canonical kit root: ~/Projects/estack (or this plugin repo). Human doc (PT):
docs/tools/10-ai-memory.md. Pasteable prompt: docs/prompts/07-ai-memory-wire.md.
| Layer | Authority |
|---|---|
| Prefs / facts | AGENTS.md (continual-learning) |
| Architecture | PROJECT.md Decisions |
| Live task / continue | .claude/state/checkpoint.json |
| Tool failures | .claude/state/failures.jsonl |
| Long-horizon wiki / handoff / FTS | ai-memory (when enabled) |
Retrieval still starts with kit layers; only then ask ai-memory MCP for handoff/brief.
Confirm once: install/repair companion on this machine? (recommended for solo
macOS Cursor + optional Claude/Codex later). If declined, stop and point at the
PT doc (docs/tools/10-ai-memory.md).
| Check | Healthy | Action |
|---|---|---|
| macOS + arch | Darwin arm64/x86_64 | Else: point upstream install docs; do not run kit script |
| Binary | ai-memory on PATH or ~/Applications/ai-memory/ai-memory | Run kit installer |
| Server | curl http://127.0.0.1:49374/mcp → 405 (or 401 with auth) | Start LaunchAgent / serve |
| MCP | ~/.cursor/mcp.json has ai-memory | install-mcp --client cursor --apply |
| Hooks | hooks.json has kit and ai-memory commands | install-hooks --agent cursor --apply; never wipe kit hooks |
Prefer kit script (idempotent):
# from cursor-kit root
./scripts/install-ai-memory.sh
Defaults and overrides (install dir, LaunchAgent, which agents get wired): the header of
scripts/install-ai-memory.sh.
Do not download without user consent if they only asked for docs.
Check: curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:49374/mcp prints 405 (the healthy code in the step 1 table).
After wiring, if the user runs ./scripts/sync-hooks.sh, it must be merge-safe
(kit scripts only; companions preserved). If an old overwrite wiped ai-memory
entries, re-run ai-memory install-hooks --agent cursor --apply via the real
binary path under ~/Applications/ai-memory/ai-memory (not a broken symlink).
Check: grep -c ai-memory ~/.cursor/hooks.json is above 0 and the kit *.py hooks are still listed.
serve); confirm with launchctl list | grep -i ai-memory/mcp returns 405 (the healthy code in the step 1 table); check with curl~/.cursor/mcp.jsonhooks.json still includes kit *.py hooks and ai-memory hook commands; verify with grepai-memory shows as enabledmemory_status via MCP; do not dump secrets; check it answers## ai-memory setup
- Consent: accepted | declined
- Binary: path | missing
- Server: up (code) | down
- MCP: wired | repaired | skipped
- Hooks: kit+companion | kit-only | needs re-wire
- Next: reload MCP; use checkpoint for continue; wiki for long-horizon recall
Check: each line comes from the step 4 results, none guessed.
curl does not print 405 → start the LaunchAgent (or ai-memory serve) and rerun the check.hooks.json lost the ai-memory entries → rerun ai-memory install-hooks --agent cursor --apply (step 3).memory-security)/setup-project does not require this companionai-memory run the Cursor launcherWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bossmann007/estack --plugin cursor-kit38 skills in this plugin
/4dGuided 4D questions (Delegation, Description, Discernment, Diligence) that train the user, one card at a time, to plan how they work with AI. Use at a project start (before a spec) or after a grilling/brainstorm round, or on "/4d", "4D", "AI fluency". Not for every task: skip small edits and routine work.
/ai-memory-curateCurate the ai-memory wiki from inside a Claude Code session, with no API key and no external LLM: read recent session observations and write distilled rules, decisions, gotchas and profile habits. Use when the user says "curar a memória", "curate memory", "consolidar ai-memory", or after a stretch of work when ai-memory has no LLM provider configured.
/apresentacao-animadaMotion graphics em HTML para MP4. Entrega - apresentação acadêmica (notas, folhas, roteiro, voz do aluno). Redes - vídeo vertical curto, só legenda, música NCS opcional. Use em "monta a apresentação", "apresentação animada", "motion graphics", "vídeo da entrega", "roteiro do vídeo", "folhas para apresentar", "vídeo para as redes", "vídeo para postar", "motion da extensão", "prompt de vídeo", "storyboard", "vídeo de terminal", ou se um enunciado exigir vídeo/demonstração. NÃO use para vídeo em React (remotion-best-practices), editar mídia existente (ffmpeg-skill) ou 3D (blender-*).Other plugins' skills for the same job