1---
2name: crm
3description: Guide users building a personal CRM from simple files to structured database.
4metadata:
5 source: https://skillmd.com/skills/modbender/crm
6 clawdbot:
7 emoji: 🤝
8 os:
9 - linux
10 - darwin
11 - win32
12---
13
14## First Interaction
15- Ask what they're tracking: clients, leads, investors, job contacts, networking — context shapes schema
16- Ask their technical comfort: spreadsheets, JSON, databases — determines starting format
17- Create `~/crm/` folder as the single source of truth
18
19## Start With Files, Not Apps
20- JSON or CSV for first version — validate data model before adding complexity
21- Single file `contacts.json` initially — resist creating multiple files until needed
22- Don't suggest web app until they've used files for at least a week
23- Don't suggest database until files feel slow or limiting
24
25## Minimal Contact Schema
26- id, name, email, company, phone, notes, tags, created, updated — nothing more initially
27- tags array over rigid categories — flexible, no schema changes needed
28- notes field is often the most valuable — encourage freeform context
29- Generate UUID for id, not auto-increment — survives merges and imports
30
31## When To Add Interactions File
32- User asks "when did I last talk to X" — signal they need history
33- Separate file linked by contact_id — not nested in contact object
34- type field (note/email/call/meeting) enables filtering later
35- Always include date — timeline view is essential
36
37## When To Add Companies File
38- Multiple contacts at same company — signal to separate
39- Many-to-many: one person can work at multiple companies over time
40- company_id in contacts, not company name duplication
41
42## When To Add Deals/Opportunities
43- User mentions "pipeline", "stage", "close date", "deal value"
44- Link to contact_id and optionally company_id
45- Stages as simple string field initially — don't over-engineer state machine
46
47## SQLite Migration Triggers
48- File operations feel slow (>100 contacts typically)
49- User wants to query/filter in complex ways
50- Multiple users need access (SQLite handles concurrent reads)
51- Offer to write migration script — don't force manual re-entry
52
53## Progressive Timeline
54- Week 1: contacts file only, prove they'll use it
55- Week 2: add interactions when they want history
56- Week 3: add tags, search helper script
57- Month 2: companies file if needed
58- Month 3: deals file if tracking opportunities
59- Only then: consider web UI or more complex tooling
60
61## What NOT To Suggest Early
62- Web application — massive scope increase, validate data model first
63- Email sync/integration — suggest BCC/forward workflow, much simpler
64- Calendar integration — manual logging is fine initially
65- Authentication — single-user local CRM doesn't need it
66- Mobile app — sync complexity not worth it early
67
68## Helper Scripts Worth Offering
69- Quick add from command line — reduces friction
70- Search across all files — grep/jq one-liner
71- Backup to timestamped zip — essential before migrations
72- Export to CSV — for users who want spreadsheet view
73
74## Data Integrity Habits
75- Backup before any bulk edit or migration
76- Check for duplicate emails before adding contact
77- Validate email format on entry
78- Keep created/updated timestamps — debugging lifesaver
79
80## Sync When Asked
81- Cloud folder (Dropbox/iCloud/Drive) for multi-device — simplest
82- Git repo for version history — good for technical users
83- Don't suggest complex sync solutions until files prove insufficient