agentconnect: Instructions file for Claude Code

CLAUDE.md

agentconnect CLAUDE.md is an instructions file for Claude Code from agentconnect-md/agentconnect. It costs 4,704 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for AgentConnect, a platform that connects chat services such as Slack, Telegram, and Discord to AI coding agents. They explain its monorepo structure, architecture documents, platform modules, and user-facing conventions.

In plain words
What is it for?
Use them when changing chat integrations, agent communication, the control plane, data-plane daemons, documentation, or public visual assets.
Why use it?
They give an agent the project’s architectural rules and point to the documents that define product behavior. This helps avoid changes that break message delivery or platform-specific behavior.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is agentconnect-md/agentconnect's own configuration. It tells Claude Code how to work on agentconnect itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentconnect configures →

About the project

AgentConnect is an open-source platform that lets teams and multiple AI agents collaborate in shared conversations and work processes across services such as Slack, Telegram, Discord, GitHub, GitLab, and Linear. Teams use it to assign agents roles, have agents call one another, and start work from messages, issues, pull requests, webhooks, or schedules.

agentconnect-md/agentconnect · 1,520 stars · on GitHub · agentconnect.md

Reuse

Borrowing it

Nothing to install: this file belongs to agentconnect-md/agentconnect. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agentconnect-md/agentconnect/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/agentconnect-md/agentconnect

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 agentconnect CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/agentconnect-md/agentconnect/claude-md/github.svg)](https://agentmods.dev/instructions/agentconnect-md/agentconnect/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/agentconnect-md/agentconnect/claude-md"><img src="https://agentmods.dev/badge/instructions/agentconnect-md/agentconnect/claude-md/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 agentconnect CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/agentconnect-md/agentconnect/claude-md"><img src="https://agentmods.dev/badge/instructions/agentconnect-md/agentconnect/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,704 This file is loaded in full into every session.
When invoked 4,704 The same file — it is already loaded in full.
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.04704 $0.04704
Opus 5.5 $0.01882 $0.01882
Sonnet 5.5 $0.00941 $0.00941
Haiku 4.5 $0.00470 $0.00470

Measured today against content hash dbb55bef1e8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agentconnect CLAUDE.md 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 today.

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.

CLAUDE.md · 295 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Product behavior and user-facing invariants are documented in docs/product-conventions.md. Read it before changing how AgentConnect presents or delivers messages to users.

What this is

AgentConnect is a multi-agent platform that bridges IM platforms (Slack / Telegram / Discord) to AI coding agents (Claude, Codex) over ACP. The authoritative design lives in docs/designs/ — start with architecture.md, and use the grouped index at docs/README.md to find the rest. Design documentation and every visual asset embedded in public documentation are maintained in English. Before adding or reusing a diagram or screenshot, inspect its visible text and verify that it still matches the current architecture. Prefer diffable SVG or Mermaid source over opaque raster diagrams.

The defining architectural choice: live platform message bodies and ACP update streams stay on the daemon/relay data plane. Some admission steps and turn operations require CP control RPCs; their recovery requirements are defined in high-availability.md. Agent execution always happens inside a daemon on the data plane. Where that daemon runs is a deployment choice, not part of the invariant — self-hosted on machines the organization operates, or a member of the install's managed Kubernetes pool (Cloud), which shares one PostgreSQL data plane and launches runtimes in sandbox pods; see §3.1 of the architecture design. Platform ingress is either daemon-owned directly or forwarded by the optional relay when a stable public callback endpoint is required; the CP only orchestrates. Concretely:

  • A daemon owns direct platform connections, local routing, provider API egress, and agent execution over ACP the Control Plane never sees (local IPC self-hosted; one in-cluster dial to the sandbox pod in the pool). It also accepts pre-addressed public ingress from the relay. It is a self-contained "message + agent execution unit" and keeps running established sessions during CP outages within their authority lifetimes. All member-set daemons self-fence duties at T_fence after the last confirmed renewal; see the duty lease contract.
  • The optional relay terminates Slack HTTP callbacks, GitHub and GitLab webhooks, generic webhooks, and webchat, then forwards content directly to the owning daemon. It does not persist message content.
  • The Control Plane does orchestration/registry/auth + serves the Web UI BFF. It stores only control-plane metadata — never message bodies, ACP session/update streams, or attachment bytes. Managed agent memory with home: control-plane is the one curated-content exception, like organization knowledge. Authorized BFF operations may proxy bounded transcript, tool-body, memory, or workspace reads and workspace writes to the owning daemon without persisting their content.
  • daemon ↔ CP is a single WebSocket used primarily for control signaling (register, heartbeat, orchestration commands, telemetry). It also carries the scoped request/reply frames for those on-demand BFF operations; live platform messages and ACP update streams never use it.

Read the full file on GitHub · 295 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. today Changed · +1 lines · +35 tokens per session dbb55bef1e8d
  2. 7d ago Changed 38eb1523791a
  3. 11d ago Changed · -13 lines · -178 tokens per session a56bba657b4b
  4. 13d ago Changed ba2c99938e01
  5. 17d ago Changed · +1 lines · +57 tokens per session 04ae44fa7533
  6. 25d ago Changed · +1 lines · +56 tokens per session 9190e0ece98f
  7. 1mo ago Changed · +1 tokens per session 00a28a61e6f2
  8. 1mo ago Changed · +5 lines · +115 tokens per session 8f9deba29d9d
  9. 1mo ago Changed · +20 lines · +264 tokens per session db8d7afcd9ec
  10. 1mo ago First seen · 280 lines · 4,354 tokens per session scan A 3e70be19057f

Subscribe to this mod's changes

agentconnect CLAUDE.md is an instructions file published in the GitHub repository agentconnect-md/agentconnect (1,520 stars, last pushed today), licensed Apache-2.0. It adds 4,704 tokens to every session, about $0.0188 per session on Opus 5.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-30.

Related

agentconnect CLAUDE.md compared with instructions from other repositories

agentconnect CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentconnect CLAUDE.mdagentconnect-md/agentconnectInstructions file1.5ktodayApache-2.0A4,704Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode