Borrowing it
Nothing to install: this file belongs to SAP-samples/sap-community-activity-badges. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/SAP-samples/sap-community-activity-badges/main/CLAUDE.mdgit clone --depth 1 https://github.com/SAP-samples/sap-community-activity-badgesWrote 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/sap-samples/sap-community-activity-badges/claude-md)<a href="https://agentmods.dev/instructions/sap-samples/sap-community-activity-badges/claude-md"><img src="https://agentmods.dev/badge/instructions/sap-samples/sap-community-activity-badges/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.
<a href="https://agentmods.dev/instructions/sap-samples/sap-community-activity-badges/claude-md"><img src="https://agentmods.dev/badge/instructions/sap-samples/sap-community-activity-badges/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.01562 | $0.01562 |
| Opus 5.5 | $0.00625 | $0.00625 |
| Sonnet 5.5 | $0.00312 | $0.00312 |
| Haiku 4.5 | $0.00156 | $0.00156 |
Grade A, and why
sap-community-activity-badges 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 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.
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 — 104 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.
Commands
All development commands are run from the srv/ directory (the Node.js service):
cd srv
npm run install:all # Install Express deps AND the nested Vue app's deps (one-time per checkout)
npm run dev # Start Express + Vite dev server (concurrent, ports 4000 and 5173)
npm run dev:server-only # Start Express only (nodemon, port 4000) — when the Vue app isn't needed
npm start # Start production server (port 4000 by default, overridden by PORT env var)
npm run types # Regenerate TypeScript declarations in srv/types/
npm run test:vue # Run the Vue app's Vitest unit tests
Why
install:alland notnpm install? The Vue SPA atsrv/app/profile-vue/has its ownpackage.json(Vite/Vue/UI5 don't ship to production). Plainnpm installinsrv/only handles Express's deps.install:allruns both. We don't use apostinstallhook for security reasons (postinstall scripts are a supply-chain attack vector).
When npm run dev is running, open http://localhost:5173/profile/<scn-id> (Vite's dev server proxies API calls to Express).
To build the MTAR for SAP BTP Cloud Foundry deployment, run from the root:
npm run build # Builds the Vue SPA, then runs mbt build (requires Cloud MTA Build Tool)
There are no automated tests for the Express service (npm test is a stub). The Vue app has 73 Vitest unit tests; run via npm run test:vue.
Architecture
This is a single Node.js Express 5 service (srv/) packaged as an MTAR for SAP BTP Cloud Foundry deployment. The service generates SVG/PNG image cards showing SAP Community user activity and badges, plus a Devtoberfest contest gameboard.
Requires Node.js ^22.0.0 || ^24.0.0.
Startup Flow
srv/index.js → srv/express-server.js (ExpressServer class):
- Loads
srv/server/express.js(middleware: logging, CORS, security, Swagger, health check, overload protection) - Auto-loads all
srv/routes/**/*.jsfiles as Express route handlers
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.
- 2mo ago First seen · 104 lines · 1,562 tokens per session scan A 203a5a030094
sap-community-activity-badges CLAUDE.md is an instructions file published in the GitHub repository SAP-samples/sap-community-activity-badges (23 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 1,562 tokens to every session, about $0.0062 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-09-04.
sap-community-activity-badges CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sap-community-activity-badges CLAUDE.mdSAP-samples/sap-community-activity-badges | Instructions file | 23 | 5mo ago | Apache-2.0 | A | 1,562 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |