article-bookmarker
Save and organize web articles as bookmarks with AI summaries and auto-tagging. Use when the user wants to bookmark or collect articles.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chliny/article-bookmarkerArticle Bookmarker Skill
IMPORTANT: Before any operation, read the environment variable
$ARTICLE_BOOKMARK_DIRto 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.When calling
scripts/bookmark.sh, you must passARTICLE_BOOKMARK_DIRandARTICLE_BOOKMARK_GITHUBas inline environment variables — the script runs in a subprocess and does not inherit them automatically.
Quick Start
When the user provides a URL or article text to bookmark:
- Run
scripts/bookmark.sh initto initialize the bookmark directory - Read
$ARTICLE_BOOKMARK_DIRto get the storage path - Use
web_fetchto get the article content - Generate a concise summary using the current model
- Auto-generate relevant tags based on content analysis
- Create a markdown file with URL, content, summary, and tags (see file-structure.md for format details)
- Save to the bookmark directory with descriptive filename
- Update the tag index file
- Run
scripts/bookmark.sh save "Brief commit message"to commit and push changes
For deletion requests: find the article, confirm details with user, then remove, update index, and run scripts/bookmark.sh save "Delete article xxx".
Workflow
Adding Articles
1. Run scripts/bookmark.sh init
2. Read $ARTICLE_BOOKMARK_DIR
3. Receive URL or text content
4. Extract/save content (web_fetch for URLs)
5. Generate summary (model-based)
6. Auto-tag (keyword/topic analysis)
7. Create bookmark file (markdown format)
8. Update tag index
9. Run scripts/bookmark.sh save "Add article: <title>"
Deleting Articles
1. Run ARTICLE_BOOKMARK_DIR="$ARTICLE_BOOKMARK_DIR" ARTICLE_BOOKMARK_GITHUB="$ARTICLE_BOOKMARK_GITHUB" scripts/bookmark.sh init
2. Read $ARTICLE_BOOKMARK_DIR
3. Identify target article (by filename, topic, or content)
4. Display article details for confirmation
5. Get user confirmation
6. Delete bookmark file
7. Update tag index
8. Run ARTICLE_BOOKMARK_DIR="$ARTICLE_BOOKMARK_DIR" ARTICLE_BOOKMARK_GITHUB="$ARTICLE_BOOKMARK_GITHUB" scripts/bookmark.sh save "Delete article: <title>"
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):
# 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
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chliny-article-bookmarker": {
"enabled": true,
"auto_update": true
}
}
}