# Daily Brief

> Generate structured daily briefing from Hacker News, GitHub Trending, and mind.db.

- Skill: `matrixx0070/daily-brief` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add matrixx0070/daily-brief`
- Raw SKILL.md: https://api.skillmd.com/api/skills/matrixx0070/daily-brief/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: Matrixx0070 (https://skillmd.com/u/matrixx0070)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/matrixx0070/daily-brief

---


## Description

Generates a structured daily intelligence briefing by aggregating four data sources:

| Source | What it provides |
|--------|-----------------|
| Hacker News (Algolia API) | Top 5 front-page stories today |
| GitHub Trending | Top 5 trending repositories |
| mind.db cron_runs | Cron failures in last 24h |
| mind.db content_ideas | Count of pending ideas from the owner's backlog |

The brief includes action items (things that need attention) and content opportunities
(trending topics suitable for the owner's YouTube channel).

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "focus": {
      "type": "string",
      "description": "Optional filter: 'tech' (HN+GitHub only), 'system' (health only), or omit for all sections"
    }
  },
  "required": []
}
```

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "brief":        { "type": "string", "description": "Full Markdown briefing text" },
    "actionItems":  { "type": "array",  "items": { "type": "string" }, "description": "Items needing attention" },
    "opportunities": { "type": "array", "items": { "type": "string" }, "description": "Content opportunity signals" },
    "generatedAt":  { "type": "string", "description": "ISO timestamp" }
  }
}
```

## Example

```ts
const result = await registry.execute('intelligence.daily-brief', {});
// result.data.brief       → full markdown brief
// result.data.actionItems → ['Fix cron failure: system.heartbeat: connection timeout']
// result.data.opportunities → ['AI trending on HN — good for reaction content']
```

## Notes

- HN and GitHub fetches are parallel — total latency is max(HN, GH), not sum.
- Network failures for external sources are gracefully handled (fallback messages included).
- system health data comes from mind.db only — no external calls for that section.
- Suitable to run daily as a cron job or on demand at session start.

