daily-brief

daily-brief is a skill for Claude Code from leiting-eric/DailyBrief. It costs 156 tokens per session (3,237 once invoked), scanned A, original, MIT.

Operational guidance for a daily news digest that combines technology, finance, politics, market data, and community discussions into one HTML page. RSS and APIs are ways to collect information from websites and services automatically.

In plain words
What is it for?
It is for fetching source material, enriching and rendering daily reports, configuring the report timezone, and running the process on Windows, macOS, or Linux schedules.
Why use it?
It helps operate and troubleshoot the digest pipeline, including its language-model processing, trading section, HTML output, and scheduled runs.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit It is for fetching source material, enriching and rendering daily reports, configuring the report timezone, and running the process on Windows, macOS, or Linux schedules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leiting-eric/dailybrief/daily-brief
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add leiting-eric/DailyBrief --skill daily-brief
Clone the repo
git clone --depth 1 https://github.com/leiting-eric/DailyBrief

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for daily-brief

README.md
[![agentmods](https://agentmods.dev/badge/skills/leiting-eric/dailybrief/daily-brief/github.svg)](https://agentmods.dev/skills/leiting-eric/dailybrief/daily-brief)
Your own site
<a href="https://agentmods.dev/skills/leiting-eric/dailybrief/daily-brief"><img src="https://agentmods.dev/badge/skills/leiting-eric/dailybrief/daily-brief/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for daily-brief

Your own site · 80×15
<a href="https://agentmods.dev/skills/leiting-eric/dailybrief/daily-brief"><img src="https://agentmods.dev/badge/skills/leiting-eric/dailybrief/daily-brief.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,237 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 172
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00156 $0.03237
Opus 5 $0.00078 $0.01618
Sonnet 5 $0.00031 $0.00647
Haiku 4.5 $0.00016 $0.00324

Measured 10d ago against content hash be088d30e362, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

daily-brief scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Browser works because of cookies + JS challenge; curl can't do either
.claude/skills/daily-brief/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

daily-brief — Operational Skill

This project generates a single-page HTML daily digest covering tech / finance / politics / market data / community discussion. The pipeline runs locally via the OS scheduler (Windows Task Scheduler / macOS launchd / Linux cron, default 08:00 local time) and emits daily_reports/<YYYY-MM-DD>/<YYYY-MM-DD>.html + sidecar files (each date gets its own subdir). The date label uses the system local timezone by default — set REPORT_TZ (e.g. Asia/Shanghai, UTC) in .env.local to override.

Detailed architecture lives in code; this skill is a cheat sheet for operating and diagnosing, not a re-explanation of the system.

Project root assumption

All paths in this skill are relative to the project root (the directory that contains package.json, lib/, scripts/).

Before any command, ensure the working directory is the project root. Two cases:

  1. Claude Code session opened inside the project — already there, no action needed

  2. Session opened elsewhere — read the config file and cd:

    # Cross-platform Node one-liner (prints the project root path):
    node -e "const fs=require('fs'),os=require('os'),path=require('path');const cfg=path.join(os.homedir(),'.daily-brief-config');if(fs.existsSync(cfg))console.log(fs.readFileSync(cfg,'utf8').trim());else process.exit(1)"
    

    Use the printed path: cd "$(...)" on bash / Set-Location (...) in PowerShell.

The config file is written by node scripts/install.mjs --global. If it's missing the user hasn't done a global install — tell them to run it.

Quick command reference

Need Command Cost
Full pipeline npm run daily ~5-8 min, ~6 Sonnet calls
Fetch sanity only (no LLM) npm run dry-run ~30s
Re-render existing sidecar npm run render [date] <1s
Re-run trading section npm run regen-trading [date] ~2 min, 1 LLM call
Top-up missing summary npm run regen-enrich <cat:sub> [date] ~20-40s, 1 LLM call
Open today's report in Chrome npm run open instant
Sonnet quota + call history npm run quota-report instant

Read the full file on GitHub · 191 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 191 lines · 156 tokens per session scan A be088d30e362

Subscribe to this mod's changes

daily-brief is a skill published in the GitHub repository leiting-eric/DailyBrief (352 stars, last pushed 7d ago), licensed MIT. It adds 156 tokens to every session and 3,237 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

prompt-master

Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other…

nidhinjs/prompt-master · 78 tokens

edge-tts

Text-to-speech conversion using uvx edge-tts for generating audio from text. Use when (1) User requests audio/voice output with the "tts" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, driving, cooking). (3) User wants a specific voice, speed, pitch, or format for TTS…

aahl/skills · 85 tokens

cn-stats

A command for comparing two software projects by scanning their structure, code, tests, documentation, and unfinished work. It produces scores and a written head-to-head assessment.

aahl/skills · 34 tokens

mcp-deepwiki

Skills for accessing and searching docs in DeepWiki/GitHub’s public code repositories can help users understand open-source project source codes, and users can also ask questions directly about the code docs.

aahl/skills · 44 tokens

tianqi

A weather-lookup workflow for Chinese locations, covering forecasts, hourly conditions, weather warnings, and daily-life indexes.

aahl/skills · 24 tokens

chief-of-staff

The CEO's right hand — maintains validated project context, prepares task contracts, logs cross-department decisions, and runs the weekly review. Use when the user says "what's in flight", "resume the project", "log this decision", "weekly review", "turn this idea into a brief", or when multi-department work needs…

alebgl77/claude-inc · 79 tokens