parley CLAUDE.md

parley CLAUDE.md is an instructions file for Claude Code from sharpTrick/parley. It costs 1,879 tokens per session, scanned A, original, MIT.

A set of project instructions for building Parley, a messaging bridge between people, chat bots, and coding agents. It defines the design source, work order, testing discipline, and boundaries between the core and messaging backends.

In plain words
What is it for?
Use it when developing or maintaining Parley, especially when adding messaging backends, following project tasks, or checking its architecture and tests.
Why use it?
It keeps development consistent and prevents backend-specific code from being mixed into the shared core.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

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 instructions/sharptrick/parley/claude-md
Clone the repo
git clone --depth 1 https://github.com/sharpTrick/parley

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sharptrick/parley/claude-md.svg)](https://agentmods.dev/instructions/sharptrick/parley/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/sharptrick/parley/claude-md"><img src="https://agentmods.dev/badge/instructions/sharptrick/parley/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,879 This file is loaded in full into every session.
When invoked 1,879 The same file — it is already loaded in full.
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.1 $0.01879 $0.01879
Opus 5 $0.00940 $0.00940
Sonnet 5 $0.00376 $0.00376
Haiku 4.5 $0.00188 $0.00188

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

Security

Grade A, and why

parley 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 5d 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.

CLAUDE.md · 138 lines

How it starts

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

CLAUDE.md — Parley build instructions

You are building Parley, a transport-agnostic seam MCP that carries messages, shared context, and task hand-off between humans, online chat bots, and coding agents over a pluggable messaging backend.

Read DESIGN.md in full before writing any code. It is the source of truth. This file is the operating manual: how to work, in what order, and the rules that keep an autonomous run on-rails. TASKS.md is the ordered checklist — work it top to bottom, checking items off as you complete and verify them.


Prime directives

  1. The seam is the product. Everything hard lives behind one small interface (connect / disconnect / subscribe / post / fetchRecent / resolveIdentity). bridge-core must never import from a backend plugin. Dependencies point one way: plugins depend on core, never the reverse. If you ever feel the urge to special-case a backend inside core, stop — the seam is wrong; fix the seam, not with a branch in core.

  2. Success criterion for every backend after the first: adding it touches only the new plugin package, never bridge-core. If core has to change to fit a backend, that is a design smell to surface, not silently absorb.

  3. Build in the order in TASKS.md. Do not skip ahead. v0.1 (SQLite) is the seam-proving gate; nothing else starts until it works end to end against the fakechat loopback.

  4. One channel gate, verify first (see below). Before implementing the live-push half, verify the current channel contract from the docs. Do not build the push path from memory or from DESIGN.md's summary of it.


The channel-docs verification gate (MANDATORY before any push code)

DESIGN.md describes how Claude Code Channels work, but the exact <channel> event schema, the claude/channel capability declaration, and the reply/tool-registration details must come from the live docs, not from this package's summary.

Before writing the v0.1 push half (TASKS step P-1):

  • Fetch and read https://code.claude.com/docs/en/channels and https://code.claude.com/docs/en/channels-reference (or current equivalents).
  • Confirm: how a server declares claude/channel; the exact shape of the <channel> event pushed into the session; how reply/react/edit-style tools are registered; how --channels loads a custom (development) channel; and the current auth requirement (claude.ai subscription, not API key).
  • If the docs and DESIGN.md disagree, the docs win — note the discrepancy in your progress notes and follow the docs.
  • Develop and test the push path against the fakechat loopback (--channels plugin:fakechat@claude-plugins-official, behind --dangerously-load-development-channels during the research preview) before wiring any real backend's subscribe.

Read the full file on GitHub · 138 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. 5d ago First seen · 138 lines · 1,879 tokens per session scan A d91d82ed391f

Subscribe to this mod's changes

parley CLAUDE.md is an instructions file published in the GitHub repository sharpTrick/parley (0 stars, last pushed 27d ago), licensed MIT. It adds 1,879 tokens to every session, about $0.0094 per session on Opus 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-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens