dc: Instructions file for Claude Code

CLAUDE.md

dc CLAUDE.md is an instructions file for Claude Code from dynamitecircle/dc. It costs 2,961 tokens per session, scanned C, original, MIT.

A project guide for clients of the public Dynamite Circle Member API, a service that provides access to member-related data, with Python command-line, Python-library, and MCP-server interfaces.

In plain words
What is it for?
Use it to work with the API through the Python command line, Python imports, or an MCP server, and to check endpoint coverage against the saved API contract.
Why use it?
It explains the repository layout and keeps the Python and TypeScript clients aligned with the API's documented operations.

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 dynamitecircle/dc's own configuration. It tells Claude Code how to work on dc 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 dc configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is │ └── SKILL.md → ../py/SKILL.md # human-friendly skill path (symlink).

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dynamitecircle/dc/claude-md"><img src="https://agentmods.dev/badge/instructions/dynamitecircle/dc/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,961 This file is loaded in full into every session.
When invoked 2,961 The same file — it is already loaded in full.
Security scan C 3 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.02961 $0.02961
Opus 5.5 $0.01184 $0.01184
Sonnet 5.5 $0.00592 $0.00592
Haiku 4.5 $0.00296 $0.00296

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

Security

Grade C, and why

dc CLAUDE.md scanned grade C with 3 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

This writes `py/.env.dc` (chmod 600). The file is gitignored.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**Pre-approval out of the box:** `.claude/settings.json`, `.codex/config.toml`, and `.gemini/settings.json` all auto-approve the `dc` MCP server's tools so users don't get a per-call approval prompt. Anyone uncomfortable

Makes network callslowCapability

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

- A small embedded mini-runtime — `Runtime` base class, `@skill_command` decorator, `ArgHelpers` (flag parsing, cursor pagination, envelopes), `HttpClient` (urllib-based)
CLAUDE.md · 234 lines

How it starts

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

DC Official — AI Tool Guide

This repo ships official clients for the public DC Member API (https://api.dynamitecircle.com).

  • py/ — self-contained, single-file Python client. CLI + Python library + Agent Skill + MCP server.
  • ts/ — TypeScript npm library, published as @dynamitecircle/dc. No CLI and no MCP server.
  • contracts/ — pinned OpenAPI snapshot + operation map used to validate Python and TypeScript parity.

At a glance

  • One file: py/dc.py
  • Three modes: CLI, Python import, MCP server (--mcp flag)
  • Stdlib only for CLI/import. The mcp package is lazy-imported — only required for --mcp mode
  • Full coverage — every public Member API endpoint is wrapped (run help for the live list)
  • Pinned contract — contracts/openapi.json and contracts/operation-map.json keep Python + TypeScript coverage aligned with the API version
  • Pre-configured .mcp.json at the repo root — Claude Code auto-loads the server when you cd in
  • Zero internal-only knowhow — public-grade design with no telemetry, no usage tracking, no error capture, no extension hooks, no read/write gates

What this is

py/dc.py contains:

  • A small embedded mini-runtime — Runtime base class, @skill_command decorator, ArgHelpers (flag parsing, cursor pagination, envelopes), HttpClient (urllib-based)
  • Two concrete classes:
    • _DCCore — private helper with _parse_* argument parsers and HTTP business logic
    • DC(Runtime) — public wrapper with @skill_command-decorated methods for every endpoint

The full reference for the underlying API is at https://www.dynamitecircle.com/developers/.

First-time setup

You need a personal API key. Generate one from your DC profile dropdown → DC Member API Key. Then save it:

python3 py/dc.py setup --api-key dk_<api-key>

This writes py/.env.dc (chmod 600). The file is gitignored.

Verify:

python3 py/dc.py self-test

You should see connected as userID[<id>] <Your Name> in the profile step.

Read the full file on GitHub · 234 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 · 234 lines · 2,961 tokens per session scan C f615e4b03bd2

Subscribe to this mod's changes

dc CLAUDE.md is an instructions file published in the GitHub repository dynamitecircle/dc (6 stars, last pushed 25d ago), licensed MIT. It adds 2,961 tokens to every session, about $0.0118 per session on Opus 5.5. A static security scan graded it C with 3 findings (asks for root, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

dc CLAUDE.md compared with instructions from other repositories

dc CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dc CLAUDE.mddynamitecircle/dcInstructions file625d agoMITC2,961Claude 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