Skip to content
Skill

Counterparty channel discipline

Keeps an agent silent in shared channels unless explicitly addressed, and gates risky

Counterparty channel discipline is an open-source agent skill for communication. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
66
Last commit
License
MIT
Listing updated

Similar skills

About Counterparty channel discipline

This skill is a written workflow contract for agents that sit in group chats, shared channels or DMs with outside counterparties. It separates three decisions: who the audience is, whether the agent has consent to participate, and whether it has permission to send. It covers mention gating so the agent stays quiet on messages addressed to other people, treats attachments and bot-origin traffic as insufficient grounds to respond, and requires a scoped operator request for scheduled deliveries.

The skill also sets output rules for external audiences, keeping reasoning, raw errors, stack traces, host paths and internal status notices out of counterparty-facing text. It points to a strict prompt template and an example channel policy file, and it describes an autonomy tier where routine scheduling and factual questions may be answered, while prices, contract language, legal matters, public posts and signing or payment actions stay draft-only or blocked.

The skill is a contract rather than an executable guard. It states that the runtime owning messaging must enforce the rules, and it lists the invariants a team should test, such as mute-before-model behaviour and send-path checks across edit and stream output.

When your agent uses it

Per-channel strict prompts, mention gating, silent observation, and a communication autonomy policy for agents that sit in shared channels with external counterparties. Use when an agent joins group chats, shared channels, or DMs where outsiders can read every message and you need it to speak only when addressed, never leak internal context, and route risky content to draft-only approval.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (13 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/counterparty-channel-discipline:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/counterparty-channel-discipline &&
cp -R "$tmp/.agents/skills/counterparty-channel-discipline" ~/.claude/skills/counterparty-channel-discipline &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/counterparty-channel-discipline inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/counterparty-channel-discipline to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/counterparty-channel-discipline &&
cp -R "$tmp/.agents/skills/counterparty-channel-discipline" ~/.agents/skills/counterparty-channel-discipline &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/counterparty-channel-discipline inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/counterparty-channel-discipline to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/counterparty-channel-discipline &&
cp -R "$tmp/.agents/skills/counterparty-channel-discipline" ~/.cursor/skills/counterparty-channel-discipline &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/counterparty-channel-discipline inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/smartworldarafath/REA_Skill.git --path .agents/skills/counterparty-channel-discipline

Or copy the folder to ~/.gemini/skills/counterparty-channel-discipline yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/counterparty-channel-discipline:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/counterparty-channel-discipline &&
cp -R "$tmp/.agents/skills/counterparty-channel-discipline" ~/.copilot/skills/counterparty-channel-discipline &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/counterparty-channel-discipline inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/counterparty-channel-discipline into your agent's skills folder as counterparty-channel-discipline. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Mention-gated participation
Keeps the agent muted in external groups unless a current explicit mention, command or direct reply asks it to respond.
Audience-aware output rules
Limits what external and internal audiences receive, keeping reasoning, raw errors and internal status out of counterparty messages.
Strict prompt template
Provides an immutable prompt reference and keeps channel labels out of trusted instructions.
Draft-only autonomy tiers
Routes prices, contract terms, legal matters and public posts to draft-only approval while allowing routine logistics answers.
Leak check before sending
Checks outgoing content against the authorized record and other counterparties' protected terms before any send.
Testable invariants
Lists the mute, consent, delivery and failure-path cases a team should verify in its own messaging runtime.

Good for

  • Keep an agent quiet in a supplier group chat until someone addresses it directly
  • Answer routine scheduling questions from customers without exposing internal notes
  • Hold price quotes and contract wording for operator approval before they go out
  • Block replies to unknown DMs and attachment-only messages in shared channels
  • Test that a messaging agent mutes before running model calls on unaddressed messages

Counterparty channel discipline FAQ

Does Counterparty channel discipline run code or scripts?

No. The skill folder has no scripts. It is a written workflow contract that the messaging runtime must enforce.

When does the agent respond in a group chat?

By default only when a current explicit agent mention, a recognized agent command or a direct reply to the agent asks for it. Messages addressed to another human stay muted unless they also carry an explicit agent or trusted operator request.

Can the agent send prices or contract language on its own?

No. Prices, contractual language, legal matters, public posts and unverified claims remain draft-only, and signing, moving money, entering credentials and publishing packages are hard stops.

Are attachments enough to trigger a reply in a group?

No. The skill states that attachments alone never authorize a group response.

How do I install Counterparty channel discipline in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/counterparty-channel-discipline to use it in all your projects, or to .claude/skills/counterparty-channel-discipline in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Counterparty channel discipline run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Counterparty channel discipline?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Counterparty channel discipline?

The closest alternatives to Counterparty channel discipline are Sent two way messaging, Email marketing bible, Rcs agent onboarding, Reply to x mentions and Sent messaging.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 66 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 66 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 66 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 66 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 66 GitHub stars
    • Finance and payments