# Counterparty channel discipline

> Counterparty channel discipline is an open-source agent skill for communication. Keeps an agent silent in shared channels unless explicitly addressed, and gates risky. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/smartworldarafath/REA_Skill/tree/main/.agents/skills/counterparty-channel-discipline
- **Repository:** https://github.com/smartworldarafath/rea_skill
- **GitHub stars:** 66
- **License:** MIT
- **Skill name:** counterparty-channel-discipline
- **Collection:** https://github.com/smartworldarafath/REA_Skill
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/counterparty-channel-discipline)
- [License: MIT](https://github.com/smartworldarafath/REA_Skill/tree/HEAD/.agents/skills/counterparty-channel-discipline)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Sent two way messaging](https://ai-powered.com/skills/sent-two-way-messaging): Sent two way messaging is an open-source agent skill for communication.
- [Email marketing bible](https://ai-powered.com/skills/email-marketing-bible): Email marketing bible is an open-source agent skill for marketing and seo.
- [Rcs agent onboarding](https://ai-powered.com/skills/rcs-agent-onboarding): Rcs agent onboarding is an open-source agent skill for communication.
- [Reply to x mentions](https://ai-powered.com/skills/reply-to-x-mentions): Reply to x mentions is an open-source agent skill for communication.
- [Sent messaging](https://ai-powered.com/skills/sent-messaging-sentdm): Sent messaging is an open-source agent skill for communication.

---
Source: https://ai-powered.com/skills/counterparty-channel-discipline
