Skip to content

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.

3.4 KB
Raw Blame

HTML Report Template

CRITICAL: Output Format

Return RAW HTML text only. No markdown wrappers.

WRONG (markdown code block):

<b>Title</b>

CORRECT (raw HTML): Title

Output goes directly to Telegram parse_mode=HTML.

Allowed Tags

or — bold or — italic — inline code

 — code blocks
 or  or  — strikethrough
 — underline
text — links

## FORBIDDEN

NO markdown: **, ##, -, *, backticks
NO code blocks with triple backticks
NO tables (Telegram doesn't support)
NO unsupported tags: div, span, br, p, table, tr, td

## Template

📊 Обработка за {DATE}

🎯 Текущий фокус:
{ONE_BIG_THING from goals/3-weekly.md}

📓 Сохранено мыслей: {N}
• {emoji} {title} → {category}/

✅ Создано задач: {M}
• {task_name} ({priority}, {due})

🏢 Business:
• {client_name} — {action/status}
{N} клиентов упомянуто

📅 Загрузка на неделю:
Пн: {n} | Вт: {n} | Ср: {n} | Чт: {n} | Пт: {n} | Сб: {n} | Вс: {n}

⚠️ Требует внимания:
• {count} просроченных задач
• Цель "{goal}" без активности {days} дней

🔗 Новые связи:
• [[Note A]] ↔ [[Note B]]

⚡ Топ-3 приоритета на завтра:
1. {task} ({goal if aligned})
2. {task}
3. {task}

📈 Прогресс по целям:
• {goal_name}: {progress}% {emoji}

---
Обработано за {duration}

## Section Rules

### Focus (🎯)
Read from goals/3-weekly.md, find "ONE Big Thing" section.
If not found: "Не задан — обновите goals/3-weekly.md"

### Thoughts (📓)
Count saved, list with category emoji:
💡 idea, 🪞 reflection, 🎯 project, 📚 learning

### Tasks (✅)
Count created, list with priority and due date.
Format: • Task name (p2, friday)

### Business Activity (🏢)
Show ONLY if client/project mentions exist.
- Max 5 clients
- If CRM status changed → add note
- Format: • {Client} — {action}
- Footer: {N} клиентов упомянуто

### Week Load (📅)
Call find-tasks-by-date for 7 days.
Format: Пн: 4 | Вт: 2 | ...

### Attention (⚠️)
Show only if issues exist.
Check overdue tasks and stale goals (7+ days no activity).

### Links (🔗)
Show only if new links created.
Format: • [[Note A]] ↔ [[Note B]]

### Priorities (⚡)
Get open task entries from the daily/project notes, sort by priority, show top 3.

### Goals Progress (📈)
Read goals/1-yearly-2026.md, show goals with recent activity.
Emojis: 🔴 0-25%, 🟡 26-50%, 🟢 51-75%, ✅ 76-100%

## Error Report

❌ Ошибка обработки

Причина: {error_message}
Файл: {file_path}

Попробуйте /process снова

## Empty Report

📭 Нет записей для обработки

Файл daily/{date}.md пуст.

Добавьте записи в течение дня

## Length Limit

Telegram max: 4096 characters.
If exceeds: truncate "Новые связи" first, then keep only top 3 goals.

## Validation Checklist

Before returning report:
1. All tags closed
2. No raw < or > in text (use < >)
3. No markdown syntax
4. No tables
5. Length under 4096 chars