crm-lite

用于跟踪客户互动与管理潜在客户的轻量级 CRM,适合没有专用 CRM 软件的小型企业。将联系人、潜在客户、活动、报价和沟通记录存储在本地 SQLite 数据库中。

仓库最近推送
GitHub Stars
129
Forks
22
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "crm-lite":https://skillpi.com/zh/skills/deepskill-6192dca32d1360dceb7d60e5c235989510293da9101a58b9e1f9822c03d626f4。安装前核对上游来源和版本:https://github.com/hewi333/Mom-n-Pop-Skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

用于跟踪客户互动与管理潜在客户的轻量级 CRM,适合没有专用 CRM 软件的小型企业。将联系人、潜在客户、活动、报价和沟通记录存储在本地 SQLite 数据库中。

0 下载

介绍来源: third_party · hewi333 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: crm-lite
description: "Use when tracking customer interactions, managing leads, or building a lightweight CRM for small businesses without dedicated CRM software. Stores contacts, leads, activities, estimates, and communications in local SQLite."
version: "1.0.0"
author: Hermes Agent
license: MIT
metadata:
  hermes:
    tags: [crm, sqlite, small-business, customer-management]
    related_skills: [estimator-engine, quickbooks-online, mailchimp-integration, stripe-payments, outlook-graph, small-business-website-spec]

CRM-Lite — Lightweight SQLite CRM for Small Business

Overview

A minimal, file-based CRM built on SQLite for non-technical small business owners. No server, no external dependencies, no auth complexity. Designed for agent-mediated use: the owner interacts via text message with the agent, which reads/writes this database.

When to Use

  • Small business (1-10 employees) with no existing CRM
  • Agent-mediated access — owners interact via chat/Telegram, not direct DB access
  • Lead tracking from website forms, referrals, email inquiries
  • Pipeline visibility — estimate sent → accepted/rejected → job scheduled → paid
  • Communication log — every email, call, text logged automatically

Don't Use For

  • Multi-user concurrent access with role-based permissions
  • Complex sales methodologies (MEDDIC, Challenger, etc.)
  • Real-time collaboration features
  • Integration with enterprise SSO/SCIM

Core Features

Data Model (SQLite: crm.db)

  1. customers — Core customer records

    • id (PK), name, email, phone, company, address, city, state, zip
    • lead_source, lead_status (new/qualified/estimate_sent/won/lost)
    • total_value, notes, created_at, updated_at
  2. leads — Inbound leads before qualification

    • id, source (website/referral/email/phone), contact_name
    • contact_email, contact_phone, company, property_address
    • sqft, ceiling_height, service_type, urgency
    • status (new/qualified/estimate_ready/scheduled/lost)
    • assigned_to, created_at, updated_at
  3. activities — Every touchpoint

    • id, customer_id (FK), lead_id (FK), activity_type (call/email/text/meeting/estimate_sent/estimate_accepted/estimate_rejected/job_scheduled/job_completed/invoice_sent/payment_received)
    • description, outcome, next_action, next_action_date
    • created_at, updated_at
  4. estimates — Estimate lifecycle

    • id, customer_id, lead_id, estimate_number, amount
    • status (draft/sent/accepted/rejected/expired)
    • sent_date, accepted_date, rejected_date, expires_date
    • line_items (JSON), notes, created_at, updated_at
  5. communications — Message log

    • id, customer_id, lead_id, direction (inbound/outbound)
    • channel (email/sms/telegram/phone), subject, body
    • sent_at, created_at
  6. tasks — Action items for owners

    • id, customer_id, lead_id, title, description
    • due_date, priority (low/medium/high/urgent), status (pending/in_progress/done)
    • assigned_to, created_at, updated_at

Quick Start

import sqlite3
from pathlib import Path

DB_PATH = Path("~/.hermes/crm/crm.db").expanduser()
DB_PATH.parent.mkdir(parents=True, exist_ok=True)

def init_db():
    conn = sqlite3.connect(DB_PATH)
    conn.execute("""
        CREATE TABLE IF NOT EXISTS customers (
            id INTEGER PRIMARY KEY AUTOINCREMENT,
            name TEXT NOT NULL, email TEXT, phone TEXT,
            company TEXT, address TEXT, city TEXT, state TEXT, zip TEXT,
            lead_source TEXT, lead_status TEXT DEFAULT 'new',
            total_value REAL DEFAULT 0, notes TEXT,
            created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
            updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
        )
    """)
    # ... other tables
    conn.commit()
    return conn

Agent Integration Patterns

Create Lead from Website Form

User: "New lead from website: John Smith, john@email.com, 555-555-0123, 123 Main St [CITY] [STATE] [ZIP], 2500 sqft, service request"
Agent: Creates lead record, sets status=qualified, creates task for the owner to review

Log Estimate Sent

User: "Sent estimate #EST-0001-0042 to John Smith for $2,850"
Agent: Updates estimate status=sent, creates activity, creates task for follow-up in 3 days

Weekly Pipeline Report (Cron)

Agent: Queries all leads/customers, summarizes by stage, sends to the owner via Telegram

Common Pitfalls

  1. Forgetting to create indexes — Add indexes on customers.email, leads.status, activities.customer_id for query speed
  2. Not backing up — SQLite file is the entire DB; copy to S3/Drive daily via cron
  3. Schema drift — Use migrations (numbered SQL files) rather than ad-hoc ALTER TABLE
  4. Concurrent writes — SQLite handles concurrent reads, but writes serialize; keep transactions short

Verification Checklist

  • [ ] crm.db created with all 6 tables
  • [ ] Indexes on foreign keys and query columns
  • [ ] Agent can: create lead, log activity, update estimate status, create task
  • [ ] Weekly report cron outputs: new leads, estimates sent, conversion rate, pipeline value
  • [ ] Backup script copies DB to offsite location daily

One-Shot Recipes

"New lead from referral"

conn = init_db()
lead_id = conn.execute("""
    INSERT INTO leads (source, contact_name, contact_email, contact_phone, company, property_address, sqft, service_type, status)
    VALUES ('referral', 'Jane Doe', 'jane@example.com', '555-555-0199', 'Example Realty', '456 Palm Ave [CITY] [STATE] [ZIP]', 3200, 'service_request', 'qualified')
""").lastrowid
conn.commit()

"Get pipeline summary for weekly report"

summary = conn.execute("""
    SELECT
        COUNT(CASE WHEN lead_status='new' THEN 1 END) as new_leads,
        COUNT(CASE WHEN lead_status='estimate_sent' THEN 1 END) as estimates_out,
        COUNT(CASE WHEN lead_status='won' THEN 1 END) as won,
        SUM(CASE WHEN lead_status='won' THEN total_value ELSE 0 END) as revenue
    FROM customers
""").fetchone()

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值68/100

亮点

  • 针对小型企业无专用 CRM 的明确场景,提供本地 SQLite 实现的轻量级客户管理功能
  • 涵盖联系人、潜在客户、活动、报价和沟通记录等核心 CRM 能力,具备实质性闭环体验
触发精准85/100

亮点

  • frontmatter 中 description 字段提供了清晰的触发条件,覆盖主要使用场景,边界清晰
结构规范92/100

亮点

  • 文档结构完整,包含多个清晰章节,步骤清晰,有端到端示例,frontmatter完整
执行可靠88/100

亮点

  • 提供了完整的 SQLite 数据模型定义、初始化脚本、常见陷阱说明和验证清单
  • 覆盖了主要异常并提供最佳实践建议,工具来源明确,参数正确
证据可验 (前四项均值)83/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。