Lead Finder Phase 6: Summary & CSV

VerifiedCaution

Finalize the lead-finder process: verify CSV, display summary, close browser without logout, and update state.

Sby Skills Guide Bot
ProductivityIntermediate
8/13/2026
Claude Code
#lead-finder#instagram#playwright#csv-export#session-management

Recommended for

Automated summary

Final phase of the Lead Finder workflow: verifies the CSV export, displays a formatted summary of results, closes the browser session without logging out, and updates the progress state.

Strengths

  • Clear step-by-step instructions with exact shell commands and Python snippets.
  • Preserves Instagram session cookies by avoiding logout, improving efficiency.
  • Provides a structured summary and next-step enrichment suggestions.
  • Ensures state is marked complete for reproducibility.

Limitations

  • Requires the state file and prior phases to have run successfully.
  • Paths and file names are hardcoded to a specific local repository.
  • No error handling if CSV is missing or state is malformed (not described).
When to use it

Use at the end of a Lead Finder run to wrap up, report results, and prepare for the next phase.

When not to use it

Do not use if the lead-finder state is absent or the user still needs to modify collected leads before closing.

Security analysis

Caution
Quality score80/100

The skill executes bash and Python for legitimate file operations and state updates. No destructive, exfiltrating, or obfuscated actions are present, but the use of scripting tools without declared permissions warrants caution.

Findings
  • •Uses bash (cat, ls) and inline Python to read/write files.
  • •No allowed-tools declared in frontmatter, so tool permissions are unclear.
  • •Python script directly writes to a state file; harmless but could overwrite if path assumptions change.
How this analysis is made

Examples

Wrap up lead finder
Finish phase 6 of the lead-finder: show the final summary, confirm the CSV, close the browser session, and mark the state complete.
Generate summary and suggest next steps
Lead finder phase 6: print the results summary, list top leads, and suggest /enrich-lead commands for the best ones.
Close browser without logout
Run lead-finder phase 6 cleanup: verify CSV, display summary, navigate to about:blank, and update progress state.

name: lead-phase-6 description: Fase 6 do lead-finder — Resumo final, CSV e fechar sessao user-invocable: false

Fase 6 — Resumo + CSV + Fechar

Leia o state file:

cat data/_state/lead-finder-progress.json

6.1 Garantir CSV salvo

Verifique que todos os leads foram salvos via instagram_append_lead na Fase 4. Se algum ficou pendente, salve agora.

Identifique o CSV gerado:

ls -t leads/leads_*.csv | head -1

6.2 Mostrar resumo

========================================
  RESULTADO — Lead Finder (Playwright)
========================================
  Nicho: [nicho] | Cidade: [cidade]
  Candidatos Google:     XX
  Do cache (pulados):    XX
  Validados:             XX
  Leads encontrados:     XX
    QUENTES: XX
    MORNOS:  XX
    FRIOS:   XX
  Similares descobertos: XX
  CSV: leads/leads_XXXXXXXX.csv
========================================

  TOP LEADS:
  ──────────────────────────────────────
  1. @username (QUENTE, score 8)
     Nome: [full_name]
     [followers] seg. | [posts] posts
     Bio: [resumo bio]
     Site: nenhum
     Fotos: [N] imagens HD capturadas
     Motivos: sem site, conta comercial, conta nova

  2. @username (QUENTE, score 7)
     ...
  ──────────────────────────────────────

  PROXIMO PASSO:
  /enrich-lead --nome "X" --cidade "Y" --nicho "Z" --source "instagram" --id "@username" --instagram "username"
========================================

6.3 Fechar sessao do browser

NAO faca logout do Instagram — os cookies persistem entre sessoes. Apenas navegue para uma pagina neutra:

browser_navigate: about:blank

Isso deixa a sessao do Instagram ativa para a proxima vez.

6.4 Atualizar state

Marque a sessao como completa:

cd /Users/felipemoreiralanna/Documents/GitHub/vendedor-de-sites-v2
.venv/bin/python3 -c "
import json
from datetime import datetime
with open('data/_state/lead-finder-progress.json') as f: state = json.load(f)
state['current_phase'] = 6
state['phases']['phase_6'] = {'status': 'complete'}
state['completed_at'] = datetime.now().isoformat()
with open('data/_state/lead-finder-progress.json', 'w') as f: json.dump(state, f, indent=2, ensure_ascii=False)
"

CRITERIO DE CONCLUSAO

  • CSV verificado e path confirmado
  • Resumo formatado mostrado ao usuario
  • Top leads listados com detalhes
  • Sessao do browser limpa (sem logout)
  • Sugestao de /enrich-lead para os melhores leads
  • State marcado como completo

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/lead-finder-phase-6-summary-csv-msr1u7jq/download' --output '.skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq/SKILL.md.part' && mv '.skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq/SKILL.md.part' '.skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq/SKILL.md' && test -s '.skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/lead-phase-6' && cp -R '.skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq' '.claude/skills/lead-phase-6'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq'

openskills read 'lead-finder-phase-6-summary-csv-msr1u7jq'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/lead-finder-phase-6-summary-csv-msr1u7jq/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills