AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Zipchat Sentiment Report

skill-koodit-claude-skill-zipchat-skill · by Koodit

Generate a sentiment analysis report from Zipchat conversations for a specific time period. Use this skill whenever someone asks to analyze Zipchat conversations, generate a sentiment report, check customer chat data, understand what customers are asking, or wants insights from Zipchat. Trigger even on casual phrases like "generate the Zipchat report", "analyze the conversations", "how did the ch…

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-koodit-claude-skill-zipchat-skill

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-koodit-claude-skill-zipchat-skill)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Zipchat Sentiment Report? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Zipchat Sentiment Report

Fetches conversations from your Zipchat account for a given date range, analyzes sentiment, and produces a structured report — all directly in the conversation.

Step 1 — Credentials

Check for credentials in this order:

  1. Environment variables (preferred):
  • ZIPCHAT_API_KEY
  • ZIPCHAT_CHAT_ID
  1. User-provided in conversation — if env vars are not set, ask:

> "To connect to your Zipchat account I need two things: > - API Key (find it in your Zipchat dashboard → Settings → Integrations → Backend API) > - Chat ID (the numeric ID of your chat, visible in the dashboard URL or in the same settings page)"

Once collected, use them for this session only. Never store credentials in files.

Step 2 — Date range

If the user hasn't specified dates, ask: > "What time period do you want to analyze? (e.g. 'last week', 'May 2026', or specific dates)"

Convert to ISO 8601 using today's date from the system context:

  • "last week" → 7 days ago to today (e.g. today=2026-05-26 → 2026-05-19T00:00:00Z / 2026-05-26T23:59:59Z)
  • "last month" → last 30 days
  • "May 2026" → 2026-05-01T00:00:00Z / 2026-05-31T23:59:59Z
  • Specific dates → append T00:00:00Z / T23:59:59Z

Always tell the user the exact period you are fetching before starting.

Step 3 — Fetch data

Generate a unique temp file path to avoid conflicts with parallel sessions:

ZIPCHAT_TS=$(date +%s)
DATA_FILE="/tmp/zipchat_data_${ZIPCHAT_TS}.json"
PROGRESS_FILE="/tmp/zipchat_progress_${ZIPCHAT_TS}.txt"

Run the bundled script:

python3 /scripts/fetch_conversations.py \
  "" "" "" "" \
  2>"$PROGRESS_FILE" > "$DATA_FILE"

Read $PROGRESS_FILE to check how many conversations were found. If 0, warn the user — likely wrong date range or invalid credentials.

Use $DATA_FILE throughout the analysis. Delete both temp files after the report is produced.

Technical note: The script sets a browser-like User-Agent header. This is required — Zipchat's API sits behind Cloudflare, which blocks Python's default User-Agent.

Step 4 — Analyze sentiment

Read $DATA_FILE. For each conversation, analyze user messages and assign:

  • 🟢 Positive — satisfied tone, enthusiastic, grateful, productive conversation with a good outcome, high engagement
  • 🟡 Neutral — informational query with no strong emotional markers, product/info request, neutral tone
  • 🔴 Negative — frustration, unresolved technical issue, customer leaves, complaint about price/policy, discount not honored

Also consider:

  • Conversation length: many messages = high engagement (positive signal)
  • Escalation: does not automatically mean negative — often neutral or positive
  • Final tone: how the conversation ends matters more than how it starts

Classify the main topic from the first user message and dominant subject:

  • Product info / search
  • Size & fit guidance
  • Availability / out of stock
  • Returns & exchanges
  • Technical issues
  • Pricing / discounts / promotions
  • Shipping
  • Orders / tracking
  • Other

Step 5 — Produce the report

Use this exact structure:


Zipchat Sentiment Report

Period: [start] – [end] | Chat ID: [id] | Conversations: [N] | Total messages: [M]

Sentiment Distribution

| Sentiment | Conversations | % | |-----------|:---:|:---:| | 🟢 Positive | N | X% | | 🟡 Neutral | N | X% | | 🔴 Negative | N | X% |

Conversation Breakdown

| ID | Date | Msg | Esc | Sentiment | Topic | Notes | |----|------|:---:|:---:|-----------|-------|-------| | [id] | DD/MM | N | Yes/No | 🟢/🟡/🔴 | [topic] | [1-line summary] |

(sort by date ascending)

Escalated Conversations

Only if any exist. For each: ID, sentiment, reason for escalation.

Top Topics

Table with topic, conversation count, percentage.

Recurring Products / Themes

Group conversations from different users that discuss the same product or theme. This is one of the most valuable parts of the report.

For each cluster (minimum 2 conversations):

  • Cluster name (e.g. "Summer wool/polypropylene undershirts")
  • List of conversations with date and detail
  • Pattern observed (what they share, what need or problem emerges)

Key Insights

Two sections:

  • Watch out (negative signals / structural issues to fix)
  • What's working (strengths to preserve)

Max 3-4 bullets per section. Concrete and actionable, not generic.


Operational notes

  • For large date ranges (>50 conversations), warn the user the fetch may take a few minutes
  • API rate limit: 120 req/60s — the script doesn't explicitly handle it, but normal usage stays well below
  • Bot messages may contain HTML (`, `, etc.) — strip it mentally for sentiment analysis, it's not meaningful
  • System greeting messages (e.g. "Hi, I'm [name], how can I help?") don't count toward sentiment
  • If a conversation has 0 messages after fetch, it's likely an abandoned session — classify as Neutral, topic "Abandoned session"

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.