sinch-api-messages-list

sinch-api-messages-list is a skill for Claude Code from sinch/sinch-plugins. It costs 16 tokens per session (610 once invoked), scanned A, original, Apache-2.0.

An action for listing or retrieving messages from Sinch's Conversation API, a service for messaging conversations across channels such as SMS, RCS, and WhatsApp.

In plain words
What is it for?
Use it to retrieve messages by channel, contact, or conversation, with page-size and continuation-token options and table or JSON output.
Why use it?
It avoids manually building requests and handling filters or pagination when looking up conversation messages.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to retrieve messages by channel, contact, or conversation, with page-size…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sinch/sinch-plugins/sinch-api-messages-list
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sinch/sinch-plugins --skill sinch-api-messages-list
Clone the repo
git clone --depth 1 https://github.com/sinch/sinch-plugins

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sinch-api-messages-list

README.md
[![agentmods](https://agentmods.dev/badge/skills/sinch/sinch-plugins/sinch-api-messages-list.svg)](https://agentmods.dev/skills/sinch/sinch-plugins/sinch-api-messages-list)
Your own site
<a href="https://agentmods.dev/skills/sinch/sinch-plugins/sinch-api-messages-list"><img src="https://agentmods.dev/badge/skills/sinch/sinch-plugins/sinch-api-messages-list.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 610 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00610
Opus 5 $0.00008 $0.00305
Sonnet 5 $0.00003 $0.00122
Haiku 4.5 $0.00002 $0.00061

Measured 6d ago against content hash abd8bfac4e65, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

sinch-api-messages-list scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/sinch-antigravity-plugin/skills/sinch-api-messages-list/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

List Messages

List or retrieve messages for a conversation or contact using the Sinch Conversation API. Supports filtering by channel, contact, conversation, and pagination.

IMPORTANT: Execute this command directly. Do NOT generate script files. Perform the API call immediately.

Input

  • --channel / -c: Channel filter (SMS, RCS, WHATSAPP) - optional
  • --contact-id / -C: Contact ID to list messages for - optional
  • --conversation-id / -i: Conversation ID - optional
  • --page-size / -n: Number of results (default 20) - optional
  • --page-token / -p: Pagination token from previous response - optional
  • --format / -f: Output format (table or json) - optional, default table

Arguments: $ARGUMENTS

Instructions

Execute these steps directly - do not write code or scripts:

  1. If $ARGUMENTS empty: ask if user wants to list by contact, conversation, or channel; ask for IDs if needed. Otherwise parse.

  2. Validate: optional --channel, --contact-id, --conversation-id, --page-size (number), --page-token, --format (table|json).

  3. Try MCP tool for listing messages if available (e.g. list-messages). On success format and display result, then exit.

  4. If MCP not available: get CONVERSATION_* env vars. If missing, report "Sinch API is not configured."

  5. Use Conversation API list messages endpoint(s): e.g. GET /v1/projects/{projectId}/messages or equivalent with query params (contact_id, conversation_id, channel, page_size, page_token). Use OAuth2 Bearer token.

  6. Format response: table (columns: id, direction, channel, state, timestamp, snippet) or raw JSON. Display pagination token if present.

  7. On success display "✅ Messages listed" with count. Handle errors (404, 403, etc.) with clear messages.

  8. Handle all errors gracefully.

Examples

/sinch-api-messages-list --channel=SMS --page-size=10
/sinch-api-messages-list --contact-id=CONTACT_ID --format=json
/sinch-api-messages-list -c WHATSAPP -n 20 -f table

API Reference

Read the full file on GitHub · 61 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 61 lines · 16 tokens per session scan A abd8bfac4e65

Subscribe to this mod's changes

sinch-api-messages-list is a skill published in the GitHub repository sinch/sinch-plugins (6 stars, last pushed 24d ago), licensed Apache-2.0. It adds 16 tokens to every session and 610 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.