К основному содержанию
плагин

mine — плагин для Claude Code: база сессий с запросами

Складывает все сессии Claude в локальную SQLite и отвечает на вопросы о расходах, токенах и прошлых разговорах.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add anthropics/claude-plugins-community
/plugin install mine@claude-community
Открыть на GitHub

Что делает mine

Плагин перехватывает сессии через хуки и пишет их в локальную базу SQLite. Дальше скилл /mine принимает вопросы на обычном языке — про стоимость, токены, инструменты, проекты, ошибки, попадания в кеш — и ищет по всей истории разговоров полнотекстовым поиском.

Есть память ошибок: когда вы повторяете промах, плагин предупреждает об этом. Ещё он замечает аномалии в тратах и сравнивает ценность API с подпиской. Область можно сузить до проекта или оставить глобальной.

Внешних зависимостей нет: хватит Python из стандартной библиотеки. Всё лежит на вашей машине, поэтому база останется с вами и после удаления плагина — это стоит учесть, если на диске мало места.

Какие задачи решает

  • посмотреть, сколько токенов ушло на проект
  • найти разговор, где обсуждался нужный файл
  • поймать повторяющуюся ошибку до того, как она снова всплывёт
  • сравнить расходы на API с ценой подписки
  • проверить, насколько хорошо работает кеш

Примеры запросов агенту

  • Сколько я потратил на этот проект за неделю?
  • Найди все сессии, где я правил auth.ts.
  • Какие ошибки я повторяю чаще всего?

Как установить mine

Через маркетплейс плагинов

/plugin marketplace add anthropics/claude-plugins-community
/plugin install mine@claude-community

По шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой

Вопросы о mine

Как установить mine в Claude Code?

Добавьте маркетплейс командой /plugin marketplace add anthropics/claude-plugins-community, затем поставьте плагин: /plugin install mine@claude-community.

Что делает mine?

Собирает сессии Claude в локальную базу SQLite и даёт скилл /mine с запросами на естественном языке про расходы, токены, инструменты и содержимое прошлых разговоров.

Нужно что-то ставить дополнительно?

Нет, плагин работает на стандартной библиотеке Python, внешних зависимостей у него нет.

Исходный текст

mine · MIT
# agent tips

a personal handbook for using agents to build things and handle everyday work.
the site brings together everyday work, building for fun or serious use, and
personal infrastructure. product guides provide the specific controls.

[read the handbook](https://agents.anipotts.com) or go directly to a principal guide:

<!-- generated:guides:start -->
- [codex](https://agents.anipotts.com/guides/codex/)
- [claude code](https://agents.anipotts.com/guides/claude-code/)
- [grok](https://agents.anipotts.com/guides/grok/)
- [start here](https://agents.anipotts.com/handbook/operating-agents/)
- [choosing an agent setup](https://agents.anipotts.com/handbook/choosing-a-setup/)
- [everyday work](https://agents.anipotts.com/handbook/everyday-work/)
- [building things](https://agents.anipotts.com/handbook/building-things/)
- [personal infrastructure](https://agents.anipotts.com/handbook/personal-infrastructure/)
- [backups and getting your work back](https://agents.anipotts.com/handbook/backups-and-recovery/)
- [how coding agents got here](https://agents.anipotts.com/handbook/history/)
- [where this comes from](https://agents.anipotts.com/handbook/method-and-sources/)
<!-- generated:guides:end -->

## resume here

The [reassessment](editorial/reassessment.md) records a disposition for all 24
pages present at the start. Four shared pages now have a publishable first edition. The [section audit](editorial/reassessment-details.md) covers
headings, copy, source conflicts, and both recovered stashes. The
[review ledger](editorial/review-ledger.md) owns wording acceptance and the
local `/__progress/` page derives the current review map.

- [ ] review the homepage bridge and remaining start page copy
- [ ] review deeper backup page copy in small batches, continuing with “choose one backup workflow”
- [ ] reassess the published everyday work and building copy in small wording batches
- [ ] review corrected product copy in small wording batches

The October 17 [accuracy disposition](editorial/reassessment-details.md#accuracy-corrections-october-17-2026) records the product corrections and the limits of the source and example checks. Exact wording acceptance remains in the review ledger. [PR #329](https://github.com/anipotts/agents/pull/329) carries these corrections and their final check and release evidence.

[PR #327](https://github.com/anipotts/agents/pull/327) carries the organized
publication and backup first edition. Its exact-head checks and deployment
records own release evidence.

[PR #326](https://github.com/anipotts/agents/pull/326) carries the setup,
reconciled design work, audit, and accepted opening copy through protected checks.
Its check and deployment records own release evidence.

The structure is accepted with separate building paths for curiosity and work
with business or real world consequences. The homepage headline/subtitle, everyday first-task example and exact planning
tradeoff paragraph are accepted;
the infrastructure opening and six sections also have exact acceptance records.
The deeper backup outline is accepted; its body copy remains under review.
Ani authorized organized publication of the shared pages on October 12.
Publication authority does not extend exact wording acceptance to newly added prose.
Archived plugins retain compatibility through November 5, 2026.

## project layout

`content/` owns guide copy; `editorial/` owns sources and review evidence;
`src/` renders the site; `scripts/` owns checks. `design.md` owns visual rules.
[Worktree setup](docs/worktrees.md) describes reusable setup and preview actions.
The handbook review stays in the saved local `main` checkout.

## evidence principle

<!-- generated:evidence:start -->
- `tested`: reproduced in a named environment and version, with the tester and limits stated
- `official source`: confirmed in current primary documentation or source code
- `analysis`: a judgment derived from stated evidence
- `open question`: current evidence is missing or incomplete
<!-- generated:evidence:end -->

citations sit beside the claims they support. tested observations name their limits, while source based claims stay distinct from personal analysis.

## local verification

```bash
node scripts/project.mjs setup
node scripts/project.mjs verify
```

built and maintained by [ani potts](https://anipotts.com). corrections with primary sources or reproducible field evidence are welcome.

MIT

© anipottsbuilds · MIT · anipottsbuilds/agents

Похожие плагины

Все плагины по теме «Настройка агента: память, контекст, субагенты» →
ponytail DietrichGebert Плагин настраивает агента на короткие решения без лишних абстракций. Сгодится, когда нужно использовать возможности уже имеющегося кода и не усложнять задачу. ★ 177 259звёзд репо impeccable pbakaus Даёт агенту словарь дизайнера: 24 команды вроде polish, audit и bolder, чтобы правки интерфейса не сводились к «сделай красиво». ★ 89 321звёзд репо last-30-days-skill mvanhorn Собирает свежие посты, комментарии и транскрипты по любой теме за последний месяц и укладывает их в один отчёт. ★ 65 596звёзд репо claude-hud jarrodwatts Показывает под строкой ввода, сколько контекста занято, какие инструменты работают и как идут задачи. Пригодится, когда сессия длинная и надо видеть расход. ★ 28 914звёзд репо understand-anything Egonex-AI Плагин сканирует проект и строит интерактивный граф файлов, классов и зависимостей с веб-дашбордом. Пригодится при знакомстве с чужим или крупным кодом. ★ 88 429звёзд репо mem0 mem0ai Подключает долговременную память к Claude Code, сохраняя контекст проектов и привычки между сессиями. ★ 67 869звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой