clickmax-payments-dashboard-analysis
Use when the user wants payment dashboard KPIs, paginated dashboard views, my-sales queries, filter lookups, or a recoverable-revenue reading (how much is failed/canceled/refunded/pending/abandoned to win back) for seller revenue analysis in Clickmax.
How do I install this agent skill?
npx skills add https://docs.clickmax.io --skill clickmax-payments-dashboard-analysisIs this agent skill safe to install?
No partner audit is available yet. Read the source before installing.
What does this agent skill do?
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 for payment dashboard browsing and seller revenue analysis: headline KPIs, dashboard filter discovery, paginated transactions/subscriptions/affiliate lists, my-sales queries, external sales charts, and the recoverable-revenue reading (how much money is still winnable back across failed, canceled, refunded, pending, and abandoned-cart cohorts).
Not this skill:
- detailed refund operations ->
clickmax-transaction-operations - customer subscription lifecycle mutation ->
clickmax-seller-subscriptions - why sales are failing, grouped by reason with the recoverable value per reason ->
clickmax-failure-diagnosis
Key assumptions
dashboard_filtersis the discovery surface for valid filter valuesdashboard_my_salessupports richer filter bodies than the simpler paginated listsdashboard_my_salessplits into rows and KPIs:dashboard_my_sales_aggregationsreturns the KPI object alone, anddashboard_my_saleswithincludeAggregations: falsereturns the rows alone. Asking for both when you need one costs ~15 full scans for nothing.- list endpoints and KPI endpoints can derive time windows differently from the chosen range
- external sales are a separate surface and should not be merged blindly into native sales conclusions
recovery_recoverable_revenueis the cheap aggregate for "how much can I recover" — it returns deduplicated buckets (failed, canceled, refunded, pixPending, boletoPending, cartAbandonment) plus reason/stage breakdowns, without paginating rows; prefer it over pagingdashboard_my_salesjust to re-sum recoverable moneydashboard_getanddashboard_my_sales_aggregationsscope sales DIFFERENTLY — not interchangeable for a count:dashboard_get.byStatusblends owner + affiliate + coproducer roles into one number; the my-sales aggregations (totalNumberOfSalesPaid/Failed/Canceled/Refunded) scope strictly tosellerId = ownerId, matching what the visual dashboard's sales table/tab shows. Usingdashboard_getto answer "how many sales did I make" overcounts vs. what the user sees on screen.- KPI values are cached briefly per (workspace + filters), so a sale made seconds ago can be in the rows before it is in the totals. Do not reconcile a row-level count against the KPI object in the same breath.
Thought process
- ANY sales value/count question ("quantas vendas hoje", "quanto vendi", "quanto faturei", "como estão minhas vendas", "e agora?" refresh) → MANDATORY sales-overview bundle (defined in
clickmax-analytics): in the SAME script also callrecovery_recoverable_revenue(or reuseaggregations.recoverywhendashboard_my_sales_aggregationsalready ran) +transactions_failure_breakdown, same window. Skip only when the user explicitly limits the answer ("só o número", "só vendas pagas"). - Identify whether the user needs KPIs, paginated rows, filter discovery, deeper my-sales queries, or the recoverable-revenue total.
- Prefer the narrowest dashboard surface that answers the question.
- Use my-sales when the filter logic is more expressive than the lightweight dashboard lists.
- For "how much is there to recover", size it with the recoverable-revenue aggregate first, then drill into a specific cohort only if the user asks.
Execute guide
- For "how many sales did I make" / seller-scoped counts (matches the visual dashboard), use
dashboard_my_sales_aggregations(totalNumberOfSalesPaid/Failed/Canceled/Refunded,totalSales), NOTdashboard_get— see scope warning in Key assumptions. It takes the same filter body minus pagination and sorting. - For top-level KPI snapshots that intentionally blend owner+affiliate+coproducer (balance, overall earnings trend), use
dashboard_getwith the requested range and only the narrow filters that materially change the reading, such as product. - For available filter values before analysis, use
dashboard_filterswith an empty body once per session, then reuse discovered project/product/client/status values instead of guessing ids or labels. - Keep filter shape explicit: date ranges, status/project/product/client filters, pagination (
page/perPage), and sorting (column/order) materially change dashboard rows. - For paginated dashboard browsing, use the smallest list that matches the request:
- transactions ->
dashboard_transactions_list - subscriptions ->
dashboard_subscriptions_list - affiliates ->
dashboard_affiliates_list
- transactions ->
- For seller-revenue analysis with richer filter bodies, prefer
dashboard_my_sales, especially when the question depends onproductIds,transactionStatus, or an explicittransactionPeriodwindow. When you are scanning rows (cohorts, per-buyer joins, exports), passincludeAggregations: false. - For "how much do I have to recover" (aggregated recoverable revenue across every loss/pending cohort), use
recovery_recoverable_revenuewith an optional period and product/offer/project scope. It reconciles with the recovery totals shown on the my-sales screen. Do not pagedashboard_my_saleswith non-paid statuses just to re-sum what this aggregate already returns. - For listing recent abandoned carts (the concrete people, offer, and stage
personal_data/payment_data), uselead_activities_listfiltered to thecart.abandonment.v1event. Take the cart value from the offer's current price. - For external-sales trend reading, use
dashboard_external_sales_chartwith explicitfrom,to, and period granularity such asdaily. - For external-sales row analysis, use
dashboard_external_sales; keep those conclusions separate from native dashboard KPIs unless the user explicitly wants a combined comparison.
Report
- Lead with the business takeaway and the period assumption.
- Order results from highest-signal KPI or cohort insight to supporting rows.
- Cap long row dumps and prefer ranked summaries with
+N morewhen needed. - Treat follow-up actions as opt-in only.
- A sales-count/value answer ("quantas vendas", "quanto vendi") ALWAYS leads with a
cx-herofor the paid value + count (value-tone="positive"), even for a single sale or a small amount — never state the sales value only in prose. This mirrors the recovery rule below and holds regardless of how many sales there are. Then, same reply:cx-heroa recuperar (warning,icon="database-sync") +cx-rankingof top failure reasons (warning,hint= next action perclickmax-failure-diagnosis) + one opt-in next step. Refresh follow-ups ("e agora?") re-run the whole bundle and keep the same shape. - Recoverable revenue is money still winnable back, not a consummated loss — present it end to end in the
warningmoney tone, nevernegative. Lead a recovery answer with acx-herofor the total recoverable value (icon="database-sync"), then acx-breakdown(layout="kanban") by origin/stage; differentiate sub-cases (bank decline vs pending vs abandoned) viahint/label text, not by changing the tone. Empty state: "Nada a recuperar no período 🎉". Never surface card data or CPF/document.
Warnings
- Do not merge external-sales semantics into native dashboard KPIs without stating it.
- Dashboard ranges and filter bodies matter to interpretation.
- Recoverable revenue is an opportunity, not realized revenue — never colour it green (
positive) or red (negative); it iswarning(yellow).
Anti-patterns
- Answering "quantas vendas / quanto vendi" with only the paid hero and making the user ask for recoverable value, failures, and next action one by one.
- Stating the sales value/count only in prose instead of a
cx-hero— the model may plan a hero in its own reasoning and then drop it when writing the final answer; the hero is mandatory output, not optional polish. - Pulling my-sales for every small dashboard question.
- Dumping raw paginated rows without synthesis.
- Paging
dashboard_my_saleswith non-paid statuses to re-count recoverable money thatrecovery_recoverable_revenuealready aggregates. - Paging
dashboard_my_salesto sum a KPI thatdashboard_my_sales_aggregationsreturns in one call. - Scanning rows without
includeAggregations: false, which recomputes every KPI on every page.
Clickmax skill revision: a13590fbff81
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/docs.clickmax.io/clickmax-payments-dashboard-analysis">View clickmax-payments-dashboard-analysis on skillZs</a>