2chat-automation

2chat-automation is a skill for Claude Code, Codex from onfire7777/universal-ai-skills-library. It costs 28 tokens per session (739 once invoked), scanned A, a copy of ably-automation, MIT.

A set of instructions for automating 2chat tasks through Rube MCP, a service that connects coding agents to external tools. 2chat is the external messaging automation service referenced by the add-on.

In plain words
What is it for?
Search for available 2chat tools, manage the 2chat connection, complete authentication when needed, and run supported 2chat workflows through Rube MCP.
Why use it?
It ensures the agent discovers the current tool definitions and confirms the required connection before attempting an automation task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Search for available 2chat tools, manage the 2chat connection, complete authentication when needed, and run supported 2chat workflows through Rube MCP.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onfire7777/universal-ai-skills-library/2chat-automation
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 onfire7777/universal-ai-skills-library --skill 2chat-automation
Clone the repo
git clone --depth 1 https://github.com/onfire7777/universal-ai-skills-library

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/onfire7777/universal-ai-skills-library/2chat-automation/github.svg)](https://agentmods.dev/skills/onfire7777/universal-ai-skills-library/2chat-automation)
Your own site
<a href="https://agentmods.dev/skills/onfire7777/universal-ai-skills-library/2chat-automation"><img src="https://agentmods.dev/badge/skills/onfire7777/universal-ai-skills-library/2chat-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 2chat-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/onfire7777/universal-ai-skills-library/2chat-automation"><img src="https://agentmods.dev/badge/skills/onfire7777/universal-ai-skills-library/2chat-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 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 80% copy Near-identical to another mod 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.00028 $0.00739
Opus 5 $0.00014 $0.00369
Sonnet 5 $0.00006 $0.00148
Haiku 4.5 $0.00003 $0.00074

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

Security

Grade A, and why

2chat-automation 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 11d 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

This is a copy

80% identical to ably-automation — 25 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/2chat-automation/SKILL.md · 93 lines

How it starts

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

2chat Automation via Rube MCP

Automate 2chat operations through Composio's 2chat toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/_2chat

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active 2chat connection via RUBE_MANAGE_CONNECTIONS with toolkit _2chat
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit _2chat
  3. If connection is not ACTIVE, follow the returned auth link to complete setup
  4. Confirm connection status shows ACTIVE before running any workflows

Tool Discovery

Always discover available tools before executing workflows:

RUBE_SEARCH_TOOLS
queries: [{use_case: "2chat operations", known_fields: ""}]
session: {generate_id: true}

This returns available tool slugs, input schemas, recommended execution plans, and known pitfalls.

Core Workflow Pattern

Step 1: Discover Available Tools

RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific 2chat task"}]
session: {id: "existing_session_id"}

Step 2: Check Connection

RUBE_MANAGE_CONNECTIONS
toolkits: ["_2chat"]
session_id: "your_session_id"

Step 3: Execute Tools

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* schema-compliant args from search results */}
}]
memory: {}
session_id: "your_session_id"

Known Pitfalls

  • Always search first: Tool schemas change. Never hardcode tool slugs or arguments without calling RUBE_SEARCH_TOOLS
  • Check connection: Verify RUBE_MANAGE_CONNECTIONS shows ACTIVE status before executing tools
  • Schema compliance: Use exact field names and types from the search results
  • Memory parameter: Always include memory in RUBE_MULTI_EXECUTE_TOOL calls, even if empty ({})
  • Session reuse: Reuse session IDs within a workflow. Generate new ones for new workflows
  • Pagination: Check responses for pagination tokens and continue fetching until complete

Read the full file on GitHub · 93 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 93 lines · 28 tokens per session scan A ed1e104bb120

Subscribe to this mod's changes

2chat-automation is a skill published in the GitHub repository onfire7777/universal-ai-skills-library (16 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 739 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 80% identical to ably-automation, differing in 25 lines, and is treated as a copy.