sales-analytics-mcp: Instructions file for Claude Code

CLAUDE.md

sales-analytics-mcp CLAUDE.md is an instructions file for Claude Code from ibezgachev/sales-analytics-mcp. It costs 1,841 tokens per session, scanned A, original, MIT.

Project instructions for a prototype analytics system that uses an MCP server and skills to analyse CSV and Excel files, create charts, and write reports. They also document its Python tools, architecture rules, and coding standards.

In plain words
What is it for?
Use them when developing, reviewing, testing, or documenting this sales-data analysis project.
Why use it?
They give each coding session the same project context and constraints, reducing inconsistent changes and repeated explanations.

Instructions file for Claude Code

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

This is ibezgachev/sales-analytics-mcp's own configuration. It tells Claude Code how to work on sales-analytics-mcp 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 sales-analytics-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ibezgachev/sales-analytics-mcp. 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/ibezgachev/sales-analytics-mcp/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ibezgachev/sales-analytics-mcp

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 sales-analytics-mcp CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ibezgachev/sales-analytics-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/ibezgachev/sales-analytics-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,841 This file is loaded in full into every session.
When invoked 1,841 The same file — it is already loaded in full.
Security scan A 0 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.01841 $0.01841
Opus 5 $0.00920 $0.00920
Sonnet 5 $0.00368 $0.00368
Haiku 4.5 $0.00184 $0.00184

Measured 9d ago against content hash 18067d885500, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

sales-analytics-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 9d 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 · 94 lines

How it starts

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

CLAUDE.md — контекст проекта

Этот файл читается в начале каждой сессии. Правила ниже обязательны и не пересматриваются без явного указания пользователя.

Что это за проект

Прототип аналитической системы: MCP-сервер + набор скиллов, через которые LLM анализирует загруженные табличные данные (CSV/Excel), чистит их, строит графики и генерирует текстовый отчёт с выводами.

Это тестовое задание для трудоустройства. Оценивается не только работоспособность, но и архитектура, чистота кода, документация. Проверяющий — человек, который будет читать репозиторий, а не только запускать его.

Рекомендуемый объём по ТЗ — 4–6 часов работы. Не раздувай scope: качество исполнения заявленного объёма важнее количества фич.

Стек

  • Python 3.11+
  • fastmcp — MCP-сервер (транспорты stdio и streamable-http)
  • pandas — работа с данными
  • matplotlib + seaborn — графики (никакого plotly, нужны статичные PNG)
  • openpyxl — чтение Excel
  • ruff — линтер и форматтер
  • pytest — тесты

Зависимости фиксируются в pyproject.toml. Виртуальное окружение — .venv.

Архитектурные инварианты

Это жёсткие правила. Нарушение любого из них — ошибка, а не компромисс.

  1. DataFrame никогда не пересекает границу LLM. load_data кладёт датафрейм в session store и возвращает dataset_id + компактную сводку. Все остальные инструменты принимают dataset_id: str, а не сам датафрейм. В ТЗ фигурирует сигнатура describe_data(df) — мы сознательно от неё отходим, обоснование идёт в ARCHITECTURE.md.

  2. Инструменты MCP — тонкие обёртки над скиллами. Вся бизнес-логика живёт в скиллах. В слое инструментов допустима только валидация аргументов и сериализация результата.

  3. Список инструментов генерируется из реестра скиллов. Руками инструменты не перечисляются. Добавление скилла не должно требовать правок в core/.

  4. Ошибки пишутся для LLM, а не для человека. Никаких голых исключений наружу. Вместо KeyError: 'Sale' инструмент возвращает структурированный ответ: что пошло не так, какие значения допустимы, и — если применимо — предложение ближайшего совпадения. Модель должна уметь исправиться на следующем шаге без участия пользователя.

Read the full file on GitHub · 94 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. 9d ago First seen · 94 lines · 1,841 tokens per session scan A 18067d885500

Subscribe to this mod's changes

sales-analytics-mcp CLAUDE.md is an instructions file published in the GitHub repository ibezgachev/sales-analytics-mcp (0 stars, last pushed 16d ago), licensed MIT. It adds 1,841 tokens to every session, about $0.0092 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

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,153 tokens

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

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