Discord bot agent that detects article links, classifies relevance based on your interests, and archives with structured metadata.
- You share a link in Discord
- Ear detects it, fetches the article
- Classifies as Must-Read / Recommended / Reference using your
comad.config.yamlinterests - Archives to
archive/YYYY-MM-DD-slug.mdwith YAML frontmatter - Generates daily digest HTML
All relevance scoring comes from comad.config.yaml:
| Config Section | Purpose |
|---|---|
interests.high |
Core topics — articles here score highest |
interests.medium |
Secondary topics — moderate relevance |
interests.low |
Filter targets — lowest relevance |
categories |
Tags applied to archived articles |
must_read_stack |
Tools/frameworks that trigger must-read priority |
sources.news |
Link patterns to detect (e.g., news.hada.io) |
ear.must_read_ratio |
Target percentage for must-read (~15%) |
# Generate ear config from comad.config.yaml
cd .. && ./scripts/apply-config.sh
# The generated files:
# ear/interests.md — Your interest profile
# ear/CLAUDE.md — Bot rules with your config baked inThen start a Claude Code session with this directory as the working directory. The bot reads CLAUDE.md on startup.
---
date: 2026-04-04
relevance: 추천
categories: [AI/LLM, Tool]
source: https://example.com/article
---
# Article Title
## Key Summary
- Point 1
- Point 2
## Why It Matters
Connection to your interests...