Skip to content
Productivity
Skill

/dbrain-processor

Personal assistant for processing daily voice/text entries from Telegram. Classifies content, saves thoughts to Obsidian with wiki-links, generates HTML reports. Integrates Your Business context (clients, projects, CRM). Triggers on /process command or daily 21:00 cron.

From plugin
agent-second-brain
3464 skills2 agents
Install
$ npx -y skills add smixs/agent-second-brain --skill dbrain-processor --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/dbrain-processor

Context preview

The summary Claude sees to decide when to auto-load this skill.

Personal assistant for processing daily voice/text entries from Telegram. Classifies content, saves thoughts to Obsidian with wiki-links, generates HTML reports. Integrates Your Business context (clients, projects, CRM). Triggers on /process command or daily 21:00 cron.

SKILL.md

dbrain-processor.SKILL.md
type: note
description: Personal assistant for processing daily voice/text entries from Telegram. Classifies content, saves thoughts to Obsidian with wiki-links, generates HTML reports. Integrates Your Business context (clients, projects, CRM). Triggers on /process command or daily 21:00 cron.
name: dbrain-processor
depends_on: [autograph]

d-brain Processor

Process daily entries → thoughts (Obsidian) + HTML report (Telegram).

Integrates with Your Business data for business context.

CRITICAL: Output Format

**ALWAYS return RAW HTML. No exceptions. No markdown. Ever.**

Your final output goes directly to Telegram with `parse_mode=HTML`.

Rules: 1. ALWAYS return HTML report — even if entries already processed 2. ALWAYS use the template below — no free-form text 3. NEVER use markdown syntax (**, ##, ```, -) 4. NEVER explain what you did in plain text — put it in HTML report

WRONG:

<b>Title</b>

CORRECT: <b>Title</b>

Processing Flow

1. **Load personal context** — Read goals/1-yearly, goals/2-monthly, goals/3-weekly 2. **Load business context**:

  • Read `business/_index.md` — Your Business (клиенты, проекты, CRM)
  • Read `projects/_index.md` — личные проекты (если релевантно)

3. **Read daily** — daily/YYYY-MM-DD.md 4. **Process entries** — Classify → task or thought, detect business mentions 5. **Create cards (autograph)** — new entities/thoughts become vault cards per the autograph template (type, description-as-snippet, tags, status); tasks become checklist entries in the daily note / project notes 6. **Build links** — Connect notes with [[wiki-links]], link to business entities 7. **Generate HTML report** — business activity + day summary 8. **Log actions to daily** — append action log entry (see below) 9. **Evolve MEMORY.md** — update long-term memory if needed (see below) 10. **Capture observations** — record friction signals to handoff.md (see below)

ОБЯЗАТЕЛЬНО: Логирование в daily/

**После ЛЮБЫХ изменений в vault — СРАЗУ пиши в `daily/YYYY-MM-DD.md`:**

Формат:

## HH:MM [text]
{Описание действий}

**Создано/Обновлено:**
- [[path/to/file|Name]] — описание

**Что логировать:**

  • Создание файлов в thoughts/
  • Обновление business/ или projects/
  • Добавление task-записей в daily/проекты
  • Синхронизация с внешними системами

**Пример:**

## 14:30 [text]
Обработка ежедневных записей

**Создано задач:** 2
- [ ] Follow-up Acme Corp (due: завтра, p2)
- [ ] Подготовить КП Unilever (due: пятница, p2)

**Сохранено мыслей:** 1
- [[thoughts/ideas/product-launch|Product Launch]] — идея запуска

**Зачем:** Audit trail + контекст для будущих обработок.

Evolve MEMORY.md (Step 9 Detail)

**ЦЕЛЬ:** Поддерживать MEMORY.md актуальным. Не добавлять, а ЭВОЛЮЦИОНИРОВАТЬ.

Когда обновлять MEMORY.md

Проверь после обработки entries — есть ли информация достойная долгосрочной памяти?

Write Rules: Что достойно MEMORY.md

**ПИСАТЬ:**

  • ✅ Key decisions с impact (pivot, tool choice, architecture change)
  • ✅ Изменения в pipeline (новый лид, закрытая сделка, изменение статуса)
  • ✅ Финансовые изменения (оплаты получены, долги, новые контракты)
  • ✅ Новые паттерны/инсайты (learnings)
  • ✅ Изменения в Active Context (новый ONE Big Thing, Hot Projects)
  • ✅ Новые ключевые контакты (с context)

**НЕ ПИСАТЬ:**

  • ❌ Ежедневные мелочи (встречи, звонки без impact)
  • ❌ Временные заметки (оставить в daily/)
  • ❌ Дубликаты того что уже есть
  • ❌ Детали проектов (оставить в business/crm/, projects/)
  • ❌ Тривиальные задачи

Как обновлять (evolve, не append)

**Принцип:** Новое ЗАМЕНЯЕТ устаревшее, не добавляется рядом.

| Ситуация | Действие | |----------|----------| | Новое противоречит старому | ЗАМЕНИТЬ старую информацию | | Новое дополняет старое | Добавить в существующую секцию | | Информация устарела | Удалить или архивировать |

**Пример 1 — Изменение статуса проекта:**

Old: "| Acme Corp NCP Meals | p1 | Активная разработка | $XXK |"
New info: "Acme Corp NCP Meals сдан клиенту"
→ ЗАМЕНИТЬ на: "| Acme Corp NCP Meals | ✅ | Завершён | $XXK |"

**Пример 2 — Новое решение:**

Добавить в Key Decisions таблицу:
| 2026-02-01 | Отказ от X в пользу Y | причина | impact |

**Пример 3 — Изменение в pipeline:**

Old: "| LogisticsLead | Hot | $XXK |"
New info: "LogisticsLead подписал контракт"
→ Удалить из Pipeline
→ Добавить в Hot Projects или Financial Context

Секции MEMORY.md для обновления

| Секция | Когда обновлять | |--------|-----------------| | Active Context | Изменение ONE Big Thing, Hot Projects, Pipeline | | Key Decisions | Новое решение с impact | | Financial Context | Оплаты, долги, контракты | | Key People | Новый важный контакт | | Learnings | Новый паттерн/инсайт | | Current Crisis | Изменение в текущей критической ситуации |

Формат Edit

Используй Edit tool для точечных изменений:

Edit MEMORY.md:
old_string: "| LogisticsLead | Hot | $XXK |"
new_string: "| LogisticsLead | ✅ Signed | $XXK |"

В отчёте

Если обновил MEMORY.md, добавь секцию:

<b>🧠 MEMORY.md обновлён:</b>
• Active Context → Hot Projects updated
• Key Decisions → +1 новое решение

Capture Observations (Step 10 Detail)

**ЦЕЛЬ:** Записывать friction signals, паттерны и идеи для улучшения системы.

Когда записывать

После обработки проверь — были ли проблемы или наблюдения?

| Тип | Когда | |-----|-------| | `[friction]` | mcp-cli errors, timeouts, empty daily, broken links, unexpected data | | `[pattern]` | Повторяющийся паттерн (задачи всегда overdue, daily пустой по выходным) | | `[idea]` | Идея для улучшения pipeline, schema, отчёта |

Формат

Append в `vault/.session/handoff.md` секцию `## Observations`:

## Observations
- [friction] YYYY-MM-DD: transcription timeout 3x — retry спас, но -60 сек
- [pattern] YYYY-MM-DD: daily без entries 2 дня подряд — выходные?
- [idea] YYYY-MM-DD: CRM карточки без deal_deadline = невидимые дедлайны

Правила

  • Одна строка на наблюдение (конкретика, не абстракции
Read more
Ships withagent-second-brain

An always-on second brain you talk to. Voice notes in Telegram → typed, linked knowledge in your Obsidian vault. Runs 24/7 on the Claude subscription you already have.

Get the whole plugin
Stats
347
Stars
215
Forks
Active
Maintenance
Python
Language
MIT
License
4d ago
Last commit
7mo ago
Created

Repo: smixs/agent-second-brain