Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

doc-daily-digest文档每日摘要

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

832

周安装

35

GitHub Stars

公开资料未说明

下载量

291
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doc-daily-digest(文档每日摘要)
来源仓库:https://github.com/molechowski/claude-skills
仓库路径:skills/doc-daily-digest
安装命令:
npx skills add https://github.com/molechowski/claude-skills --skill doc-daily-digest
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/molechowski/claude-skills --skill doc-daily-digest

简介

用于处理Obsidian每日笔记,自动分类条目并生成结构化摘要。

  • 适合整理零散想法、研究链接和社交媒体内容,提升知识管理效率。
  • 可自动抓取推文或网页内容,支持wikilink替换原始条目。
  • 依赖notesmd-cli工具,需配置scrapling以应对反爬网站,注意隐私保护。
  • doc-daily-digest 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Daily Digest

Process an Obsidian daily note by classifying raw items, fetching/researching content, creating structured notes, and replacing raw items with wikilinks.

Prerequisites

SkillRequiredPurpose
doc-obsidianYesVault CRUD via notesmd-cli + search via qmd
res-xFor X/Twitter URLsFetch tweet content via xAI
res-deepFor loose ideasMulti-round research

Optional dependency: scrapling -- headless browser fallback for sites that block WebFetch (403, empty content, captcha pages). Install with: uv tool install 'scrapling[all]'

Workflow

Step 0: Setup → Step 1: Scan & Classify → Step 2: Process → Step 3: Create Notes → Step 4: Update Daily → Step 5: Re-index & Report

Step 0: Setup

Run all three checks:

# 1. Vault path
VAULT=$(notesmd-cli print-default --path-only)

# 2. Read daily note (today or user-specified date)
DATE=$(date '+%Y-%m-%d')
notesmd-cli print "$DATE"

# 3. xAI key (needed for res-x and res-deep full mode)
security find-generic-password -s "xai-api" -w ~/Library/Keychains/claude-keys.keychain-db 2>/dev/null && echo "XAI_AVAILABLE=true" || echo "XAI_AVAILABLE=false"

If user specifies a date, use that instead of today.

Step 1: Scan & Classify

Parse the daily note and classify every item. Items live in these sections: ## Notes, ## Log, ## Links.

Classification Rules

TypePatternAction
Skip[[wikilink]] anywhere in lineAlready processed — skip
SkipSection headers (##), frontmatter, empty lines, task checkboxesStructural — skip
X tweetURL matching `https://(x\.com\twitter\.com)/\w+/status/\d+`Fetch via res-x
X articleURL matching `https://(x\.com\twitter\.com)/i/article/[\w-]+`Fetch via res-x
GitHub repoURL matching https://github\.com/[\w-]+/[\w-]+WebFetch repo page
Web URLAny other https://... URLWebFetch page
Loose ideaNon-empty text that is not a URL, not a wikilink, not structuralDeep research via res-deep

Present Classification

Before processing, show the user a classification table:

## Daily Digest: {DATE}

| # | Section | Type | Item (truncated) | Action |
|---|---------|------|-------------------|--------|
| 1 | Links | X tweet | https://x.com/user/status/123... | res-x fetch |
| 2 | Notes | Loose idea | Train a model to click on... | res-deep |
| 3 | Links | GitHub | https://github.com/org/repo | WebFetch |
| 4 | Log | Skip | [[already-processed]] — ... | skip |

Ask user to confirm or exclude items before proceeding. User may:

  • Approve all
  • Exclude specific items by number
  • Change action for an item (e.g., skip an idea, or upgrade a URL to res-deep)

Step 2: Process Items

Process approved items. Run independent fetches in parallel where possible.

X/Twitter URLs

Requires xAI key (XAI_AVAILABLE=true).

uv run ~/.claude/skills/res-x/scripts/x_fetch.py fetch "URL1" "URL2" "URL3"

The script batches 3 URLs per API call. Extract from results:

  • Author handle and display name
  • Full tweet text
  • Engagement metrics (likes, reposts, replies, views)
  • Thread context and quoted tweets if present

If XAI_AVAILABLE=false, report that X URLs require xAI key and skip them.

GitHub URLs

WebFetch: https://github.com/{owner}/{repo}
Prompt: "Extract: repo name, description, star count, language, license, last update date, and a 2-3 sentence summary of what this project does based on the README."

Scrapling fallback: If WebFetch returns 403, empty content, a captcha page, or a blocked response, retry using the auto-escalation protocol from cli-web-scrape:

  1. scrapling extract get "URL" /tmp/scrapling-fallback.md → Read → validate content
  2. If content is thin (JS-only shell, no data) → scrapling extract fetch "URL" /tmp/scrapling-fallback.md --network-idle --disable-resources → Read → validate
  3. If still blocked → scrapling extract stealthy-fetch "URL" /tmp/scrapling-fallback.md --solve-cloudflare
  4. All tiers fail → note failure and move on

Web URLs

WebFetch: {URL}
Prompt: "Extract: page title, author if available, publication date if available, and a 3-5 sentence summary of the key content."

Scrapling fallback: If WebFetch returns 403, empty content, a captcha page, or a blocked response, retry using the auto-escalation protocol from cli-web-scrape:

  1. scrapling extract get "URL" /tmp/scrapling-fallback.md → Read → validate content
  2. If content is thin (JS-only shell, no data) → scrapling extract fetch "URL" /tmp/scrapling-fallback.md --network-idle --disable-resources → Read → validate
  3. If still blocked → scrapling extract stealthy-fetch "URL" /tmp/scrapling-fallback.md --solve-cloudflare
  4. All tiers fail → note failure and move on

Loose Ideas

Invoke res-deep skill with the idea text as the query. Use quick depth (1 round, 10-15 sources) unless user requests deeper research.

For ideas, the res-deep output becomes the note body directly.

Step 3: Create Notes

For each processed item, create an Obsidian note.

Note Naming

TypeNaming PatternExample
X tweet{topic}-{descriptor} from contentscrapling-undetectable-web-scraping
X article{author}-x-article-{date}irabukht-x-article-2026-02-23
GitHub repo{repo-name}scrapling or huggingface-skills-agent-plugins
Web page{topic}-{descriptor} from titlekubernetes-practical-learning-path
Loose idea{concept}-{descriptor}agent-sort-through-the-slop
Deep research{topic}-deep-researchscrapling-deep-research

All names: kebab-case, lowercase, no special characters.

Check for existing notes with same name before creating. If exists, append -2 or ask user.

Note Structure

For X tweets / web pages / GitHub repos (quick captures):

notesmd-cli create "NOTE_NAME" --content "---
tags: [TYPE_TAG]
source: SOURCE_URL
author: AUTHOR
date: DATE
---

# TITLE

## Key Points

- Point 1
- Point 2
- Point 3

## Summary

Brief paragraph summarizing the content.

## Source

- [Original](SOURCE_URL)"

Type tags: tweet for X, github for GitHub, web for web pages, idea for ideas.

For deep research (ideas):

The res-deep skill produces its own structured output. Create the note with that output as body, adding frontmatter:

notesmd-cli create "NOTE_NAME" --content "---
tags: [idea, research]
date: DATE
---

{res-deep output here}"

Step 4: Update Daily Note

For each processed item, replace the raw text in the daily note with a wikilink.

Wikilink Format by Section

## Links section (URLs from bookmarks/saves):

- [[note-name]] — @author: summary with key metrics (stars, likes, etc.)

## Notes section (ideas and thoughts):

- [[note-name]] — Brief: what the idea/research covers

## Log section (activity entries):

- [[note-name]] — Summary of what was captured

Edit Procedure

  1. Read the daily note: notesmd-cli print "$DATE"
  2. Resolve vault path: VAULT=$(notesmd-cli print-default --path-only)
  3. Use the Edit tool to replace each raw item with its wikilink line
  4. Replace one item at a time to avoid Edit conflicts
  5. Verify the final note by reading it again

Rules

  • Preserve existing wikilinks — never modify already-processed lines
  • Keep section structure intact (## headers, empty lines between items)
  • If an item spans multiple lines (e.g., a paragraph idea), replace all lines with one wikilink line
  • The wikilink summary should be concise (under 120 chars) but include key metrics when available

Step 5: Re-index & Report

Re-index Vault

qmd update && qmd embed

Summary Report

Present a summary table:

## Digest Complete: {DATE}

| # | Type | Note Created | Status |
|---|------|-------------|--------|
| 1 | X tweet | [[note-name]] | Created |
| 2 | Loose idea | [[note-name]] | Created (res-deep quick) |
| 3 | GitHub | [[note-name]] | Created |
| 4 | Web URL | — | Failed (403) |

Notes created: 3
Items skipped: 2 (already processed)
Items failed: 1
Vault re-indexed: Yes

Modes

Full (default)

Process all unprocessed items in the daily note.

"Process my daily note" / "Daily digest"

Selective

Process only specific items or sections.

"Process only the links in today's daily note" "Digest just the X URLs"

Date Override

Process a specific date's daily note.

"Process yesterday's daily note" "Digest 2026-02-20"

Dry Run

Classify and show the table (Step 1) without processing.

"What's unprocessed in my daily note?" "Show me what needs digesting"

Constraints

DO:

  • Always run Step 0 (vault path + daily note + xAI check) first
  • Present classification table and wait for user approval before processing
  • Process items in parallel where independent (multiple WebFetch calls, multiple X URLs in one batch)
  • Check for existing notes before creating to avoid duplicates
  • Read the daily note before editing — never guess content
  • Resolve vault path dynamically via notesmd-cli print-default --path-only

DON'T:

  • Process items the user excluded from the classification table
  • Modify already-processed wikilink lines
  • Hardcode vault paths
  • Skip the classification approval step
  • Run res-deep at default/deep depth unless user explicitly requests it — use quick for daily digest
  • Create notes without frontmatter

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.97%
按下载量换算102

Claude

31.72%
按下载量换算92

Cursor

16.65%
按下载量换算48

Gemini CLI

8.19%
按下载量换算24

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills