# Blog Collector

> Collect AI Agent Skills blog articles from WeChat, Zhihu, Medium and other platforms into the awesome-skills repository. Use when: (1) adding new blog articles to blogs/ directory, (2) collecting skill-related articles, (3) expanding the knowledge base. Triggers on: "collect blog", "add article", "scrape article", "blog collector", "collect article". The collected article goes into blogs/YYYY-MM-…

- **Type:** Skill
- **Install:** `agentstack add skill-vivy-yi-awesome-skills-blog-collector`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [vivy-yi](https://agentstack.voostack.com/s/vivy-yi)
- **Installs:** 0
- **Category:** [Web & Browser](https://agentstack.voostack.com/c/web-and-browser)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [vivy-yi](https://github.com/vivy-yi)
- **Source:** https://github.com/vivy-yi/awesome-skills/tree/main/.skills/blog-collector

## Install

```sh
agentstack add skill-vivy-yi-awesome-skills-blog-collector
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Blog Collector

Collects blog articles from various platforms and saves them to the `blogs/` directory.

## Workflow

### 1. Receive Article URL

```bash
echo "Article URL to collect:"
# User provides: https://mp.weixin.qq.com/s/xxxxx
```

### 2. Extract Content

#### For WeChat Articles:

```bash
# Option A: Browser extraction (recommended for WeChat)
openclaw browser open targetUrl:"https://mp.weixin.qq.com/s/xxxxx"
# Then snapshot to get content, scroll to load all images

# Option B: Jina Reader
curl -s "https://r.jina.ai/https://mp.weixin.qq.com/s/xxxxx"
```

#### For Other Platforms:

```bash
# Zhihu
curl -s "https://r.jina.ai/https://zhihu.com/xxxxx"

# Medium
curl -s "https://r.jina.ai/https://medium.com/xxxxx"

# 掘金
curl -s "https://r.jina.ai/https://juejin.cn/xxxxx"
```

### 3. Extract and Download Images

```bash
# After getting content, extract image URLs via browser JS:
openclaw browser act targetId: request:'{"kind": "evaluate", "fn": "(() => { return Array.from(document.querySelectorAll(\"img\")).filter(img => img.src && img.src.includes(\"mmbiz\")).map(img => ({src: img.src, alt: img.alt || \"\", width: img.naturalWidth})).slice(0, 20); })()"}'

# Download images (filter imgIndex=0 = logo)
mkdir -p blogs/images/YYYY-MM-DD-article-slug/
curl -s -L -o "blogs/images/YYYY-MM-DD-article-slug/cover.jpg" ""
```

### 4. Generate Markdown

```bash
cat > "blogs/YYYY-MM-DD-article-slug.md"  **作者**：Author Name | **来源**：Source Name | **发布日期**：YYYY-MM-DD
> **原文**：https://original-url.com

---

---

## 文章正文

[Content here...]

## 参考资料

- [原文链接](https://original-url.com)
EOF
```

### 5. Determine Article Type & Destination

| Type | Destination |
|------|-------------|
| 论文/学术 | `papers/` |
| 技术博客 | `blogs/` |
| 行业分析 | `blogs/analysis/` |
| 工具介绍 | `blogs/` |

### 6. Push to GitHub

```bash
cd /Volumes/waku/github-维护/awesome/awesome-skills-repos
git add blogs/
git add blogs/images/
git commit -m "Add:  (YYYY-MM-DD)"
git push
```

## Source Priority

1. **WeChat** (mp.weixin.qq.com) - Most common for Chinese AI/Agent content
2. **Medium** - High quality English articles
3. **Zhihu** (zhihu.com) - Technical discussions
4. **掘金** (juejin.cn) - Developer articles
5. **GitHub Blog** - Official announcements

## Image Filtering Rules

- ❌ Filter: Logo images (imgIndex=0 in WeChat URLs)
- ❌ Filter: Watermark/ads
- ✅ Keep: Technical diagrams, screenshots, charts
- ✅ Keep: Cover images
- Naming: `--.jpg`

## Known Blog Sources

| Source | URL Pattern | Quality |
|--------|-------------|---------|
| 沃垠AI | mp.weixin.qq.com (搜索) | ⭐⭐⭐⭐⭐ |
| 宝玉 | mp.weixin.qq.com (搜索) | ⭐⭐⭐⭐⭐ |
| 冷逸 | mp.weixin.qq.com (搜索) | ⭐⭐⭐⭐ |
| Agent 挖掘机 | mp.weixin.qq.com (搜索) | ⭐⭐⭐⭐ |
| Medium (unicodeveloper) | medium.com/@xxx | ⭐⭐⭐⭐⭐ |

## Notes

- Always filter WeChat images (many are ads/logos)
- Use Jina Reader for clean content extraction
- Name files: `YYYY-MM-DD-article-slug.md`
- Include original URL for reference
- Target: 3-5 articles per month

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [vivy-yi](https://github.com/vivy-yi)
- **Source:** [vivy-yi/awesome-skills](https://github.com/vivy-yi/awesome-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-vivy-yi-awesome-skills-blog-collector
- Seller: https://agentstack.voostack.com/s/vivy-yi
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
