docs.clickmax.io

clickmax-list-segments

Use when the user wants to create, inspect, update, reload, or use manual lists and dynamic segments to group leads in Clickmax.

First seen Jun 16, 2026

Installation

$ npx skills add https://docs.clickmax.io

Also in this package

Other skills from docs.clickmax.io · top by installs.

npx skills add https://docs.clickmax.io

Browse all from docs.clickmax.io

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Versionv12.1.3
LicenseMIT
CompatibilityRequer o MCP da Clickmax ativo e conectado. Os nomes de tool
More metadata
author
Bilhon Technologies LTDA
version
v12.1.3
tools
["lists_list","lists_create","lists_get","lists_update","lists_delete","lists_update_leads","lists_get_leads","segments_list","segments_create","segments_preview_count","segments_timeseries","segments_categories_metrics","segments_get","segments_update","segments_delete","segments_get_filters","segments_upsert_filters","segments_reload","segments_get_leads"]

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,100 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 81 installs

SKILL.md

As tools abaixo aparecem com os nomes que o MCP da Clickmax registra. Se o seu cliente de IA prefixar nomes de tool (mcp<servidor>, mcp<servidor>, ou outro), use o nome já prefixado que aparecer na sua lista de tools.

When this applies

Use this skill when the user wants manual list operations or dynamic segment logic: create/update/delete lists, manage list membership, build or replace segment filters, preview segment size, reload segments, or inspect list/segment leads.

Not this skill:

  • raw lead filtering without creating reusable grouping -> clickmax-leads
  • tag-based cohort labeling -> clickmax-tags

Key assumptions

  • manual lists and dynamic segments are different grouping models
  • segment updates also affect the synced backing list metadata and lead membership lifecycle
  • upserting segment filters replaces the full tree
  • segment filters are a FLAT ARRAY of {id, order, operator, field, negation, parentId?, value*} items, not nested objects — nesting comes from each item's parentId pointing at its parent GROUP item's own id; group items use field: 'children' + operator: 'childrenAnd'/'childrenOr'. Preserve every existing item (by id) when replacing, not just the branch being edited.
  • reload queues recomputation; it is not just a cosmetic refresh
  • Read [filter model](references/filter-model.md) before building non-trivial segment logic.

Thought process

  1. Decide whether the user needs one-off discovery or reusable grouping.
  2. Prefer manual lists for explicit curated membership.
  3. Prefer segments for filter-defined dynamic cohorts.
  4. Preview count before broad destructive changes when the filter tree is uncertain.

Execute guide

  • Manual list lifecycle: use listscreate to create the list, then listsupdateleads to add or remove explicit lead IDs, then listsget_leads to verify the resulting membership.
  • List inspection and maintenance: use listslist to browse lists, listsget to inspect one list, and lists_update when the user wants to rename the list or change its emoji.
  • Dynamic segment lifecycle: use segmentscreate to create the segment shell, segmentspreviewcount to estimate cohort size from a candidate filter tree, and segmentsupsert_filters to replace the segment's full filter definition.
  • For nested AND/OR or negation, model the filter tree from [filter model](references/filter-model.md), preview the count, then upsert the complete tree.
  • Segment inspection and recomputation: use segmentsget for the segment record, segmentsgetfilters for the current filter tree, segmentsreload when the user wants membership recomputed, and segmentsgetleads to inspect the resulting cohort.
  • Analytics follow-up: use segmentstimeseries or segmentscategories_metrics when the user wants trend or category breakdowns for a segment instead of only raw membership.
  • Order of operations: manual list = create or inspect list -> update explicit lead IDs -> verify visible leads. Dynamic segment = inspect current definition -> preview broad or uncertain logic -> replace the full filter tree -> reload when refreshed membership matters -> inspect resulting leads.

Report

  • Start with Assumption: manual list or Assumption: dynamic segment when the user's goal could fit both models.
  • For lists: report the list name, membership change, current visible count, and show up to 10 notable leads followed by +N more when needed.
  • For segments: report the filter logic, preview size, reload state, and current visible count; call out broad conditions that may over-select the cohort.
  • Treat follow-up mutations as opt-in: suggest update, reload, or delete only after showing the current state or impact.

Warnings

  • Segment filter replacement is full replacement, not append/patch.
  • Deleting a segment cascades filters, synced list, and membership.
  • Filter-order-only changes may not trigger meaningful recomputation.

Anti-patterns

  • Using lists when the user clearly needs a self-updating segment.
  • Replacing segment filters without previewing the impact when the logic is broad.
  • Treating a synced segment-backed list like an arbitrary manual list.