Coletor De Dados logo

Coletor De Dados

Community
marketingLendario
coletor-de-dados

Etapa 1 do Squad de Dados (Aula 4) — coleta os dados brutos da Central de Dados. Meta Graph API (séries dia/mês/quarter, campanhas com metadados, funil agregado/por dia/por campanha×dia, heatmap dia×hora, demografia idade/gênero/UF, engajamento orgânico) e Hotmart (caixa real, sem PII), aplicando a config do painel (período, produtos, expurgo de campanhas, labels). Use quando o aluno pedir para atualizar/recoletar os dados do painel, mudar o período ou os produtos da análise, conectar as vendas, ou quando o bundle estiver desatualizado. Sem credenciais cai no Modo Exemplo (fixture) — nunca trava.

Overview

PublishermarketingLendario
Repositorycohort-de-marketing
Skill namecoletor-de-dados
Stars
28
Forks
33
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by marketingLendario on GitHub. Read the source before you install it.

Installation

Install the Coletor De Dados AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/marketingLendario/cohort-de-marketing/tree/main/.agents/skills/coletor-de-dados
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/marketingLendario/cohort-de-marketing.git /tmp/cohort-de-marketing
mkdir -p .claude/skills
cp -r /tmp/cohort-de-marketing/.agents/skills/coletor-de-dados .claude/skills/coletor-de-dados
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Coletor De Dados in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Coletor De Dados on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Coletor De Dados is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Coletor de Dados — Squad de Dados Lendár[IA] (etapa 1)

Você coleta a matéria-prima da Central de Dados: o bundle.json (Meta) e o vendas.json (caixa). Só leitura — nada aqui altera campanha. Setup de chaves/modo é o Passo 0 do hub /analista-de-dados (delega ao /zelador); se o aluno chegou aqui sem ambiente decidido, resolva o Passo 0 primeiro.

Contrato (inegociável)

Não-inferir: só entra o que a API entrega pronto; derivados são Calculado e rotulados. PII nunca (nem comprador, nem autor de comentário — só textos e agregados). Segredos passam pelo scrubber; nada de token em log ou arquivo de saída.

Config do painel — grave antes de coletar (pergunte)

Pergunte o período (default 90 dias) e quais produtos carregar nas vendas. Grave/atualize projetos/{slug}/dados-trafego/painel-config.json (idempotente):

jsonc
{ "schemaVersion":"1.0.0", "periodo_dias":90, "produtos_incluidos":"todos",
  "assoc_campanha_produtos":{}, "labels":{}, "campanhas_excluidas":[], "fieldMeta":{} }
  • campanhas_excluidas: expurgo — campanhas marcadas (acidente, conta compartilhada) saem no coletor e o painel filtra como salvaguarda. A decisão de expurgar é do aluno (o painel revela).
  • labels / assoc_campanha_produtos: rótulos e associações que o aluno edita no próprio painel (✎ Editar → "Salvar config"/"Copiar p/ chat" → você atualiza este arquivo e regenera).
  • Nunca grave segredos aqui.

Coleta Meta (bundle)

bash
node scripts/painel-trafego-data.mjs --account --perfil \
  --config=projetos/{slug}/dados-trafego/painel-config.json \
  --saida=projetos/{slug}/dados-trafego/bundle.json
# --periodo=<dias> sobrescreve pontualmente; --campaign-id=<id> p/ uma campanha;
# --ad-account-id=<id> usa outra conta só nesta execução; sem credenciais → fixture (modo exemplo).

O bundle traz: series.{dia,mes,quarter} · campanhas (até 100 por gasto, com inicio/criada/fim) · comparacao (deltas) · funil + funil_por_dia + funil_por_campanha_dia (compacto, coletado em janelas de 15 dias para não estourar timeout) · heatmap · demografia (breakdowns — sem token de página) · perfil (engajamento orgânico: até 100 posts + textos de comentários; sem escopo de página degrada com o motivo e o painel mostra "em breve").

Coleta do caixa (Hotmart — se conectada)

bash
node scripts/hotmart-vendas.mjs --dias=90 --produtos="todos" \
  --saida=projetos/{slug}/dados-trafego/vendas.json
# depois cruze caixa + Meta na MESMA janela:
node scripts/painel-trafego-data.mjs --account --perfil \
  --config=projetos/{slug}/dados-trafego/painel-config.json \
  --vendas=projetos/{slug}/dados-trafego/vendas.json \
  --saida=projetos/{slug}/dados-trafego/bundle.json

Sem credencial Hotmart, pule — o painel mostra "vendas não conectadas". A coleta grava só valor/produto/data/status agregados (por_dia_produto incluso, sem PII).

Atribuição (pergunte uma vez): UTM/SCK por campanha = Real (ideal — o aluno marca o link do anúncio com o id da campanha); nome do produto = Estimado; janela temporal = Estimado (default sem UTM/SCK). O "teto de ROAS" (receita total ÷ gasto Meta) é de TODOS os canais — nunca apresente como ROAS da Meta; sempre mostre a % de vendas rastreadas.

Validação da coleta (antes de encerrar)

Confira e reporte: modo (api/exemplo), nº de dias na série, nº de campanhas (e quantas expurgadas), funil presente, demografia com regiões, perfil disponível (ou o motivo), vendas conectadas. Qualquer seção indisponível é dita com o motivo — nunca inventada.

Próxima etapa: /board-de-especialistas (leitura) → /painel-de-dados (render). O hub /analista-de-dados faz a sequência inteira.


Squad de Dados Lendár[IA] · Aula 4 · Academia Lendária. Reusa scripts/lib/meta-graph.mjs e scripts/lib/hotmart.mjs.

Frequently asked questions

What does the Coletor De Dados AI skill do?

Etapa 1 do Squad de Dados (Aula 4) — coleta os dados brutos da Central de Dados. Meta Graph API (séries dia/mês/quarter, campanhas com metadados, funil agregado/por dia/por campanha×dia, heatmap dia×hora, demografia idade/gênero/UF, engajamento orgânico) e Hotmart (caixa real, sem PII), aplicando a config do painel (período, produtos, expurgo de campanhas, labels). Use quando o aluno pedir para atualizar/recoletar os dados do painel, mudar o período ou os produtos da análise, conectar as vendas, ou quando o bundle estiver desatualizado. Sem credenciais cai no Modo Exemplo (fixture) — nunca...

Why use Coletor De Dados on TypingMind?

Because you install it once and use it with any model. Coletor De Dados is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Coletor De Dados in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/marketingLendario/cohort-de-marketing/tree/main/.agents/skills/coletor-de-dados. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Coletor De Dados?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Coletor De Dados?

As many as you like. As long as a model supports skills, you can use Coletor De Dados with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Coletor De Dados AI skill free?

It is published on GitHub by marketingLendario. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇