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.
npx agentmods add instructions/keithyt06/quick-dingtalk-mcp/claude-mdgit clone --depth 1 https://github.com/keithyt06/quick-dingtalk-mcpWrote 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.
[](https://agentmods.dev/instructions/keithyt06/quick-dingtalk-mcp/claude-md)<a href="https://agentmods.dev/instructions/keithyt06/quick-dingtalk-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/keithyt06/quick-dingtalk-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01491 | $0.01491 |
| Opus 5 | $0.00745 | $0.00745 |
| Sonnet 5 | $0.00298 | $0.00298 |
| Haiku 4.5 | $0.00149 | $0.00149 |
Grade A, and why
quick-dingtalk-mcp 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Guidance for Claude Code when working in this repository. The root workspace CLAUDE.md
(Karpathy coding guidelines: think before coding, simplicity first, surgical changes,
goal-driven execution) also applies — this file adds project-specific detail.
What this project is
quick-dingtalk-mcp — an MCP server that wraps DingTalk's official CLI
(dws) so an AI assistant
acts in DingTalk as the real logged-in user (your avatar and name in the group), not
as a bot. This is the whole point: DingTalk's own open-dingtalk/dingtalk-mcp only speaks
as a bot. dws authenticates over user-identity OAuth and is itself a thin client to
DingTalk's MCP gateway (mcp-gw.dingtalk.com), so this project is a shim that re-exposes
that capability to any MCP host.
Two delivery modes share one tool catalog:
- Local — run on your own machine, stdio to the host. Fastest start, personal use.
- Remote — one shared AWS deployment serving a whole team, per-user OAuth isolation.
Both expose the same 38 tools (30 named + dingtalk_discover/dingtalk_invoke +
6 deprecated aliases), covering IM, contacts, calendar, docs/drive, todo, DING,
attendance, OA approval, AI table, minutes, and mail.
Monorepo layout
npm workspaces (packages/*), "type": "module", Node ≥ 20 (remote needs ≥ 22.6).
packages/shared/— the catalog + dispatch core; both servers depend on it.catalog.json— generated, not hand-edited. All 261dwscommands, pinned to adwsversion (_dwsCliVersion, currently1.0.32). Regenerate withnpm run build:catalog(needsdwsinstalled + authenticated), then commit the diff.tier1.json— the 30 named tools + 6 aliases that get first-class MCP tools.scope-map.json,config/oauth-scopes.json— DingTalk OAuth scope mapping.src/*.mjs—schema(build MCP input schema),dispatcher(args → CLI flags),search(keyword search over catalog),errors(PAT error rewriting),annotations. Tested bypackages/shared/__tests__/*.test.mjs.
packages/local/—server.mjs, a single stdio MCP server thatexecFilesdws. Wires into Amazon Quick Desktop / Claude Desktop / Cursor. Docs indocs/setup.md,docs/verification.md;scripts/smoke.sh.packages/remote/— multi-user AWS deployment.infra/— CDK (TypeScript via--experimental-strip-types). Stacks:oauth-stack(CloudFront, API GW, OAuth callback, DynamoDB, Secrets Manager, alarms),runtime-stack(Bedrock AgentCore Runtime container runningdws),waf-stack(optional, CloudFront-scope, us-east-1). Entry:infra/bin/app.ts.lambda/—mcp-middleware(verifies HMAC bearer token, loads the user's DingTalk token, SigV4-signs the request to AgentCore),token-refresh-shim,alarm-webhook, andshared/(hmac, sigv4, sm-client). Tests are*.test.tscolocated.docker/— the Streamable-HTTP container:server.jsdispatches MCP over HTTP,inject-token.mjsprovisions a per-userDWS_CONFIG_DIRso each teammate'sdwsruns under their own identity.scripts/—install.sh,deploy.sh,ops.sh,teardown.sh,test-e2e.sh.
config/— shared, non-secret config consumed by both deploy scripts and CDK:alarm-presets.json,alarm-thresholds.json(standard/relaxed/strict),i18n.json(zh/en strings),oauth-scopes.json.docs/— remote deploy/operations/security/observability/cost/FAQ (index indocs/README.md). Public-facing: keep it free of internal dev history, real domains/account IDs, and date-stamped changelog prose.
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.
- 6d ago First seen · 96 lines · 1,491 tokens per session scan A d12602165076
quick-dingtalk-mcp CLAUDE.md is an instructions file published in the GitHub repository keithyt06/quick-dingtalk-mcp (8 stars, last pushed 2mo ago), licensed MIT. It adds 1,491 tokens to every session, about $0.0075 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.
Other instructions, from other repositories
mcpm.sh CLAUDE.md
Instructions for pathintegral-institute/mcpm.sh: This file contains conventions that Claude should follow when working on this project.
mcpm.sh GEMINI.md
Instructions for pathintegral-institute/mcpm.sh: Reference CLAUDE.md for project conventions.
Basecamp-MCP-Server CLAUDE.md
Instructions for georgeantonopoulos/Basecamp-MCP-Server, covering claude.md, development commands, setup (one-time) - requires python 3.10+, option 2: using pip (if python 3.10+ already installed) and oauth authentication.
ls-mcp AGENTS.md
AGENTS.md instructions for lirantal/ls-mcp, covering agents.md, start here, documentation, prs and issues and releases.
brightspace-mcp-server AGENTS.md
AGENTS.md instructions for RohanMuppa/brightspace-mcp-server, covering project rules, when adding a new feature, commit format, npm publishing and architecture.
cosmos-mcp CLAUDE.md
Instructions for teampolarity/cosmos-mcp, covering cosmos-mcp, layout, tools (authoritative list in src/tools/index.ts), cli subcommands and imessage is the headline source.