Chuyển đến nội dung
Skillpedia
Học máy101k · #1273

knowledge-agent

Skill này làm gì

Công cụ này tạo ra các “bộ não” AI tùy chỉnh từ các ghi chú trước đây của bạn. Bạn có thể thu thập thông tin về một chủ đề cụ thể rồi trò chuyện với AI này để nhận câu trả lời.

Khi nào nên dùng

  • ✓Khi bạn muốn có một bản tóm tắt về một dự án cụ thể.
  • ✓Khi bạn muốn nhớ lại các quyết định hoặc cách sửa lỗi trước đây.
  • ✓Khi bạn cần tổng hợp kiến thức về một chủ đề để học tập.

Liên kết skill

https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/knowledge-agent/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/knowledge-agent/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một “bộ não” về 'hooks' và cho tôi biết 5 loại hooks và thời điểm mỗi loại được kích hoạt.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Đầu tiên, bạn yêu cầu công cụ xây dựng một bộ sưu tập thông tin (corpus) bằng cách lọc các ghi chú của bạn. Sau đó, bạn nạp bộ sưu tập này vào một phiên AI và có thể đặt câu hỏi.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Knowledge Agent

Build and query AI-powered knowledge bases from claude-mem observations.

What Are Knowledge Agents?

Knowledge agents are filtered corpora of observations compiled into a conversational AI session. Build a corpus from your observation history, prime it (loads the knowledge into an AI session), then ask it questions conversationally.

Think of them as custom "brains": "everything about hooks", "all decisions from the last month", "all bugfixes for the worker service".

Workflow

Step 1: Build a corpus

build_corpus name="hooks-expertise" description="Everything about the hooks lifecycle" project="claude-mem" concepts="hooks" limit=500

Filter options:

  • project — filter by project name
  • types — comma-separated: decision, bugfix, feature, refactor, discovery, change
  • concepts — comma-separated concept tags
  • files — comma-separated file paths (prefix match)
  • query — semantic search query
  • dateStart / dateEnd — ISO date range
  • limit — max observations (default 500)

Step 2: Prime the corpus

prime_corpus name="hooks-expertise"

This creates an AI session loaded with all the corpus knowledge. Takes a moment for large corpora.

Step 3: Query

query_corpus name="hooks-expertise" question="What are the 5 lifecycle hooks and when does each fire?"

The knowledge agent answers from its corpus. Follow-up questions maintain context.

Step 4: List corpora

list_corpora

Shows all corpora with stats and priming status.

Tips

  • Focused corpora work best — "hooks architecture" beats "everything ever"
  • Prime once, query many times — the session persists across queries
  • Reprime for fresh context — if the conversation drifts, reprime to reset
  • Rebuild to update — when new observations are added, rebuild then reprime

Maintenance

Rebuild a corpus (refresh with new observations)

rebuild_corpus name="hooks-expertise"

After rebuilding, reprime to load the updated knowledge:

Reprime (fresh session)

reprime_corpus name="hooks-expertise"

Clears prior Q&A context and reloads the corpus into a new session.

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

Làm sao để tạo một “bộ não”?

Bạn dùng lệnh `build_corpus` để tạo bộ sưu tập thông tin, sau đó dùng `prime_corpus` để nạp nó vào AI.

Tôi có thể cập nhật “bộ não” với thông tin mới không?

Có, dùng `rebuild_corpus` để cập nhật bộ sưu tập, rồi dùng `reprime_corpus` để nạp lại AI với thông tin mới.

“Observations” là gì?

Đây là các ghi chép bạn đã ghi lại trước đó, như quyết định, bản sửa lỗi, tính năng mới, v.v.

Chi tiết

Mô tả gốc của tác giả

Build and query AI-powered knowledge bases from claude-mem observations. Use when users want to create focused "brains" from their observation history, ask questions about past work patterns, or compile expertise on specific topics.

repo: thedotmack/claude-mem

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#1273
Giấy phép
Apache-2.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự