Logo Tapestry

Tapestry

Cộng đồng
NatsuFox
tapestry

AI-native web intelligence workflow for crawling, organizing, and synthesizing web content from multiple platforms (Zhihu, Reddit, HN, X/Twitter, Xiaohongshu, Weibo). Use when users share URLs, want to archive web content, build knowledge bases, or analyze online discussions.

Tổng quan

Nhà phát hànhNatsuFox
Kho mãTapestry
Tên kỹ năngtapestry
Sao
64
Bản fork
5
Tệp đi kèm
96
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 96 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được NatsuFox công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Tapestry trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/NatsuFox/Tapestry/tree/main/skills/tapestry
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NatsuFox/Tapestry.git /tmp/Tapestry
mkdir -p .claude/skills
cp -r /tmp/Tapestry/skills/tapestry .claude/skills/tapestry
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Tapestry trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Tapestry ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Tapestry với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

🧵 Tapestry

AI-Native Web Intelligence Workflow

Tapestry is a complete workflow for turning scattered web content into organized, searchable knowledge. It handles everything from crawling to synthesis across multiple platforms.

When to Use Tapestry

Use this skill when the user:

  • Shares URLs to ingest (from Zhihu, Reddit, HN, X/Twitter, Xiaohongshu, Weibo, or any webpage)
  • Wants to archive or capture web content
  • Asks to organize content into a knowledge base
  • Wants structured feeds or analysis of web content
  • Needs to visualize their knowledge base
  • Wants to manage RSS/Atom feed subscriptions (list, add, remove sources)
  • Wants to refresh or fetch the latest content from subscribed sources

Workflow Overview

Tapestry has eight internal sub-skills that work together:

  1. Init Deps Install (init-deps-install/SKILL.md) - Auto-triggered dependency installation (Phase 0: setup)
  2. Ingest (ingest/SKILL.md) - Crawl and capture URLs (Phase 1: deterministic)
  3. Synthesis (synthesis/SKILL.md) - Analyze and organize into knowledge base (Phase 2: AI-driven)
  4. Feed (feed/SKILL.md) - Generate structured, source-aware feeds
  5. Display (display/SKILL.md) - Visualize the knowledge base as a website
  6. Visual Card (visual-card/SKILL.md) - Generate visual note cards from KB content
  7. Subscriptions (subscriptions/SKILL.md) - Manage RSS/Atom sources and refresh them into the knowledge base
  8. Export (export/SKILL.md) - Export KB content to PDF, Markdown, or HTML files saved under _data/exports/

Two-Phase Architecture

Tapestry uses a two-phase design with automatic dependency setup:

Phase 0 (Init): Auto-triggered dependency installation when first launched or dependencies missing Phase 1 (Ingest): Deterministic extraction → _data/notes/YYYY/MM/ (date-organized) Phase 2 (Synthesis): AI-driven analysis → _data/books/{topic}/{chapter}/ (book-organized)

By default, synthesis runs automatically after each ingest (synthesis.mode: "auto" in tapestry.config.json). You can configure this to "manual" or "batch" mode.

How to Use This Skill

Step 1: Understand the User's Intent

Analyze what the user wants:

  • Just capture? → Use ingest only (set synthesis mode to "manual" if needed)
  • Structured feed? → Use ingest + feed
  • Analysis/organization? → Use ingest + synthesis (default with "auto" mode)
  • Browse knowledge base? → Use display
  • Visual summary? → Use visual-card to generate infographic cards
  • Complete workflow? → Ingest automatically triggers synthesis in "auto" mode
  • Manage subscriptions? → Use subscriptions (list/add/remove sources)
  • Refresh subscribed feeds? → Use subscriptions fetch → ingest → synthesis pipeline

Step 2: Execute the Appropriate Sub-Skill(s)

Read and follow the instructions in the relevant sub-skill SKILL.md files:

For Dependency Installation (Auto-Triggered)

Read the file init-deps-install/SKILL.md to understand the detection and installation workflow. All installation steps require explicit user confirmation before execution.

For URL Ingestion

Read the file ingest/SKILL.md, then follow the workflow described there.

For Structured Feeds

Read the file feed/SKILL.md, then follow the workflow described there.

For Synthesis & Knowledge Base

Read the file synthesis/SKILL.md, then follow the workflow described there.

For Visualization

Read the file display/SKILL.md, then follow the workflow described there.

For Visual Cards

Read the file visual-card/SKILL.md, then follow the workflow described there.

For Subscription Management & Feed Refresh

Read the file subscriptions/SKILL.md, then follow the workflow described there.

Step 3: Chain Sub-Skills When Needed

The sub-skills reference each other. When one sub-skill says to "route to" another, read that sub-skill's SKILL.md and follow its instructions.

Supported Platforms

  • 🇨🇳 Zhihu: Questions, answers, articles, profiles
  • 🐦 X/Twitter: Posts, threads
  • 📱 Xiaohongshu: Notes, profiles
  • 🇨🇳 Weibo: Posts
  • 🔶 Hacker News: Discussions with full comment trees
  • 🤖 Reddit: Threads
  • 🌐 Generic HTML: Any webpage (fallback)

Key Principles

  1. Read sub-skill instructions first: Each sub-skill's SKILL.md contains detailed workflow steps
  2. Follow the deterministic pipeline: Ingest → Feed → Synthesis → Display
  3. Respect user intent: Don't over-process if they just want capture
  4. Chain appropriately: Let sub-skills hand off to each other as described in their instructions
  5. Report clearly: Tell the user what was done and where artifacts are stored

Directory Structure

tapestry/
├── SKILL.md (this file)          # Main orchestrator
├── init-deps-install/SKILL.md     # Dependency installation sub-skill
├── ingest/SKILL.md                # URL crawling sub-skill
├── feed/SKILL.md                  # Feed generation sub-skill
├── synthesis/SKILL.md             # Analysis & KB sub-skill
├── display/SKILL.md               # Visualization sub-skill
├── visual-card/SKILL.md           # Visual card generation sub-skill
├── subscriptions/SKILL.md         # RSS/Atom subscription management sub-skill
├── _src/                          # Shared code (crawlers, parsers, storage)
└── _tests/                        # Unit tests

Example Usage Patterns

Pattern 1: Simple Capture

User: "Ingest this Zhihu answer: https://www.zhihu.com/question/123/answer/456"

Action:
1. Read ingest/SKILL.md
2. Follow its workflow to capture the URL
3. Report the created artifacts

Pattern 2: Structured Feed

User: "Give me a structured feed of this Reddit thread"

Action:
1. Read ingest/SKILL.md and capture the URL
2. Read feed/SKILL.md and generate the structured feed
3. Present the feed to the user

Pattern 3: Full Analysis (Default)

User: "Analyze this HN discussion and add it to my knowledge base"

Action:
1. Read ingest/SKILL.md and capture the URL
2. Synthesis runs automatically (default "auto" mode)
3. Report where the content was organized in the KB

Pattern 4: Manual Synthesis

User: "Just capture these URLs for now, I'll organize them later"

Action:
1. Set synthesis mode to "manual" in tapestry.config.json
2. Read ingest/SKILL.md and capture the URLs
3. User can later run synthesis on selected URLs

Pattern 4: Batch Processing

User: "Ingest these 5 URLs and organize them"

Action:
1. Read ingest/SKILL.md and batch process all URLs
2. With "auto" mode, synthesis runs for each URL automatically
3. Summarize the results

Pattern 5: Subscription Refresh

User: "Refresh all my subscribed feeds"

Action:
1. Read subscriptions/SKILL.md
2. Run: python subscriptions/_scripts/run.py fetch
3. Collect the printed URLs
4. Pass them to $tapestry-ingest for ingestion
5. Let the synthesis pipeline run per config

Pattern 6: Export KB Content

User: "Export the entire knowledge base as PDF"

Action:
1. Read export/SKILL.md
2. Run: python export/_scripts/export.py --format pdf --scope kb
3. Report the output paths from _data/exports/pdf/

Important Notes

  • Always read the sub-skill SKILL.md files: They contain the actual implementation details
  • Don't invent workflows: Follow what's written in the sub-skill instructions
  • Preserve artifacts: The pipeline creates _data/captures/, _data/feeds/, _data/notes/, _data/books/, and _data/exports/
  • Respect the architecture: Ingest is deterministic, synthesis is interpretive
  • Check for errors: Sub-skills may fail; handle gracefully and report to user

Resources

  • _src/: Shared Python code for crawlers, parsers, and storage
  • _tests/: Unit tests for the shared code
  • Each sub-skill has its own _scripts/, _specs/, or _kb_rules/ directories

Remember: This main skill is an orchestrator. The real work happens in the sub-skills. Read their SKILL.md files and follow their instructions.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 36 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Tapestry làm được gì?

AI-native web intelligence workflow for crawling, organizing, and synthesizing web content from multiple platforms (Zhihu, Reddit, HN, X/Twitter, Xiaohongshu, Weibo). Use when users share URLs, want to archive web content, build knowledge bases, or analyze online discussions.

Vì sao nên dùng Tapestry trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Tapestry là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Tapestry trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/NatsuFox/Tapestry/tree/main/skills/tapestry. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Tapestry?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Tapestry với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Tapestry với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Tapestry có miễn phí không?

Có. Kỹ năng này được NatsuFox phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇