gmail-to-crm-pipeline — скилл для Claude Code: лиды из Gmail в CRM
Скилл gmail-to-crm-pipeline проходит по непрочитанным письмам в Gmail, оценивает лиды по ICP и складывает подходящие в Supabase. Ответы готовит черновиками.
MIT 260 установок ★ 440 обновлён 2026-10-20
npx skills add OneWave-AI/claude-skills --skill gmail-to-crm-pipeline -a claude-codeЧто делает gmail-to-crm-pipeline
Скилл читает входящие через коннектор Gmail и ведёт CRM в Supabase. Внешние скрипты и ключи API не нужны: оба коннектора подключаются в Claude Code как MCP.
Работа идёт по шагам. Сначала поиск непрочитанных писем за окно, по умолчанию последние 24 часа, потом разбор и извлечение полей. Дальше оценка: ICP даёт до 40 баллов, намерение до 35, срочность до 25. Лид с суммой от 25 получает черновик ответа под свой тир и запись в таблицах Supabase. Письма скилл сам не отправляет.
В конце прогона в рабочей папке появляется lead-pipeline-report.md со сводкой по воронке. Без подключённых коннекторов Gmail и Supabase скилл не стартует: первый шаг — проверка, что оба доступны. Таблицы CRM создаются при первом запуске, настройки ICP читаются из таблицы pipeline_config.
Какие задачи решает
- разобрать непрочитанные письма из Gmail в структурированные карточки лидов
- оценить входящий запрос по ICP, намерению и срочности
- подготовить черновик ответа под тир лида, не отправляя его
- занести квалифицированный лид в Supabase без дублей
- собрать отчёт по воронке в
lead-pipeline-report.md
Примеры запросов агенту
- Прогони пайплайн: найди непрочитанные письма за последние 24 часа и оцени лиды.
- Отметь этот лид как contacted и поставь follow-up на завтра.
- Пересобери
lead-pipeline-report.mdи покажи сводку по воронке.
Как установить gmail-to-crm-pipeline
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill gmail-to-crm-pipeline -a claude-code2Вручную: положить файлы
~/.claude/skills/gmail-to-crm-pipeline/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/gmail-to-crm-pipeline/
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill gmail-to-crm-pipeline -a codex2Вручную: положить файлы
.agents/skills/gmail-to-crm-pipeline/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill gmail-to-crm-pipeline -a cursor2Вручную: положить файлы
.cursor/skills/gmail-to-crm-pipeline/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install OneWave-AI/claude-skills gmail-to-crm-pipeline2Вручную: положить файлы
.github/skills/gmail-to-crm-pipeline/SKILL.md1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill gmail-to-crm-pipeline -a gemini-cli2Командой платформы
gemini skills install https://github.com/OneWave-AI/claude-skills --path gmail-to-crm-pipelineВручную: положить файлы
.devin/skills/gmail-to-crm-pipeline/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill gmail-to-crm-pipeline -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о gmail-to-crm-pipeline
Как установить gmail-to-crm-pipeline в Claude Code?
Выполните npx skills add OneWave-AI/claude-skills --skill gmail-to-crm-pipeline -a claude-code. Файл скилла появится по пути ~/.claude/skills/gmail-to-crm-pipeline/SKILL.md.
Что делает gmail-to-crm-pipeline?
Ищет непрочитанные письма в Gmail, извлекает из них профиль лида, ставит баллы по ICP, намерению и срочности, готовит черновик ответа и пишет квалифицированный лид в Supabase.
Нужны ли ключи API?
Нет, работа идёт через MCP-коннекторы Gmail и Supabase, внешние скрипты и ключи API не требуются. Подключить оба коннектора всё равно придётся, иначе первый шаг не пройдёт.
Исходный текст
SKILL.md · MIT
--- name: gmail-to-crm-pipeline description: Uses MCP Connectors to read Gmail inbound leads, score them by ICP fit, draft personalized responses, and log qualified leads to your CRM. Turns your inbox into an automated pipeline. tools: Read, Write, Bash, Grep, WebSearch model: inherit --- # Gmail-to-CRM Pipeline Turn a Gmail inbox into a structured sales pipeline using Claude's MCP Connectors -- the Gmail connector reads and drafts email, and the Supabase connector persists CRM data. No external scripts or API keys required. ## Workflow 1. **Connect.** Verify the Gmail and Supabase MCP Connectors are available. On first run, create the CRM tables and seed config. Load ICP config from the `pipeline_config` table. See `references/configuration.md` (first run, error handling) and `references/crm-schema.md`. 2. **Search.** Run the targeted Gmail search queries to find unread lead emails over the time window (default: last 24 hours). Collect unique message IDs and deduplicate. See `references/gmail-retrieval.md`. 3. **Parse.** Read each unique message, strip signatures and disclaimers, and extract the structured field set. See `references/gmail-retrieval.md`. 4. **Extract.** Build the lead profile (contact, company, inquiry, metadata) for each email. Set missing fields to `null` rather than guessing. See `references/lead-extraction.md`. 5. **Score.** Score each lead on ICP fit (0-40), intent (0-35), and urgency (0-25), then apply adjustment modifiers. Map the total to a qualification tier and priority. See `references/scoring-model.md`. 6. **Draft.** For each qualified lead (score >= 25), draft a personalized, tier-appropriate response and save it as a Gmail draft. Never auto-send. See `references/response-templates.md`. 7. **Log.** Check for duplicates, then insert or update the lead in Supabase, log activity, and set the next action by priority. See `references/crm-schema.md`. 8. **Report.** Query the pipeline snapshot and generate `lead-pipeline-report.md` in the working directory, then display the executive summary. See `references/pipeline-report.md`. Between runs, handle manual lead commands (mark contacted, move stage, disqualify, add note, schedule follow-up, query leads) and ICP/search customization. See `references/configuration.md`. ## Hard Rules - Never auto-send email -- always create drafts for the user to review and send. - Never store raw email bodies or credentials in Supabase or any report; store structured data and key quotes only. - Treat all lead and email content as confidential. ## Contents - `references/gmail-retrieval.md` -- Gmail MCP tools, search queries, parsing rules, extracted field set. - `references/lead-extraction.md` -- Lead profile JSON schema and extraction guidelines. - `references/scoring-model.md` -- ICP, intent, urgency scoring tables; tier mapping; adjustment rules. - `references/response-templates.md` -- Per-tier response templates, personalization rules, anti-patterns, draft creation. - `references/crm-schema.md` -- Supabase MCP tools, table DDL, logging procedure and SQL. - `references/pipeline-report.md` -- Report Markdown structure and reporting SQL queries. - `references/configuration.md` -- First-run setup, customization, manual commands, error handling, privacy, invocation triggers.
© OneWave-AI · MIT · OneWave-AI/claude-skills