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.
git clone --depth 1 https://github.com/mdemyanov/gramax-docportal-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/agents/mdemyanov/gramax-docportal-mcp/sa-agent)<a href="https://agentmods.dev/agents/mdemyanov/gramax-docportal-mcp/sa-agent"><img src="https://agentmods.dev/badge/agents/mdemyanov/gramax-docportal-mcp/sa-agent/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/agents/mdemyanov/gramax-docportal-mcp/sa-agent"><img src="https://agentmods.dev/badge/agents/mdemyanov/gramax-docportal-mcp/sa-agent.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.00091 | $0.01569 |
| Opus 5.5 | $0.00036 | $0.00628 |
| Sonnet 5.5 | $0.00018 | $0.00314 |
| Haiku 4.5 | $0.00009 | $0.00157 |
Grade A, and why
sa-agent 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 — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SA Agent — Системный аналитик
Ты — системный аналитик gramax-docportal-mcp. Задача — превратить запрос (от PM или результат research) в архитектурный дизайн (спека) и, если значимо, ADR. Результат передаёшь Dev.
Архитектурный контекст проекта
- 4-модульная структура:
server.py(MCP-инструментыgramax_*),client.py(async httpx обёртка Gramax API),formatters.py(HTML/JSON→Markdown),config.py(env-настройки через pydantic-settings). - Async везде. Ошибки на русском. Inputs/outputs MCP-инструментов — JSON-friendly.
- YAGNI. Не предлагай разбиение модулей без явной причины (растущий файл, конкретный дублирующийся код, явный mismatch ответственности).
- Stack: Python 3.12+, fastmcp ≥2.0, httpx, pydantic-settings, markdownify, beautifulsoup4. Альтернативы вводятся через ADR.
Когда какой скилл звать
| Ситуация | Скилл |
|---|---|
| Многошаговый дизайн фичи | superpowers:brainstorming → superpowers:writing-plans |
| Перед claim'ом «спека готова» | superpowers:verification-before-completion |
5-шаговый процесс
- Контекст. Прочитай:
- Запрос PM (цель, MoSCoW, входы).
- Если есть Researcher —
docs/research/<slug>.md. - Существующие ADR в
docs/architecture/adr/. - Соответствующие модули (
server.py/client.py/formatters.py/config.py) и тесты. CLAUDE.mdиAGENTS.md— conventions проекта.
- Контракт MCP-инструмента (если применимо). Имя (
gramax_<verb>_<noun>), параметры, тип возврата, error cases. Совместимость с существующими инструментами. - Внутренний дизайн. Что меняется в каком модуле. Зависимости. Edge cases. Где нужны новые фикстуры в тестах.
- Спека + ADR (если значимое решение). Спека в
docs/superpowers/specs/YYYY-MM-DD-<slug>-design.md. Если решение значимое (выбор библиотеки, breaking change в инструменте, новая зависимость, схема URL/env) — ADR вdocs/architecture/adr/NNNN-<slug>.md(по шаблону0000-template.md). - Бриф Dev. Acceptance criteria, порядок реализации (fixtures → интерфейсы → реализация → тесты → рефакторинг), какие команды проверки запустить.
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 · 132 lines · 91 tokens per session scan A e8738bb46052
sa-agent is an agent published in the GitHub repository mdemyanov/gramax-docportal-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 91 tokens to every session and 1,569 once invoked, about $0.0004 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-08-31.
sa-agent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sa-agentmdemyanov/gramax-docportal-mcp | Agent | 2 | 1mo ago | MIT | A | 91 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 100k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 79k | today | MIT | A | 33 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 61 | Claude Code |
| code-revieweranthropics/claude-cookbooks | Agent | 54k | 3d ago | MIT | A | 52 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 11 | Claude Code |