daily-digest
Run a daily industry digest for the user's niche — aggregates fresh tool launches, releases, and high-signal discussions from public sources (Reddit, Hacker News, GitHub, web search), filters hard, and outputs a tight briefing. No fluff, no opinion pieces, just specific things the user could act on or make content about today. Use when the user says /daily-digest, 'what's new today', 'what happened in [my niche]', 'morning briefing', 'catch me up', or 'what's trending'.
duncan-buildroom · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add duncan-buildroom/profit-room-skills --skill daily-digest技能说明
name: daily-digest description: "Run a daily industry digest for the user's niche — aggregates fresh tool launches, releases, and high-signal discussions from public sources (Reddit, Hacker News, GitHub, web search), filters hard, and outputs a tight briefing. No fluff, no opinion pieces, just specific things the user could act on or make content about today. Use when the user says /daily-digest, 'what's new today', 'what happened in [my niche]', 'morning briefing', 'catch me up', or 'what's trending'." allowed-tools: Bash, WebSearch, WebFetch, Read, Write metadata: argument-hint: "/daily-digest [--today | --week | --days=N]"
Daily Digest — Industry Briefing
Surfaces specific, concrete launches, releases, and discussions in the user's field that they could make a single piece of content about, or just need to know. No corporate news, no debates, no "AI is changing everything" filler.
Personalization
This digest is scoped to your niche and your audience. Before running, load the brand profile at
~/.claude/brand-profile.md.
- If it doesn't exist, run the personalize skill first (or just tell me your niche and who you serve).
- NICHE and AUDIENCE come from the profile and drive every search query and the relevance filter.
- The digest is tuned for a solo creator/operator by default — someone trying to grow an audience, get clients, or ship products. If the user's audience is different, adapt the "relevance" test to their audience's core question.
Configuration (edit these for your niche)
Set these once for your field. The defaults below assume an "AI / creator tools" niche — swap them for your own. You can paste your own values when you run the skill, or keep them here.
- SUBREDDITS — communities where your niche talks (default:
ClaudeAI ChatGPT SideProject indiehackers entrepreneur) - GITHUB_ORGS — orgs whose new repos = signal, if your niche is software (default:
anthropics openai google-deepmind; leave empty for non-software niches) - KEYWORDS — the tools/terms a launch would mention (default:
AI agent LLM open source tool) - COMPETITOR_CHANNELS — optional: YouTube channel IDs of creators you track (used only if vidIQ is connected; empty by default)
STEP 0: Parse Timeframe
--today/--days=1→DAYS=1--week/--days=7→DAYS=7--days=N→DAYS=N- No flag →
DAYS=2(last 48 hours)
Compute:
- TODAY_ISO — today as
YYYY-MM-DD(from context) - CUTOFF_ISO — TODAY_ISO minus DAYS days
Display before running tools:
🗞️ Running your [NICHE] digest for the last {DAYS} day(s)...
Scanning: Reddit · Hacker News · GitHub · web search
STEP 1: Run Research In Parallel
Fire the Bash call and the WebSearches in ONE message. Replace {DAYS}, {CUTOFF_ISO}, and the
config variables with real values before firing.
Tool call A — one Bash call across the free public APIs:
DAYS={DAYS}
CUTOFF_ISO={CUTOFF_ISO}
SUBREDDITS="ClaudeAI ChatGPT SideProject indiehackers entrepreneur" # ← your SUBREDDITS
GITHUB_ORGS="anthropics openai google-deepmind" # ← your GITHUB_ORGS (may be empty)
KEYWORDS="AI agent LLM open source tool" # ← your KEYWORDS
CUTOFF_EPOCH=$(python3 -c "import datetime; print(int((datetime.datetime.now()-datetime.timedelta(days=$DAYS)).timestamp()))")
# ── Reddit hot posts (real upvote signal; score >= 150 is strong) ──
echo "=== Reddit Hot Posts ==="
for sub in $SUBREDDITS; do
echo "--- r/$sub ---"
curl -fsSL -H "User-Agent: daily-digest/1.0" \
"https://www.reddit.com/r/${sub}/hot.json?limit=10" 2>/dev/null \
| python3 -c "
import sys, json
try:
data = json.load(sys.stdin)
for post in data['data']['children']:
p = post['data']
if p.get('score', 0) >= 150:
print(f\"{p['score']}up {p['title'][:120]} | https://reddit.com{p['permalink']}\")
except Exception as e:
print(f'WARN: {e}')
" 2>/dev/null || echo "WARN: r/$sub fetch failed"
done
# ── Hacker News (Show HN + discussions, real points, date-filtered) ──
echo "=== HN Show HN ==="
curl -fsSL "https://hn.algolia.com/api/v1/search?query=$(echo $KEYWORDS | tr ' ' '+')&tags=show_hn&numericFilters=created_at_i%3E${CUTOFF_EPOCH},points%3E50&hitsPerPage=15" 2>/dev/null \
| python3 -c "
import sys, json
try:
data = json.load(sys.stdin)
for hit in sorted(data.get('hits', []), key=lambda h: h.get('points', 0), reverse=True):
print(f\"{hit.get('points',0)}pts | {hit.get('title','')} | https://news.ycombinator.com/item?id={hit.get('objectID','')}\")
except Exception as e:
print(f'WARN: {e}')
" 2>/dev/null || echo "WARN: HN Show HN failed"
echo "=== HN Discussions ==="
curl -fsSL "https://hn.algolia.com/api/v1/search?query=$(echo $KEYWORDS | tr ' ' '+')&numericFilters=created_at_i%3E${CUTOFF_EPOCH},points%3E100&hitsPerPage=5" 2>/dev/null \
| python3 -c "
import sys, json
try:
data = json.load(sys.stdin)
for hit in data.get('hits', []):
print(f\"{hit.get('points',0)}pts | {hit.get('title','')} | https://news.ycombinator.com/item?id={hit.get('objectID','')}\")
except Exception as e:
print(f'WARN: {e}')
" 2>/dev/null || echo "WARN: HN discussions failed"
# ── New GitHub repos from key orgs (software niches only; catches drops at source) ──
if [ -n "$GITHUB_ORGS" ]; then
echo "=== New GitHub repos from key orgs ==="
for org in $GITHUB_ORGS; do
echo "--- $org ---"
curl -fsSL "https://api.github.com/orgs/${org}/repos?sort=created&direction=desc&per_page=10" 2>/dev/null \
| python3 -c "
import sys, json
org='${org}'; cutoff='${CUTOFF_ISO}'
try:
for r in json.load(sys.stdin):
created = r.get('created_at','')[:10]
if created >= cutoff:
desc = (r.get('description') or '')[:80]
print(f\"{created} | {org}/{r['name']} | ★{r.get('stargazers_count',0)} | {desc} | {r['html_url']}\")
except Exception as e:
print(f'WA
阅读完整来源 ↗