Cron Job: trender-idea-miner

← 返回首页

Cron Job: trender-idea-miner

Job ID: 2a9306b6b96f
Run Time: 2026-09-27 07:04:48
Schedule: 0 7 * * *

Prompt

[IMPORTANT: The user has invoked the "idea-miner" skill, indicating they want you to follow its instructions. The full skill content is loaded below.]


name: idea-miner
description: Mine daily creative ideas & startup signals from HN/GitHub.
version: 1.0.0
author: Hermes Agent
license: MIT
metadata:
hermes:
tags: [ideas, trends, research, startup, daily-briefing]
related_skills: [youtube-content, blogwatcher]


🧠 Idea Miner — Daily Creative Intelligence

Overview

Mines today's creative ideas, inspiration hotspots, and startup signals from public sources. Produces a structured Markdown report with demand signals, trending projects, and actionable insights.

The report is saved to /opt/data/hermes/idea-miner/idea-miner_{YYYYMMDD}.md and delivered to the configured destination (Telegram, etc.).

When to Use

Data Sources

✅ Available & Tested

Source API Endpoint Notes
HN Algolia (front page) https://hn.algolia.com/api/v1/search?tags=front_page&hitsPerPage=20 Returns top stories with points
HN Algolia (Ask HN) https://hn.algolia.com/api/v1/search?tags=ask_hn&hitsPerPage=15 Good for demand/need signals
HN Algolia (Show HN recent) https://hn.algolia.com/api/v1/search_by_date?tags=show_hn&numericFilters=points%3E10&hitsPerPage=12 URL-encode > as %3E
HN Firebase (item detail) https://hacker-news.firebaseio.com/v0/item/{ID}.json Individual story metadata
GitHub Search (new repos) https://api.github.com/search/repositories?q=stars:%3E100+created:%3E{YYYY-MM-DD}&sort=stars&order=desc&per_page=10 Header: Accept: application/vnd.github.v3+json, User-Agent: HermesAgent/1.0

❌ Currently Unavailable

Source Issue
Reddit JSON API (old.reddit.com, www.reddit.com) Blocked by Reddit (403 "whoa there, pardner") — needs OAuth credentials
Reddit pullpush.io (public archive) Returns empty results from this IP
Google Trends RSS Endpoint trends.google.com/trendingsearches/daily/rss?geo=US returns 404
Google Trends API trends.google.com/trends/api/dailytrends returns 404
X/Twitter via xurl xurl CLI not installed on this VPS

Data Acquisition Workflow

  1. Use curl -s -o /tmp/filename.json -w '%{http_code}' to save to temp file first (avoids pipe-to-interpreter security blocks in cron mode)
  2. Parse with python3 -c "import json; data = json.load(open('/tmp/filename.json')); ..."
  3. Saved temp files are disposable — clean up or leave in /tmp

Report Format

The report uses Chinese (用户偏好) with the following sections:

# 🧠 Idea Miner — 每日创意情报 (YYYY-MM-DD)

> 数据来源:[list of sources used]

## 📢 需求现场 — 高意向需求 & 讨论
Top demand signals from Ask HN, discussions, needs

## 📈 趋势项目 — GitHub 热门新仓库
Table: project | ⭐ | description | direction
Followed by trend interpretation block (code fence with arrows)

## 🔬 Show HN 精选 — 本周最新项目
Table: project | points | description

## 🌟 今日创业灵感精选
### 高潜力方向
### 已验证信号

## 📊 数据快照
Key metrics summary table

Report Generation Steps

  1. Fetch HN front page — identifies the overall tech zeitgeist for the day
  2. Fetch HN Ask HN — captures user needs, pain points, and demand signals
  3. Fetch HN Show HN (recent, points>10) — captures new projects people are building
  4. Fetch GitHub trending repos (last 7 days) — identifies what developers are excited about
  5. Fetch additional sources if available (Reddit, Twitter, etc.)
  6. Synthesize findings into the structured report
  7. Save to file at /opt/data/hermes/idea-miner/idea-miner_{YYYYMMDD}.md
  8. Output the report as final response — the cron delivery system automatically delivers it

File Save Convention

Common Pitfalls

  1. HN Algolia URL encoding: The numericFilters parameter with > must use %3E not raw >. E.g. numericFilters=points%3E10
  2. Reddit API blocked: Don't retry Reddit JSON API with this IP — it's consistently 403. Only retry if OAuth creds are configured.
  3. Pipe-to-interpreter security blocks: In cron mode, curl | python3 triggers security warnings. Save output to file first with -o /tmp/file, then parse with python3 -c reading from file.
  4. GitHub API rate limits: Without authentication, GitHub API is limited to 60 req/hr. For 10 repos + description parsing per run this is fine, but batch requests if expanding.
  5. Show HN search prefers search_by_date: The /search endpoint returns all-time top, not recent. Use /search_by_date for recent Show HN posts.
  6. No xurl installed: X/Twitter mining won't work unless xurl CLI is installed and OAuth'd.
  7. Google Trends unavailable via simple curl: None of the documented public endpoints work (404). Skip silently.

Verification Checklist

Related Scripts

The legacy shell script at /root/.hermes/scripts/idea-miner_daily.sh references a Python script at ~/idea-miner/idea_miner.py that no longer exists. The cron jobs now run Hermes agent directly with the prompt, bypassing the shell script. If the shell script is ever re-enabled, it needs to be updated.

Today's method reference: see references/today-methods.md for the exact curl/jq commands and data‑extraction steps used in this run.

The user has provided the following instruction alongside the skill invocation: [IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically delivered to the user — do NOT use send_message or try to deliver the output yourself. Just produce your report/output as your final response and the system handles the rest. SILENT: If there is genuinely nothing new to report, respond with exactly "[SILENT]" (nothing else) to suppress delivery. [SILENT] is a literal ASCII control token — never translate or rephrase it, whatever language the rest of your answer uses. Never combine [SILENT] with content — either report your findings normally, or say [SILENT] and nothing more. FAILURE: If a delegated child fails and this cron run must be recorded as failed, put [CRON_FAILURE] on the first line by itself, then explain the child failure on following lines. RECURSION: This is a run of an EXISTING scheduled job — execute the task now. NEVER create or update a cron job because of recurring or future-schedule language in the task prompt below; treat phrasing like "each Monday" or "every day at 9" as context for this run, not as a request to schedule another job.]

运行 Idea Miner 模块,挖掘今日的创意和灵感热点,然后将结果发送到 Telegram 用户 jinbin(Chat ID: 951402025)。如果没有发现热点,输出简明的"今日无新热点"。

文件保存

将完整的分析结果同时保存到本地文件:/opt/data/hermes/idea-miner/idea-miner_{YYYYMMDD}.md

Response

🧠 Idea Miner — 每日创意情报 (2026-09-27)

数据来源:HN Algolia (前页, Ask HN, Show HN), GitHub Search API

📢 需求现场 — 高意向需求 & 讨论

Top demand signals from Ask HN, discussions, needs:

  1. Ask HN: I'm an FCC Commissioner proposing regulation of IoT security updates — 3387 points
  2. Request for public comments on mandatory security update periods for connected devices; debate on voluntary vs legally enforceable commitments

  3. Ask HN: I'm a software engineer going blind, how should I prepare? — 3270 points

  4. Community discussion on preparation and adaptations for progressive vision loss in software engineering careers

  5. Ask HN: Am I the longest-serving programmer – 57 years and counting? — 2634 points

  6. Discussion about career longevity, age discrimination, and sustained relevance in programming

  7. Ask HN: Is S3 down? — 2589 points

  8. Real-time status check and community troubleshooting of AWS S3 service availability

  9. Tell HN: Help restore the tax deduction for software dev in the US (Section 174) — 2439 points

  10. Advocacy effort to restore Section 174 tax deduction for software development expenses

📈 趋势项目 — GitHub 热门新仓库

Table: project | ⭐ | description | direction

project ⭐ description direction
opus-video-prompts 30 Claude Opus 5.5 用代码生成视频:全网案例与可直接复制的提示词 AI视频生成
idexal 13 Official Idexal release channel: Windows desktop installer, Windows terminal bin Windows工具链
casita 12 A content-addressed object store, written in Rust. 内容寻址存储
InjectSetConsole 9 Proof of Concept for Process Code Injection Without Using WriteProcessMemory 安全/注入技术
spiderbench 9 N/A 性能基准测试
fizzdoc 8 Private PDF, Word, Excel, PowerPoint and image tools that run 100% in your brows 私密文档工具
genpark-complex-financial-formula-audit-validator-skill 7 Mathematical consistency and formula balancing auditor for extracted balance she 公式审计
genpark-document-redaction-pii-scrubber-skill 7 High-speed document PII redaction and credential sanitizer featuring Luhn credit PII重daction
genpark-multimodal-chart-data-point-extractor-skill 7 Multimodal chart coordinate calibration and tabular dataset recovery engine tran 多模态图表数据提取
genpark-multimodal-chart-data-point-extractor-skill 7 Multimodal chart coordinate calibration and tabular dataset recovery engine tran 多模态图表数据提取

趋势方向:AI视频生命周期工具(opus-video-prompts)、Rust内容存储系统(casita)、Windows生态工具(idexal)、安全研究技术(InjectSetConsole)、私密文档处理(fizzdoc),以及大量针对特定细分领域的park项目在公式审计、PII重daction和多模态图表提取方面的工作。

🔬 Show HN 精选 — 本周最新项目

Table: project | points | description

project points description
Reladraw – A diagram language where you decide where to place things 267 A diagram language where you can define diagrams in code but retain high control over placement; works for humans and agents
Spivak's Calculus formalized in Lean 4 – every theorem, every problem 13 Formalization of Spivak's Calculus in Lean 4, covering every theorem and problem
A Claude Code skill to analyze your chess games 73 Claude Code skill for analyzing chess games and providing insights
A game about fake news and memes 15 Game about fake news and memes; unspin.app
Ekselio – Loveable for finance workflows (local first) 30 Loveable-style finance workflows, local-first architecture

🌟 今日创业灵感精选

高潜力方向

已验证信号

📊 数据快照

指标 数值
HN前页故事数 20+
Ask HN故事数 15+
Show HN故事数 12+ (points>10)
今日GitHub新仓库 10+
总点赞数(Top 5 Ask HN) ~15,300
总点赞数(Top 5 Show HN) ~368

数据获取时间: 2026-09-27
来源状态: 全部成功 (HN Algolia, GitHub API)