Community写作与编辑github.com

Komagon/hermes-production-patterns

Hermes Production Patterns — 面向 Hermes Agent 的生产级工程模式集。装了 Hermes 却不知道怎么写靠谱的技能?Cron 跑偏没人发现?输出质量全靠肉眼审查?状态全靠脑子记?每条模式都在真实 7×24 环境验证过。2026-08 已同步 Hermes 最新能力:Monitor 原生监控(变了才烧 token)、delegate Checker、能力×模式映射。

hermes-production-patterns 是什么?

hermes-production-patterns is a Claude Code agent skill that hermes Production Patterns — 面向 Hermes Agent 的生产级工程模式集。装了 Hermes 却不知道怎么写靠谱的技能?Cron 跑偏没人发现?输出质量全靠肉眼审查?状态全靠脑子记?每条模式都在真实 7×24 环境验证过。2026-08 已同步 Hermes 最新能力:Monitor 原生监控(变了才烧 token)、delegate Checker、能力×模式映射。.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add Komagon/hermes-production-patterns

Installed? Explore more 写作与编辑 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Daily News Digest

Live demonstration of the complete integration of all four engineering conventions from conventions/:

Workflow

Step 1: Read State (Deterministic) ✅

Read the last run state and idempotency keys from STATE.md.

Step 2: Fetch RSS (Deterministic) ✅

# Zero LLM cost. Only process articles added since the last run.
import feedparser

for url in RSS_SOURCES:
    feed = feedparser.parse(url)
    new = [entry for entry in feed.entries
           if entry.id not in state.get("idempotency_keys", [])]

Step 3: LLM Summary (Probabilistic) ❌

# Limited to 5 articles per day to control token overhead.
for article in new[:5]:
    summary = await llm.complete(
        f"Summarize in three points, each no more than 20 words:\nTitle: {article.title}\n{article.description}"
    )

Step 4: Checker Verification (Probabilistic) ❌

An independent Agent performs five-dimensional scoring of the summaries. Score ≥ 40/50 is PASS.

Step 5: Update State (Deterministic) ✅

state["progress"]["articles_summarized"] += len(passed)
state["idempotency_keys"].extend([a.id for a in processed])
atomic_write("STATE.md", state)  # Atomic write + file lock

Error Handling

# Compress errors according to error-compact-pattern
try:
    feed = feedparser.parse(url)
except Exception as e:
    compact = f"[STEP_FAILED] fetch_rss@{now}\n  Error: {type(e).__name__} - {str(e)[:80]}\n  Recoverable: YES (retry with backoff)"
    context.append(compact)

Output Format

# News Digest {YYYY-MM-DD}

## 📰 {article.title}
- {point 1}
- {point 2}
- {point 3}

相关技能