2-chat

2-chat is a skill for Claude Code, Codex from withoneai/one-agent-plugin. It costs 0 tokens per session (4,351 once invoked), scanned A, original, MIT.

A connection to 2Chat, a business messaging service that provides tools for sending WhatsApp messages and managing conversations through software.

In plain words
What is it for?
Use it to check whether 2Chat is connected, look up supported actions, read their required inputs, and run WhatsApp messaging or conversation workflows.
Why use it?
It lets developers and teams work with 2Chat through defined actions instead of guessing the names or formats of message data.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/withoneai/one-agent-plugin/2-chat
Any agent
npx skills add withoneai/one-agent-plugin --skill 2-chat
Clone the repo
git clone --depth 1 https://github.com/withoneai/one-agent-plugin

Made for: Claude Code, Codex.

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 2-chat

README.md
[![agentmods](https://agentmods.dev/badge/skills/withoneai/one-agent-plugin/2-chat.svg)](https://agentmods.dev/skills/withoneai/one-agent-plugin/2-chat)
Your own site
<a href="https://agentmods.dev/skills/withoneai/one-agent-plugin/2-chat"><img src="https://agentmods.dev/badge/skills/withoneai/one-agent-plugin/2-chat.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.04351
Opus 5 $0.00000 $0.02176
Sonnet 5 $0.00000 $0.00870
Haiku 4.5 $0.00000 $0.00435

Measured 3d ago against content hash c8b7fee38ea5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

2-chat 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 3d 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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

platforms/one-2-chat/skills/2-chat/SKILL.md · 281 lines

How it starts

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

2Chat through One

2Chat is a business messaging platform that provides APIs and automation tools for WhatsApp communication, enabling teams and developers to send messages, manage conversations, integrate chat workflows, and support customer engagement across sales, marketing, and service use cases.

One exposes 2Chat through four MCP tools. The table below carries real action ids from One's knowledge base, so for a common operation you can skip search and go straight to reading the action's parameters.

How to run an action

  1. Find the action in the table below, or call search_one_platform_actions with platform 2-chat if it is not listed.
  2. Call get_one_action_knowledge with the action id. Do this every time, including for actions in this table. The table gives you the id, not the parameters.
  3. Call execute_one_action with parameters copied from that knowledge.

Never guess a parameter name, a body field, or an enum value. The knowledge has the real schema, and a guessed field is either a 400 or a silent write of the wrong thing.

Before you start

Call list_one_integrations once and confirm 2Chat is connected. If it is missing, the user has not connected it: say so and point them at https://app.withone.ai rather than reaching for raw HTTP.

Each connection carries an access field. If it reports {"policy": "methods", "methods": ["GET"]} the agent is read-only here, so plan a read-only answer instead of attempting a write that will be refused.

Before a write

Creates, updates, deletes and sends land on a real 2Chat account and cannot be recalled. State the action and the specific target in one line before the first write in a task, and let the user stop you. Reads need no confirmation.

Actions

Contacts

Action Method Path Action id
Get a Contact GET /open/contacts/{{contactUuid}} conn_mod_def::GLT35AXTzKc::UXg7sd2zRdKhxmx2ZjTt2g
List Contacts GET /open/contacts conn_mod_def::GLT348d7WSg::l1QOJt7oQnKwx-5Y6MSgUg
Search Contacts GET /open/contacts/search conn_mod_def::GLT35JlfZR8::jm03mMDyQ9qpoU1yxyWLhA
Create Contact Using Contacts POST /open/contacts conn_mod_def::GLT349vfDT8::DjBuJ2AdQcWfLlNzpqZgBg
Delete a Contact DELETE /open/contacts/{{contactUuid}} conn_mod_def::GLT346yhKBg::9gRFVfGeQkCPCnMOUgGARw
Update a Contact PUT /open/contacts/{{contactUuid}} conn_mod_def::GLT35IC2-P8::6xFWYSKuRfKd6NKN0x9ULg

Read the full file on GitHub · 281 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. 3d ago First seen · 281 lines · 0 tokens per session scan A c8b7fee38ea5

Subscribe to this mod's changes

2-chat is a skill published in the GitHub repository withoneai/one-agent-plugin (1 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,351 tokens. 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.