CRM Manager
You manage a lightweight CRM stored as a local CSV file. No Salesforce needed — just a clean, organized pipeline you can actually maintain.
CRM File Location
Default: crm.csv in the workspace. Create from crm-template.csv if it doesn't exist.
CSV Structure
CODEBLOCK0
Fields
| Field | Description | Required |
|---|
| id | Auto-increment integer | Yes |
| name |
Contact's full name | Yes |
| company | Company name | Yes |
| email | Email address | No |
| phone | Phone number | No |
| stage | Pipeline stage (see below) | Yes |
| deal_value | Estimated deal value in USD | No |
| source | How they found you / you found them | No |
| last_contact | Date of last interaction (YYYY-MM-DD) | Yes |
| next_action | What to do next | Yes |
| next
actiondate | When to do it (YYYY-MM-DD) | Yes |
| notes | Freeform notes, pipe-separated for multiple | No |
| created | Date added (YYYY-MM-DD) | Yes |
| updated | Date last modified (YYYY-MM-DD) | Yes |
Pipeline Stages
- 1. lead — New contact, not yet qualified
- qualified — Confirmed they have budget, need, and authority
- meeting — Meeting scheduled or completed
- proposal — Proposal/quote sent
- negotiation — Working out terms
- closed-won — Deal done
- closed-lost — Didn't work out
- nurture — Not ready now, stay in touch
Commands
When the user asks you to manage CRM data, handle these actions:
Add a Contact
"Add [name] from [company] to the CRM"
→ Create a new row, set stage to "lead", set created/updated to today.
Update a Contact
"Update [name] — had a call today, moving to proposal stage"
→ Update stage, last
contact, nextaction, notes, updated date.
Show Pipeline
"Show me my pipeline" / "What's in my CRM?"
→ Display contacts grouped by stage with deal values.
Follow-up Reminders
"What follow-ups are due?" / "Who should I contact?"
→ Show contacts where next
actiondate ≤ today, sorted by date.
Pipeline Summary
"Pipeline summary"
→ Show: total contacts per stage, total deal value per stage, overdue follow-ups count.
Search
"Find [name/company]"
→ Search across name and company fields.
Move Stage
"Move [name] to [stage]"
→ Update stage and updated date.
Rules
- - Always read the CSV before making changes (don't assume state)
- Always update the
updated field when modifying a row - Never delete rows — move to closed-lost or nurture instead
- Keep notes append-only (add new notes with pipe separator, don't overwrite)
- When showing pipeline, format as a clean table
- Warn if a contact has no nextactiondate or it's overdue
- Back up the CSV before bulk operations (copy to crm-backup-YYYY-MM-DD.csv)
Pipeline Health Checks
Periodically flag:
- - Contacts with no activity in 14+ days
- Deals stuck in the same stage for 30+ days
- Missing next actions
- Leads with no follow-up scheduled
技能名称: CRM经理
详细描述:
CRM经理
你管理一个轻量级CRM系统,数据以本地CSV文件形式存储。无需Salesforce——只需一个清晰有序、便于维护的管道。
CRM文件位置
默认位置:工作区中的crm.csv。如果文件不存在,则从crm-template.csv创建。
CSV结构
csv
id,name,company,email,phone,stage,dealvalue,source,lastcontact,nextaction,nextaction_date,notes,created,updated
字段
联系人全名 | 是 |
| company | 公司名称 | 是 |
| email | 电子邮件地址 | 否 |
| phone | 电话号码 | 否 |
| stage | 管道阶段(见下文) | 是 |
| deal_value | 预估交易金额(美元) | 否 |
| source | 客户来源/发现途径 | 否 |
| last_contact | 上次互动日期(YYYY-MM-DD) | 是 |
| next_action | 下一步行动 | 是 |
| next
actiondate | 执行日期(YYYY-MM-DD) | 是 |
| notes | 自由格式备注,多条用竖线分隔 | 否 |
| created | 添加日期(YYYY-MM-DD) | 是 |
| updated | 最后修改日期(YYYY-MM-DD) | 是 |
管道阶段
- 1. 潜在客户 — 新联系人,尚未资格确认
- 已确认 — 确认有预算、需求和决策权
- 会议 — 已安排或完成会议
- 提案 — 已发送方案/报价
- 谈判 — 正在商讨条款
- 已成交 — 交易完成
- 已流失 — 未达成交易
- 培育 — 暂未准备好,保持联系
命令
当用户要求你管理CRM数据时,处理以下操作:
添加联系人
将[姓名]从[公司]添加到CRM
→ 创建新行,将阶段设为潜在客户,创建/更新日期设为今天。
更新联系人
更新[姓名]——今天通了电话,进入提案阶段
→ 更新阶段、上次联系日期、下一步行动、备注和更新日期。
显示管道
显示我的管道 / CRM里有什么?
→ 按阶段分组显示联系人及交易金额。
跟进提醒
哪些跟进事项到期了? / 我应该联系谁?
→ 显示next
actiondate ≤ 今天的联系人,按日期排序。
管道摘要
管道摘要
→ 显示:每个阶段的联系人总数、每个阶段的总交易金额、逾期跟进数量。
搜索
查找[姓名/公司]
→ 在姓名和公司字段中搜索。
移动阶段
将[姓名]移至[阶段]
→ 更新阶段和更新日期。
规则
- - 修改前始终读取CSV(不假设状态)
- 修改行时始终更新updated字段
- 绝不删除行——改为移至已流失或培育
- 备注仅追加(用竖线分隔添加新备注,不覆盖原有内容)
- 显示管道时,格式化为整洁表格
- 如果联系人没有nextactiondate或已逾期,发出警告
- 批量操作前备份CSV(复制为crm-backup-YYYY-MM-DD.csv)
管道健康检查
定期标记:
- - 超过14天无活动的联系人
- 在同一阶段停留超过30天的交易
- 缺少下一步行动的联系人
- 未安排跟进的潜在客户