setup-people-memory
Skill1 starsChanged 3 months agoMITView on GitHub
Set up or reconfigure People Memory for an existing Codex, Claude Code, Cursor, or other MCP-capable agent; create a minimal personal agent if needed; choose local PostgreSQL or hosted Supabase; install the schema, MCP, UI, and durable memory instructions; ask which LinkedIn, Google Contacts, WhatsApp, Gmail, Calendar, Drive, or browser connections the user wants. Use for first install, moving between local and cloud, adding an agent, or repairing an incomplete People Memory setup.
- Reads credentials
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- enrich-peopleSkill
- import-contactsSkill
- maintain-people-memorySkill
- remember-peopleSkill
- upgrade-people-memorySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Check whether the people-memory MCP tools are already present.
- Very specific: line 14
If present, call graph_status.
- Very specific: line 18
Do not claim a component works because its config file exists.
- Distinctive: line 22
Ask one compact question with these options:
- Distinctive: line 29
Read references/deployment.md for the chosen path.
- Very specific: line 37
Put only the Supabase URL and publishable key in web/config.js.
- Distinctive: line 38
Never put a service-role key or PostgreSQL URL in the browser.
- Distinctive: line 42
Prefer the user's existing agent.
- Distinctive: line 50
If the user has no agent, offer a minimal workspace containing the matching template and connect it to Codex or Claude Code.
- Distinctive: line 55
Ask which sources the user wants now:
- Distinctive: line 67
Ask whether the user wants to connect Gmail, Calendar, Drive, or a live WhatsApp bridge.
- Very specific: line 79
Start the UI locally or deploy web/ to the selected static host.
- Very specific: line 80
Call graph_status in a fresh agent session.
- Very specific: line 81
Create a synthetic test person, read it back, and delete it through delete_person or guarded SQL.
- Distinctive: line 83
Remove the synthetic record and its archive.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Set up People Memory
Configure the whole path from conversation to private database. Keep credentials out of chat output, Git, browser code, and shell history where possible.
1. Inspect before asking
- Check whether the
people-memoryMCP tools are already present. - If present, call
graph_status. Offer repair or reconfiguration instead of reinstalling blindly. - Detect the current agent,
uv, Supabase CLI, Docker-compatible runtime, and browser tools. - Locate a cloned
people-memory-mcprepo if one exists.
Do not claim a component works because its config file exists. Verify the MCP with graph_status.
2. Ask the deployment choice
Ask one compact question with these options:
- Hosted Supabase, recommended for a free cloud backend, Auth, REST, and browser UI.
- Local Supabase, recommended when all contact data must remain on the machine.
- Existing PostgreSQL, for users who already operate a database. Explain that the UI then needs the optional API or a compatible auth/REST layer.
Read references/deployment.md for the chosen path. Do not load the other paths.
3. Set the owner and secrets
- Store the PostgreSQL URL in
~/.config/people-memory/.envwith mode0600. - Generate an API token if the optional REST API will run.
- Set
app_settings.owner_emailto the account that may open the hosted UI. - Put only the Supabase URL and publishable key in
web/config.js. - Never put a service-role key or PostgreSQL URL in the browser.
4. Connect the current agent
Prefer the user's existing agent. Add the stdio MCP through that agent's supported command or config. For Codex and Claude Code, use the exact current commands in the repository README. Start a fresh session after changing MCP config.
Offer to install the durable memory rule from templates/AGENTS.md or templates/CLAUDE.md. Ask
before changing a global user instruction file. Preserve existing content and add one clearly named
section.
If the user has no agent, offer a minimal workspace containing the matching template and connect it to Codex or Claude Code. Do not build a custom agent runtime unless they ask for one.
5. Ask what to import
Ask which sources the user wants now:
- LinkedIn Connections export
- Google Contacts CSV
- WhatsApp chat export
- Another CSV for agent-guided column mapping
- Nothing yet
Invoke import-contacts for selected sources. Prefer official exports before live account access.
6. Offer optional live connectors
Ask whether the user wants to connect Gmail, Calendar, Drive, or a live WhatsApp bridge. State what each source would reveal. Use an already-authorized connector when available. Otherwise help the user connect one, but never request passwords in chat.
Offer Codex in Chrome or Claude in Chrome when available for visible Supabase setup and graph UI verification. Let the user watch and take over for login or credential entry.
Invoke enrich-people only for sources the user approves.
7. Start and verify
- Apply migrations.
- Start the UI locally or deploy
web/to the selected static host. - Call
graph_statusin a fresh agent session. - Create a synthetic test person, read it back, and delete it through
delete_personor guarded SQL. - Open the UI and verify login, search, create, edit, and archived deletion.
- Remove the synthetic record and its archive.
Finish with the chosen deployment, connected agents, enabled imports/connectors, UI address, and any step that still needs the user's login. Do not print secrets.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

