agentleFS
kangarookingkangarooking/x-skills/x-collect/SKILL.md

x-collect

Skill323 starsChanged 10 months agoApache-2.0View on GitHub

Collect and research materials for X (Twitter) content creation using multi-round web search strategy. Use when user wants to gather trending topics, research subjects for X posts, or mentions "collect materials", "research topic", "find content for X", "x-collect". Performs 4-round deep research mimicking human research workflow.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. Jay-Chen79/claude-skills★ 093% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If available, leverage user preference state to improve search quality:

    line 17
  2. Distinctive:

    If state files don't exist, proceed normally.

    line 23
  3. Very specific:

    Start with user topic

    line 39
  4. Distinctive:

    Add 2-5 query variants based on:

    line 40
  5. Distinctive:

    Keep ~20% queries as exploration (cross-domain / adjacent keywords) to avoid information bubble

    line 43
  6. Distinctive:

    Search "MCP Model Context Protocol GitHub"

    line 172
  7. Distinctive:

    Search "MCP vs function calling"

    line 175
  8. Distinctive:

    Always note the source URL for credibility

    line 196

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

X Collect

Collect trending topics and research materials for X content creation using a systematic 4-round web search strategy.

Prerequisites

  • WebSearch tool available
  • Internet connection

Optional State (ContextStore)

If available, leverage user preference state to improve search quality:

  • State dir: ~/.claude/skills/x-create/state/
  • Positive samples: liked_topics.json (preferred topics/entities/sources)
  • Negative samples: rejected_topics.json (avoid low-value/repetitive topics)

If state files don't exist, proceed normally.

Workflow

Input

User provides:

  • Topic (required): The subject to research (e.g., "AI Agent最新进展", "Claude 4 发布")
  • Language (optional): Output language, defaults to Chinese (zh-CN)

4-Round Search Strategy

Simulate human research thinking process with progressive depth.

Query expansion rules (lightweight):

  • Start with user topic
  • Add 2-5 query variants based on:
    • User profile (domains/persona if known)
    • liked_topics.json high-frequency keywords/entities (if available)
  • Keep ~20% queries as exploration (cross-domain / adjacent keywords) to avoid information bubble

Dedup & clustering (at the end of each round):

  • Merge near-duplicate URLs/titles
  • Group materials into topic clusters (rough tags are fine)

Round 1: Official Sources (权威信息)

Search: "{topic} 官方文档"
Search: "{topic} GitHub"
Search: "{topic} official announcement"

Goal: Get authoritative first-hand information

Round 2: Technical Analysis (技术解析)

Search: "{topic} 详细介绍"
Search: "{topic} 教程 tutorial"
Search: "{topic} how it works"

Goal: Understand technical details and mechanisms

Round 3: Comparison & Reviews (对比评测)

Search: "{topic} vs {competitor}"
Search: "{topic} 评测 review"
Search: "{topic} pros cons"

Goal: Get different perspectives and comparisons

Round 4: Supplementary Verification (补充验证)

# Analyze gaps from previous rounds
missing_info = analyze_gaps(previous_results)
Search: "{missing_info}"
Search: "{topic} 最新 latest 2024 2025"

Goal: Fill information gaps and get latest updates

Output Format

Generate structured material document:

# {Topic} 素材收集报告

## 收集时间
{timestamp}

## 核心信息
- **官方定义**: ...
- **关键特性**: ...
- **最新动态**: ...

## 素材列表

### 素材 1
- **标题**: ...
- **来源**: {url}
- **摘要**: 2-3句话概括
- **关键点**:
  - 要点1
  - 要点2
- **潜在选题角度**: ...
- **推荐推文类型**: [高价值干货/犀利观点/热点评论/故事洞察/技术解析]
- **QualityScore (0-10)**: ...
- **TopicCluster**: ...
- **HookCandidates**:
  - ...

### 素材 2
...

## 热度分析
- **当前热度**: 高/中/低
- **趋势**: 上升/稳定/下降
- **讨论焦点**: ...

## 争议点
- 争议1: ...
- 争议2: ...

## 下一步建议
使用 `/x-filter` 对素材进行打分筛选

Additionally, append a machine-readable block for hooks/state ingestion:

MATERIALS_JSON
{
  "schema_version": "x_skills.materials.v1",
  "topic": "{Topic}",
  "timestamp": "{timestamp}",
  "items": [
    {
      "title": "...",
      "url": "...",
      "summary": "...",
      "key_points": ["..."],
      "quality_score_0_10": 0,
      "topic_cluster": "...",
      "hook_candidates": ["..."]
    }
  ]
}

Execution Steps

  1. Receive topic from user
  2. Execute Round 1 searches (official sources)
  3. Execute Round 2 searches (technical analysis)
  4. Execute Round 3 searches (comparisons)
  5. Analyze gaps from rounds 1-3
  6. Execute Round 4 searches (fill gaps)
  7. Synthesize results into structured format
  8. Output MATERIALS_JSON (for hooks/state ingestion)
  9. (Optional) Append event for feedback loop:
    • python ~/.claude/skills/x-create/scripts/x_state.py event --event collect.completed --payload-json '{"topic":"...","items_count":12,"explore_ratio":0.2}'
  10. Report summary to user

Example

User: /x-collect Claude MCP协议

Expected behavior:

  1. Search "Claude MCP协议 官方文档"
  2. Search "MCP Model Context Protocol GitHub"
  3. Search "MCP协议 详细介绍"
  4. Search "MCP协议 教程"
  5. Search "MCP vs function calling"
  6. Search "MCP协议 评测"
  7. Identify gaps: need more about security, adoption rate
  8. Search "MCP协议 安全性"
  9. Search "MCP协议 最新 2025"
  10. Generate structured material report

Integration

After collection, suggest:

素材收集完成!共找到 X 条相关素材。

下一步:运行 /x-filter 对素材进行打分筛选,≥7分的选题将进入创作池。

Tips

  • For trending topics, prioritize recency (2024-2025)
  • For technical topics, prioritize official docs and GitHub
  • For controversial topics, collect multiple perspectives
  • Always note the source URL for credibility

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.