count — скилл для Claude Code: строка метрик проекта
Считает по вашему репозиторию одну строку: когда появился первый файл кода, сколько решений принято до него, сколько сессий. Никуда ничего не отправляет.
npx skills add haabe/mycelium --skill count -a claude-codeЧто делает count
Скилл читает .claude/harness/decision-log.md, холст проекта и логи хуков, а затем печатает одну строку: дата первого файла кода вне .claude/ и docs/, число датированных решений до этой даты, сколько из них ссылаются на внешние источники, сколько циклов закрыто до кода и сколько было сессий. Скрипт запускается командой python3 "${CLAUDE_PLUGIN_ROOT}/scripts/count_builder_row.py" --project-dir . и ничего не пишет на диск.
Счёт по внешним источникам — лексическая эвристика, и в описании скилла это названо верхней оценкой: ссылка на собственные заметки тоже подойдёт. Если число важно, записи в журнале придётся открыть и прочитать. Условие L0–L2 не применяется, потому что в записях журнала нет масштаба, а угадывать его — значит выдумывать счёт.
Скилл рассчитан на работу внутри фреймворка Mycelium: отдельно от него не будет состояния холста, проверок теории и поведения хуков. Без git или до появления первого файла кода в поле даты стоит unknown, и тогда понятия «до» не существует. Если везде нули, это ответ про журнал: решения принимались позже первого файла кода или не записывались вовсе — какой из вариантов, видно по дате и счётчику датированных записей.
Какие задачи решает
- увидеть, сколько решений зафиксировано до первого файла кода
- отделить решения со ссылкой на внешний источник от остальных
- посчитать закрытые до кода циклы и архивные решения
- узнать число сессий по логам хуков
- получить строку метрик, не отправляя данные наружу
Примеры запросов агенту
- Запусти скилл count и покажи мою строку метрик по проекту
- Сколько решений в журнале принято до первого файла кода? Посчитай через count
- Прогони
count_builder_row.pyи объясни, что значат нули
Как установить count
1Через Skills CLI (Vercel)
npx skills add haabe/mycelium --skill count -a claude-code2Вручную: положить файлы
~/.claude/skills/count/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/count/
1Через Skills CLI (Vercel)
npx skills add haabe/mycelium --skill count -a codex2Вручную: положить файлы
.agents/skills/count/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add haabe/mycelium --skill count -a cursor2Вручную: положить файлы
.cursor/skills/count/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install haabe/mycelium count2Вручную: положить файлы
.github/skills/count/SKILL.md1Через Skills CLI (Vercel)
npx skills add haabe/mycelium --skill count -a gemini-cli2Командой платформы
gemini skills install https://github.com/haabe/mycelium --path plugins/mycelium/skills/countВручную: положить файлы
.devin/skills/count/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add haabe/mycelium --skill count -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о count
Как установить count в Claude Code?
Выполните npx skills add haabe/mycelium --skill count -a claude-code. Файл скилла окажется по пути ~/.claude/skills/count/SKILL.md.
Что делает count?
Печатает одну строку из вашего журнала решений, холста и логов хуков: дату первого файла кода, число решений до неё, из них со ссылкой на внешние источники, закрытые до кода циклы и число сессий. Ничего не записывает и не отправляет.
Можно ли ставить count отдельно от Mycelium?
Скилл рассчитан на работу внутри фреймворка Mycelium. Без него не будет состояния холста, проверок теории и поведения хуков, на которые скилл опирается.
Исходный текст
SKILL.md · MIT
---
name: count
description: Print your own north-star row from your own record, and nothing else. Reads .claude/harness/decision-log.md, the canvas and the hook logs in this project; prints one line (decisions before the first source file, of which citing outside evidence, kills before code, sessions). Sends nothing anywhere. Opt-in; paste the line where you like or not at all.
metadata:
framework_dependency: "mycelium"
framework_dependency_note: "This skill is designed to run within the Mycelium framework (https://github.com/haabe/mycelium). Standalone use will skip the canvas state, theory gates, and harness behavior the skill assumes. Install: /plugin install mycelium@haabe-mycelium."
---
# Count: your own row, from your own record
Mycelium's north star is a hypothesis (dogfood DL-1177, 2026-09-07): a builder who makes at least
one build-or-kill decision on evidence from outside their own head, before their project's first
source file, is the builder who comes back and later says the brief changed what they built. There
is no telemetry by design (PRIVACY.md). This command is the opt-in half: it reads your repository
and prints one line. It writes nothing and sends nothing.
## Run
```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/count_builder_row.py" --project-dir .
```
Output, one line plus what it means:
```
mycelium row | first source file 2026-06-02 | decisions before it 4 (of 31 dated) | citing outside evidence 2 (lexical proxy, upper bound) | kills before code 1 | sessions 12
```
## What the numbers are, and which are proxies
- **first source file**: the first commit that added a code file outside `.claude/` and `docs/`. Without git, or before any such file, it reads `unknown` and nothing is "before" it.
- **decisions before it**: dated entries in your decision log on or before that day.
- **citing outside evidence**: an entry carrying a URL, an `external_*` source class, a `(per ...)` citation or an interview word. **A lexical proxy and an upper bound**: the unit asks for a person in the pipeline or a fact about the market, and a link to your own notes matches too. Read the entries if the number matters.
- **kills before code**: cycle rows killed or archived, and archived solutions, dated on or before that day.
- **sessions**: distinct session ids in the read-log and change-log the hooks write.
The discovery-layer condition (L0 to L2) is not applied, because decision-log entries carry no
scale and guessing one would manufacture the count. Say so if you paste the line.
## Rules
- Never write the line into a canvas or a decision log on the builder's behalf; the row is theirs.
- Never call out. The maintainer's proxy sheet gains rows only from what people choose to paste (an issue on the framework repo, a message, nothing).
- If the line is 0 across the board, that is a real answer about the record, not a failure of the builder: it means the decisions were made after the first source file, or were not logged. Say which, from the `first source file` date and the `of N dated` count.
© haabe · MIT · haabe/mycelium