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.14.0 GitHub ↗
    Original release notes

    ### Fixed - Daemon: memory extractions started early by new messages now record their exit code in `daemon-health.json`, like scheduled runs. - Daemon: a cron job that exits non-zero now raises `error_count` and sets `last_error` in `daemon-health.json`, and `/ops:daemon check` fails it. Successful runs set `last_success`. (#1085) - Daemon: self-upgrade on version drift no longer crashes on the undefined `LOG_FILE`. (#1085) - `inbox-digest` no longer aborts on hosts without a WhatsApp bridge. (#1085) - Account rotation: `daemon.mjs` loads again. #698 had deleted `isLoopSession` from `bg-respawn.mjs`. It is restored, along with the deferral of `/loop` sessions after rotation and in the deferred sweep: they respawn once no longer looping, or after 90 minutes. A host with this service installed starts rotating once updated. (#982) ### Added - `ops-rules` Rule 18 — "Steer every project toward profit". A standing rule for every ops skill: name the profit link (revenue up, cost down, revenue protected, or demand evidence gained) before picking or proposing work, read revenue and cost from the `ops-revenue` sources, run the `ops-pmf` gate at milestone start, prefer the shortest path to the first payment, and report outcomes in money terms. Placed in a new precedence tier, "Direction", below gates, truth and form: it selects among permitted work and never loosens the send, spend or no-fabrication rules. - `SubagentStart` hook: every subagent, including the agents in `agents/` (which do not load `ops-rules`), now starts with the same one-paragraph rules pointer the main session gets, including the Rule 18 profit line. `hooks/ops-rules-context.sh` takes the event name as its first argument and defaults to `SessionStart`. - Every agent file in `agents/` ends with the same short Rule 18 section; `tests/test-agents-lint.sh` fails when one is missing or differs. ### Changed - Plugin-root `CLAUDE.md` pointer now reads "Rules 0–18" (it still said 0–10). - Daemon: on Linux hosts without a reachable systemd user manager (containers, SSH without lingering), `ops-daemon.sh` no longer exits at startup. - Account rotation: restored the default-off post-respawn continuation turn (`CLAUDE_ROTATION_INJECT_CONTINUATION=1`) that #698 deleted, and run its test.

  2. v3.13.0 GitHub ↗
    Original release notes

    ### Added - New skill `ops-pmf` — demand-evidence gate & builder for the revenue/GTM layer. Before a build milestone starts it runs six forcing questions (who pays, when the first euro lands, what counted demand evidence exists), scores evidence in tiers E0–E3 (only commitment E2 and payment E3 count as proof), and issues one verdict per milestone: PASS, EVIDENCE-PENDING (named owner + evidence plan ≤ 14 days), or NO-REVENUE-PATH ("geen verdienpad" — loses build priority, labelled and parked, never silently built). Its `prove` subcommand does the evidence-collection work as drafts (pre-sale/deposit offers, paid-pilot/LOI drafts, landing copy handed to `ops-marketing`); all outbound and money actions stay draft → approval → send. Evidence lives in one ledger per project (`.planning/evidence/LEDGER.md`) with the summary in `.planning/PROJECT.md` § Revenue Model & PMF — the same files Amp coordinators and GSD-style phase work read, so there is one truth. - New agent `pmf-scout` (optional, read-only) — gathers demand signals and proposes ledger updates; tier changes to E2/E3 are confirmed by the gate, not the scout. - `ops-gtm`: the `plan` flow now runs the PMF gate as step 4b before the launch handoff (a NO-REVENUE-PATH verdict replaces the launch handoff with the evidence plan), and `brief` Proof points must cite ledger evidence or be marked `[assumed — no evidence yet]`.

  3. 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.

  4. 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.

  5. 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.

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.