Logo Knowledge Curation

Knowledge Curation

Cộng đồng
arozumenko
knowledge-curation

Use when promoting a hard-won fact from per-role memory into the shared, committed `.agents/knowledge/` layer, auditing that layer for stale or unindexed notes, or retiring a fact that stopped being true. Also use at the end of a substantial session or mission to sweep memory for anything cross-role worth committing. Not for per-role notes or daily logs (that is the `memory` skill), and not for mission state (that belongs in the project's tracker — the delivery ledger when delivery tracking is enabled).

Tổng quan

Nhà phát hànharozumenko
Kho mãsdlc-skills
Tên kỹ năngknowledge-curation
Sao
26
Bản fork
10
Tệp đi kèm
5
Giấy phépApache-2.0
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 là Markdown thuần túy, không phải 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ộ.

  • 5 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 arozumenko công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Knowledge Curation 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/arozumenko/sdlc-skills/tree/main/skills/knowledge-curation
  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/arozumenko/sdlc-skills.git /tmp/sdlc-skills
mkdir -p .claude/skills
cp -r /tmp/sdlc-skills/skills/knowledge-curation .claude/skills/knowledge-curation
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 Knowledge Curation 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ự tải Knowledge Curation 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 Knowledge Curation không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

Knowledge curation

Two layers, one rule each:

LayerScopeTracked
.agents/memory/<role>/one role's working notes + daily logproject's choice, never reviewed — git check-ignore says whether it stays on this machine
.agents/knowledge/distilled facts every role can useyes — committed and reviewed

This skill owns the second layer and the path between them. The memory skill owns the first.

Why the second layer exists. Per-role memory is unreviewed and role-scoped, so a fact one role paid for is invisible to every other role — and, where memory is gitignored, to the same role on another machine. Teams routinely rediscover, at great cost, something a teammate already diagnosed correctly weeks earlier. The memory was not missing and not wrong; it was unreachable. Promotion is the fix.

Admission tests — all four must hold

  1. Cross-role — useful to two or more roles, or architecture-level.
  2. Verified — confirmed against the running system; the note says how, with a date.
  3. Durable — still true after the current mission ends.
  4. Costly to rediscover — if it is obvious from reading the code, it belongs in the code.

Fail any one → leave it in .agents/memory/<role>/.

An unverified claim here is worse than silence. It is committed, so it is trusted. If you cannot state how you verified it, either verify it now or do not write it.

Keep the bar high. A thin layer that is fully trusted beats a thick one that is not.

Layout

.agents/knowledge/
├── README.md            ← charter: the tests above + an index of start-here notes
├── architecture/        system shape, service boundaries, seams
├── services/            per-service invariants and surprising contracts
├── frontend/            client state, lifecycle, enforced UI rules
├── integrations/        external systems this repo depends on
├── environment/         local setup and the dev loop
├── practices/           how we work: verification, migration hazards, review focus
├── testing/             suites and harness behaviour
└── security/            credential, auth and egress invariants

Adapt the folders to the project — the point is that a new fact has an obvious home. Every folder carries a README.md stating what belongs in it and what does not, plus an index of its notes. Read that before adding.

Empty folders are fine: a named home makes it likelier a hard-won fact gets written down at all. Add a folder only when a third note would live in it.

Operations

Promote a fact

  1. Apply the four tests.
  2. Pick the folder; read its README.md.
  3. Write <folder>/<kebab-case-claim>.md:
yaml
---
name: <the claim, as a sentence>
description: <one line; what a reader GAINS, not what the note is "about">
type: reference | feedback | project
applies_to: [role, role, ...]
verified: YYYY-MM-DD
---
  1. Body: the fact → why it matters / what it costs to get wrong → a ## How this was verified section naming the method and date. One fact per note, ## sections so it can be anchor-linked.
  2. Add it to the folder's index, and to the charter's start-here list if it is that important.
  3. Leave the detailed working copy in the role directory. Promotion distils; it does not move.

Sweep at the end of a session or mission

Ask of each candidate: would another role have needed this today? Look for learnings that cost real debugging time, corrections to a previously-held belief, and anything where the tests passed but reality did not.

Do not sweep mission narrative, per-role preferences, or anything unverified.

Audit the layer

bash
python3 <skills>/knowledge-curation/scripts/vault.py lint .agents/knowledge --strict

Checks frontmatter, link and anchor resolution (by filename or alias), duplicate aliases, index/disk drift both ways, and notes overdue re-verification. Exit 1 on errors, so it works in CI.

After any large refactor, also grep the layer for references to things that no longer exist — notes describing deleted code are the most common failure of a shared layer, and the most damaging: they mislead every role at once.

Retire or correct a fact

  • Still valuable as a lesson? Keep it, retitle around the transferable part, and say plainly at the top what changed and when.
  • Otherwise delete it. Prefer deleting to hedging — version control keeps the history.
  • Either way, update the folder index and any note linking to it.

Never leave a half-true note. If only the paths moved, correct the paths and say so.

Bootstrapping the layer

If .agents/knowledge/ does not exist yet, create the charter and the folder scaffolding with a README.md each, then seed it from what the team already knows — typically the highest-value entries scattered across .agents/memory/<role>/. Scout does this at onboarding; anyone can do it later.

Checks before committing

  • Frontmatter complete (name, description, type, applies_to, verified).
  • Every relative link resolves; the note appears in its folder index.
  • Every claim has a stated verification method — no "should", no "presumably".
  • Nothing secret: no tokens, credentials, or customer data.

Tooling — scripts/vault.py

Stdlib-only, Python 3.9+. Optional: authoring stays file-tool based, so everything works without it. Use it for the two jobs prompts do badly — finding the right note among many, and checking structure deterministically.

bash
V=<skills>/knowledge-curation/scripts/vault.py

# recall without reading every file
python3 $V query .agents/knowledge --role qa-engineer
python3 $V query .agents/knowledge --tag area/          # whole axis, prefix match
python3 $V query .agents/memory/<role> --layer memory --text "ripgrep"
python3 $V query .agents/knowledge --stale-days 180     # overdue re-verification

# peek at one note (frontmatter + sections + first paragraph)
python3 $V show .agents/knowledge "cold build"          # resolves by ALIAS too

# graph traversal — what links here, what shares tags
python3 $V links .agents/knowledge runtime-architecture-after-m10

# structural checks (CI-friendly: exit 1 on errors)
python3 $V lint .agents/knowledge --strict

lint catches what is tedious by hand: missing/invalid frontmatter, name not matching the filename, wikilinks that resolve by neither filename nor alias, [[note#Anchor]] pointing at a heading that does not exist, duplicate aliases (which make a link ambiguous), index/disk drift in both directions, and notes overdue re-verification.

Resolve links the way Obsidian does — filename OR alias. A checker that only matches filenames reports false dead links; that mistake has already been made here once.

Obsidian Bases

templates/bases/*.base are ready-made Obsidian dashboards — copy into the vault root and open in Obsidian: knowledge by area, notes overdue re-verification, live traps (type/gotcha minus status/fixed), and curated memory. They make the layer browsable by a human without any plugin.

Related

  • memory — per-role notes and daily logs; the layer below this one.
  • Mission state belongs in the project's tracker (the delivery ledger when delivery tracking is enabled), not in either memory layer.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

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

Use when promoting a hard-won fact from per-role memory into the shared, committed `.agents/knowledge/` layer, auditing that layer for stale or unindexed notes, or retiring a fact that stopped being true. Also use at the end of a substantial session or mission to sweep memory for anything cross-role worth committing. Not for per-role notes or daily logs (that is the `memory` skill), and not for mission state (that belongs in the project's tracker — the delivery ledger when delivery tracking is enabled).

Vì sao nên dùng Knowledge Curation 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. Knowledge Curation 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 Knowledge Curation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/arozumenko/sdlc-skills/tree/main/skills/knowledge-curation. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành 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 Knowledge Curation?

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.

Bạn có thể dùng Knowledge Curation 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 Knowledge Curation 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 Knowledge Curation có miễn phí không?

Có. Kỹ năng này được arozumenko phát hành trên GitHub theo giấy phép Apache-2.0. 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇