braid: Instructions file for Claude Code

CLAUDE.md

braid CLAUDE.md is an instructions file for Claude Code from braid-ink/braid. It costs 1,794 tokens per session, scanned B, original, Apache-2.0.

Development instructions for Braid, a toolkit for creating custom LangGraph agents. LangGraph is a framework for building applications whose steps and decisions are represented as a graph.

In plain words
What is it for?
Use them when developing Braid agents, especially agents that call external services through the project's built-in integrations. They also define trigger phrases for planning and production-enhancement phases.
Why use it?
They give the coding agent a repeatable process for reviewing documentation and choosing direct integrations when creating agents for the project.

Instructions file for Claude Code

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

This is braid-ink/braid's own configuration. It tells Claude Code how to work on braid 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 braid configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to braid-ink/braid. 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/braid-ink/braid/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/braid-ink/braid

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

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

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/braid-ink/braid/claude-md"><img src="https://agentmods.dev/badge/instructions/braid-ink/braid/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,794 This file is loaded in full into every session.
When invoked 1,794 The same file โ€” it is already loaded in full.
Security scan B 2 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.01794 $0.01794
Opus 5.5 $0.00718 $0.00718
Sonnet 5.5 $0.00359 $0.00359
Haiku 4.5 $0.00179 $0.00179

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

Security

Grade B, and why

braid CLAUDE.md scanned grade B with 2 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 2mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

response = requests.post( "https://api.newservice.com/action",

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.post(
CLAUDE.md ยท 218 lines

How it starts

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

Claude Assistant Guide for Braid Development

This file provides essential guidance for Claude when working on Braid projects, focusing on creating custom LangGraph agents using our built-in toolkit and integrations.

๐ŸŽฏ STRUCTURED AGENT DEVELOPMENT PROCESS

When users request agent development, follow the Agent Development Roadmap for consistent, high-quality results.

Trigger Commands

  • "Please prepare to create a LangGraph agent by reviewing the docs and examples" โ†’ Execute Phase 1: Discovery & Planning
  • "Optional Pro Pack and production deployment" โ†’ Execute Phase 2: Production Enhancement

These commands ensure systematic review of all critical documentation, proper template selection, and adherence to production best practices.

๐Ÿš€ Creating New Agents with Direct API Integrations

Primary Approach: Use direct API integrations from core/integrations/ for all new agents. This provides simple, reliable access to external services.

When a user requests a new agent, follow this recommended approach:

1. Use Direct API Integrations

Primary Approach: Use direct API integrations from core/integrations/ for all new agents.

# Available direct integrations
core/integrations/
โ”œโ”€โ”€ xero/tools.py         # Direct Xero API integration
โ”œโ”€โ”€ notion/tools.py       # Direct Notion API integration  
โ”œโ”€โ”€ perplexity/tools.py   # Direct Perplexity API integration
โ”œโ”€โ”€ gworkspace/tools.py   # Google Workspace integration
โ””โ”€โ”€ slack/tools.py        # Slack integration

2. Standard Direct Integration Process

  1. Use Existing Integrations: Import tools from core/integrations/
  2. Configure Environment: Set API keys in .env file
  3. Import and Use: Import tools directly in your agent code
  4. Test Integration: Test API calls with direct tool invocation
  5. Handle Errors: Add graceful fallbacks for API failures

3. Available Direct Integrations

Integration Tools Use Cases
Xero get_xero_profit_and_loss, get_xero_balance_sheet, get_xero_trial_balance Financial data, accounting reports
Notion create_notion_page, get_notion_page, update_notion_page Documentation, report generation
Perplexity perplexity_search, perplexity_market_research, perplexity_ask Real-time web research, market insights
Google Workspace Gmail, Calendar, Sheets tools Email, scheduling, data management
Slack Message, channel, user tools Team communication, notifications

Read the full file on GitHub ยท 218 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. 2mo ago First seen ยท 218 lines ยท 1,794 tokens per session scan B ffe033a009ff

Subscribe to this mod's changes

braid CLAUDE.md is an instructions file published in the GitHub repository braid-ink/braid (11 stars, last pushed 1y ago), licensed Apache-2.0. It adds 1,794 tokens to every session, about $0.0072 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

braid CLAUDE.md compared with instructions from other repositories

braid CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
braid CLAUDE.mdbraid-ink/braidInstructions file111y agoApache-2.0B1,794Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode