ops-leadgen

ops-leadgen: An OPS on-demand skill. Use when a user asks for actions such as “generate lead drafts” or “approve cold emails.”

Last repository push
GitHub Stars
564
Forks
64
Issues / PRs
6

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ops-leadgen" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bff4f3c63892c182f1770071005eb8f5d9d2661f293917200b705fb3523b5652. Verify the upstream source and version against https://github.com/Lifecycle-Innovations-Limited/claude-ops before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

ops-leadgen: An OPS on-demand skill. Use when a user asks for actions such as “generate lead drafts” or “approve cold emails.”

0 Downloads

Introduction source: third_party · Lifecycle-Innovations-Limited · 0.0.1 Reference

SkillPi interpretation

Tasks
OPS on-demand: This skill should be used when the user asks to \"leadgen drafts\", \"cold email approve\"…
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ops-leadgen
description: "OPS on-demand: This skill should be used when the user asks to \"leadgen drafts\", \"cold email approve\"…"
argument-hint: '[review | send --draft-id N | usage | scrape | draft]'
allowed-tools:
  - Bash
  - Read
effort: low
maxTurns: 20

ops-leadgen

Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).

Wraps my-project-leadgen CLI for the daily leadgen review-and-send loop.

Repo: ~/Projects/my-project-b2b-leadgen DB: ~/Projects/my-project-b2b-leadgen/leads.db (gitignored) Run with Doppler: doppler run --project my-project-b2b-leadgen --config dev -- my-project-leadgen <cmd>

Argument routing

Argument Action
review (default) Show pending drafts one-by-one, approve or skip
send --draft-id N Send a single approved draft (Rule-6 gated)
usage Print today's Apollo reveals + Apify runs
scrape [--limit N] Discover new NL HR contacts via Apollo
enrich Run Apify enrichment on unenriched leads
draft Generate Claude NL/EN drafts for undrafted leads

Review + send flow (Rule 6)

NEVER send multiple drafts in one turn. Each send is a separate staged-draft → approval → send cycle.

  1. Run my-project-leadgen review (or fetch pending drafts from DB directly)
  2. For each pending draft, show the user:
    • Lead: name, title, company, email
    • Language, subject, full body
  3. Ask: [Send] / [Skip] / [Stop review]
  4. On [Send]: a. Show complete draft one final time b. Wait for the owner to type ok / send / ship it — this creates /tmp/.claude-send-ok c. Run: doppler run --project my-project-b2b-leadgen --config dev -- my-project-leadgen send --draft-id N d. Confirm output shows Sent OK. Gmail message ID: <id>
  5. Move to the next draft only after the current one is fully resolved.

Scrape → enrich → draft (pipeline)

# Step 1: discover contacts (costs Apollo reveals — check usage first)
doppler run --project my-project-b2b-leadgen --config dev -- \
  my-project-leadgen usage

doppler run --project my-project-b2b-leadgen --config dev -- \
  my-project-leadgen scrape --limit 50

# Step 2: enrich with Apify website crawler
doppler run --project my-project-b2b-leadgen --config dev -- \
  my-project-leadgen enrich

# Step 3: generate Claude drafts
doppler run --project my-project-b2b-leadgen --config dev -- \
  my-project-leadgen draft

# Step 4: review + send (Rule-6 gated, one at a time)
doppler run --project my-project-b2b-leadgen --config dev -- \
  my-project-leadgen review

Daily usage cap

  • Apollo reveals: 200/day max (tracked in leads.db daily_usage)
  • Apify runs: ~$0.02/run (3 pages per domain)
  • Always run usage first to check remaining reveals before scraping

DB queries (read-only diagnostics)

# Pending drafts count
sqlite3 ~/Projects/my-project-b2b-leadgen/leads.db \
  "SELECT count(*) FROM drafts WHERE status='pending';"

# Today's sends
sqlite3 ~/Projects/my-project-b2b-leadgen/leads.db \
  "SELECT d.subject, l.email, s.sent_at FROM sends s
   JOIN drafts d ON d.id=s.draft_id
   JOIN leads l ON l.id=d.lead_id
   WHERE date(s.sent_at)=date('now');"

Rule 6 — no exceptions

Per CLAUDE.md Rule 6: every outbound send requires individual staging + approval. The my-project-leadgen send command physically blocks unless /tmp/.claude-send-ok exists. the owner creates this token by typing ok / send it / ship it in the chat. Token is one-shot — consumed on send. Next send needs a new approval.

Version history

  1. v3.12.1 GitHub ↗
    Original release notes

    ### Fixed - ops-task-reminder: the portable lock now runs the whole counter transaction under a real fcntl.flock, so one worker can no longer remove another's fresh lock and lose counter updates.

  2. v3.12.0 GitHub ↗
    Original release notes

    ### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.

  3. v3.11.0 GitHub ↗
    Original release notes

    ### Changed Release safety, maintenance and inbox fixes from #1033: passive daemon monitoring, timezone-safe AWS audit dates, fail-closed release merge gates (same-head CI, Copilot review, resolved threads), progressive inbox with attachment and archive read-back proofs, and gate-only outbound wording in ops-desk and ops-leadgen.

  4. v3.10.29 GitHub ↗
    Original release notes

    ### Fixed - `ops-speedup --clean` stays under 60s: on macOS it skips the slow login-items query (#1036); on Linux it skips the unused disk-reclaim scan and keeps the page cache unless `--aggressive` is set (#1035). - `ops-inbox` shows validated drafts as soon as each one is ready instead of after the whole scan (#1031). ### Changed - Hooks `ops-pretool-skill-update` and `ops-task-reminder` run async; the reminder takes a per-session lock so concurrent runs no longer lose counts, and it now also resets on Task* tools (#1032).

  5. v3.10.28 GitHub ↗
    Original release notes

    ### Changed ops-ar: Cyanite schema drift (fileUploadRequest id, ID! upload var), real auth test via libraryTracks, webhook must verify HMAC-SHA512 Signature, bpmRangeAdjusted vs bpmPrediction, Soundcharts app-id/key pairing.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供 B2B 潜在客户生成、草稿审核与冷邮件发送的完整运营自动化流程
  • 解决明确的商业运营痛点,具备高实用价值与高频使用场景
Trigger Precision88/100

Areas to improve

  • description 内容重复 Reported severity: Minor

    顶层 frontmatter 与 skill_body 内部均包含 description 字段,内容重复

    Recommendation: 建议移除 skill_body 内部的 description 字段,保留顶层 frontmatter 中的定义

Highlights

  • 触发词精准覆盖 leadgen drafts、cold email approve 等核心场景
  • argument-hint 提供清晰的参数路由指引
Structure and Standards90/100

Highlights

  • 结构清晰,分模块阐述 Argument routing、Review + send flow、Pipeline 等关键流程
  • 包含端到端示例与 DB 查询,frontmatter 完整,符合规范
Execution Reliability92/100

Highlights

  • 工具来源明确,参数正确,覆盖 Apollo 配额检查等关键异常
  • 不可逆操作(send)具备严格的审批机制(/tmp/.claude-send-ok 令牌),确保执行安全
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.