文章收藏器

article-bookmarker

by chliny

Save and organize web articles as bookmarks with AI summaries and auto-tagging. Use when the user wants to bookmark or collect articles.

3.9k内容与创意未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/chliny/article-bookmarker

文档

Article Bookmarker Skill

IMPORTANT: Before any operation, read the environment variable $ARTICLE_BOOKMARK_DIR to determine the bookmark storage directory. All bookmark files and the tag index must be stored under this path. If the variable is not set, prompt the user to configure it.

Quick Start

When the user provides a URL or article text to bookmark:

  1. Read $ARTICLE_BOOKMARK_DIR to get the storage path
  2. Use web_fetch to get the article content
  3. Generate a concise summary using the current model
  4. Auto-generate relevant tags based on content analysis
  5. Create a markdown file with URL, content, summary, and tags (see file-structure.md for format details)
  6. Save to the bookmark directory with descriptive filename
  7. Update the tag index file

For deletion requests: find the article, confirm details with user, then remove and update index.

Workflow

Adding Articles

code
1. Read $ARTICLE_BOOKMARK_DIR
2. Receive URL or text content
3. Extract/save content (web_fetch for URLs)
4. Generate summary (model-based)
5. Auto-tag (keyword/topic analysis)
6. Create bookmark file (markdown format)
7. Update tag index

Deleting Articles

code
1. Read $ARTICLE_BOOKMARK_DIR
2. Identify target article (by filename, topic, or content)
3. Display article details for confirmation
4. Get user confirmation
5. Delete bookmark file
6. Update tag index

Tag Management

Auto-Tagging Logic

Generate tags by analyzing:

  • Article domain/topic keywords
  • Technical terms and concepts
  • Content categories (tutorial, news, research, etc.)
  • Named entities and proper nouns

Maintain consistent tag vocabulary to avoid duplicates (e.g., use "AI" not "artificial-intelligence").

Tag Index Format

TAG_INDEX.md maintains bidirectional mapping (see file-structure.md for full format):

markdown
# Article Tag Index

## Tags

- **AI**: [article1](article1.md), [article2](article2.md)
- **Research**: [...]

## Articles by Tag Count

- 3 tags: [article1](article1.md)
- 1 tag: [...]

Implementation Details

Content Extraction

  • Use web_fetch with extractMode: "markdown" for web articles
  • Handle truncation gracefully (respect maxChars limits)
  • Preserve original formatting where possible
  • GitHub Repository URLs: When the URL is a GitHub repository (e.g., https://github.com/user/repo), prioritize fetching the README content from the repository's main page or from README.md, readme.md, or README.rst files in the root directory

Proxy Configuration and Retry

When fetching article content from URLs fails:

  1. First Attempt: Try fetching without proxy
  2. On Failure: Load proxy configuration from environment variables:
    • HTTP_PROXY or http_proxy: HTTP proxy URL
    • HTTPS_PROXY or https_proxy: HTTPS proxy URL
    • NO_PROXY or no_proxy: Comma-separated list of hosts to bypass
  3. Retry: Re-attempt fetching with proxy configuration
  4. Final Failure: Notify user if both attempts fail

Example environment variables:

bash
export HTTP_PROXY="http://proxy.example.com:8080"
export HTTPS_PROXY="http://proxy.example.com:8080"
export NO_PROXY="localhost,127.0.0.1,.example.com"

Summary Generation

Generate 2-3 paragraph summaries that capture:

  • Main thesis or argument
  • Key insights or findings
  • Practical implications or applications

Keep summaries informative but concise (typically 150-300 words).

File Naming

Create SEO-friendly filenames:

  • Convert title to lowercase
  • Replace spaces and special chars with hyphens
  • Limit length to ~50 characters
  • Ensure uniqueness by appending numbers if needed

Safety Checks

  • Validate URLs before fetching
  • Confirm deletions with users (show path and key details)
  • Maintain backup of index before modifications
  • Handle concurrent access gracefully

相关 Skills

内部沟通

by anthropics

Universal
热门

按公司常用模板和语气快速起草内部沟通内容,覆盖 3P 更新、状态报告、领导汇报、项目进展、事故复盘、FAQ 与 newsletter,适合需要统一格式的团队沟通场景。

按公司偏好的模板快速产出状态汇报、领导更新和 FAQ,既省去反复改稿,也让内部沟通更统一、更专业。

内容与创意
未扫描111.8k

主题工厂

by anthropics

Universal
热门

给幻灯片、文档、报告和 HTML 落地页快速套用专业配色与字体主题,内置 10 套预设风格并支持现场生成新主题,适合统一品牌或内容视觉。

主题工厂能帮你把幻灯片、文档到落地页快速统一视觉风格,内置 10 套主题,还能按需即时生成新主题。

内容与创意
未扫描111.8k

文档共著

by anthropics

Universal
热门

围绕文档、提案、技术规格、决策记录等写作任务,按上下文收集、结构迭代、读者测试三步协作共创,减少信息遗漏,写出更清晰、经得起他人阅读的内容。

写文档、方案或技术规格时容易思路散、信息漏,它用结构化共著流程帮你高效传递上下文、反复打磨内容,还能从读者视角做验证。

内容与创意
未扫描111.8k

相关 MCP 服务

热门

免费的加密新闻聚合 MCP,汇集 Bitcoin、Ethereum、DeFi、Solana 与 altcoins 资讯源。

内容与创意
130

by ProfessionalWiki

让 Large Language Model 客户端无缝连接任意 MediaWiki 站点,可创建、更新、搜索页面,并通过 OAuth 2.0 安全管理内容。

内容与创意16 个工具
72

借助 86+ 个云端 media processing robots,处理视频、音频、图像和文档。

内容与创意
71

评论