cognitive-core: Skill for Claude Code

.claude/skills/autopilot/SKILL.md

autopilot is a skill for Claude Code from mocartlex-wq/cognitive-core. It costs 63 tokens per session (1,764 once invoked), scanned A, original, MIT.

An automation guide for carrying a software task through implementation, local startup, browser testing, fixes, deployment, and final verification. It is tailored to a FastAPI backend and static web pages served from containers.

In plain words
What is it for?
Use it to build or repair the application, start the relevant services, test user journeys by clicking through the pages, fix discovered problems, deploy the result, and produce an acceptance checklist.
Why use it?
It treats a task as unfinished until the result has been exercised in the browser and checked as a working system, not merely written as code.

Skill for Claude Code

Written for Claude Code: disallowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

This is mocartlex-wq/cognitive-core's own configuration. It tells Claude Code how to work on cognitive-core 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 cognitive-core configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mocartlex-wq/cognitive-core. 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/mocartlex-wq/cognitive-core/main/.claude/skills/autopilot/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mocartlex-wq/cognitive-core

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 autopilot

README.md
[![agentmods](https://agentmods.dev/badge/skills/mocartlex-wq/cognitive-core/autopilot/github.svg)](https://agentmods.dev/skills/mocartlex-wq/cognitive-core/autopilot)
Your own site
<a href="https://agentmods.dev/skills/mocartlex-wq/cognitive-core/autopilot"><img src="https://agentmods.dev/badge/skills/mocartlex-wq/cognitive-core/autopilot/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 autopilot

Your own site · 80×15
<a href="https://agentmods.dev/skills/mocartlex-wq/cognitive-core/autopilot"><img src="https://agentmods.dev/badge/skills/mocartlex-wq/cognitive-core/autopilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00063 $0.01764
Opus 5 $0.00032 $0.00882
Sonnet 5 $0.00013 $0.00353
Haiku 4.5 $0.00006 $0.00176

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

Security

Grade A, and why

autopilot scanned grade A with 1 finding 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.

Makes network callslowCapability

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

# curl https://mcp.me-ai.ru/ui/room?id=... -o page.html
.claude/skills/autopilot/SKILL.md · 132 lines

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.

Автопилот: до проверенного результата за один заход

Задача сделана, когда она проверена работающей, а не когда код написан. Результат отдаётся один раз — в конце, с отчётом о проверке.

Адаптация автопилота из ai-crm под стек cognitive-core: здесь нет npm/ui, фронтенд — статические страницы из sandbox/, которые отдаёт FastAPI, а прод живёт в docker на mcp.me-ai.ru.

Правило про вопросы

AskUserQuestion изъят. Значит:

  • развилка → выбери сам разумный вариант и продолжай;
  • принятое допущение запиши и назови в отчёте одной строкой: «предположил X, потому что Y — скажи, если не так»;
  • останавливайся, только если продолжать физически нельзя: нет доступа, ключа или файла. Тогда скажи, чего именно не хватает и что уже сделано;
  • неуверенность — повод проверить, а не спросить.

Цикл

Повторять, пока проход не станет чистым:

  1. Написать или поправить код.
  2. Поднять то, что правил. Бэкенд — docker compose up -d --build api, дождаться /health. Страницу из sandbox/ можно проверять без сборки: она монтируется в контейнер, правка видна сразу.
  3. Открыть в браузере и пройти сценарий кликами, а не убедиться, что «страница загрузилась».
  4. Посмотреть консоль. Любая ошибка или необработанный reject — баг, даже если внешне всё работает.
  5. Снять скриншот и посмотреть на него глазами. Скриншоты ловят то, чего в коде не видно: обрезанный текст, пустые блоки, съехавшую вёрстку.
  6. Нашёл — почини и вернись к шагу 2. Не копить баги на потом.

Стенд для страниц, требующих входа

Страницы sandbox/ защищены сессией, и браузер инструмента в неё не залогинен. Проверять так (приём отработан 2026-08-11 на room.html):

# 1. взять БОЕВУЮ страницу — проверяем то, что отдаётся людям
#    curl https://mcp.me-ai.ru/ui/room?id=... -o page.html
# 2. вставить ПЕРЕД её скриптами заглушку fetch, возвращающую правдоподобные
#    данные (длинные тексты, много записей — на коротких баги не воспроизводятся)
# 3. поднять локально python -m http.server и открыть в браузере
# 4. мерить, а не смотреть: scrollTop, scrollHeight, наличие обработчиков,
#    window.onerror

Read the full file on GitHub · 132 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 · 132 lines · 63 tokens per session scan A 1dface90115e

Subscribe to this mod's changes

autopilot is a skill published in the GitHub repository mocartlex-wq/cognitive-core (1 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 1,764 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.