Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật101k · #1197

library-curator

Skill này làm gì

Công cụ này tìm trong thư viện cá nhân các hình ảnh và tệp khác để tái sử dụng trong dự án. Nó tìm những gì bạn đã tải lên hoặc tạo trước đây, mà không cần bạn tải lên lại.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu dùng một hình ảnh bạn đã tải lên trước đó.
  • ✓Khi bạn muốn dùng logo hoặc ảnh chụp màn hình đã được lưu.
  • ✓Khi bạn muốn dùng tệp từ thư viện thay vì một tệp mới.

Liên kết skill

https://github.com/nexu-io/open-design/blob/main/skills/library-curator/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/nexu-io/open-design/blob/main/skills/library-curator/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ìm logo công ty mà tôi đã tải lên hôm qua và đặt nó lên trang.”

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

Cách hoạt động

Công cụ tìm trong thư viện của bạn bằng các từ khóa do bạn hoặc AI cung cấp. Sau đó nó lấy tệp tìm được, thêm vào dự án và đưa cho bạn một liên kết đến tệp.

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.

library-curator

Reuse assets that already live in the user's OD Library — images captured with the OD Clipper, manual uploads, agent-generated media, and design-system material — without asking the user to re-upload them.

When to use

  • The user references an asset they already have ("the screenshot I clipped", "my logo", "that hero image from earlier").
  • You need an image for the page you're building and the user prefers their own library over freshly generated media.

Tools (tool-token track)

Both endpoints authenticate with the run's tool token (OD_TOOL_TOKEN, injected by the daemon) and operate on the project the run belongs to.

Search

POST /api/tools/library/search

{ "query": "blue hero background", "kind": "image", "limit": 20 }

Returns { "results": [{ "asset": { "id": "...", "kind": "image", "sourceTitle": "...", "width": 1600, "height": 900, "sources": [...] }, "score": 0 }], "semantic": false }.

semantic: false means keyword/metadata matching (no embedding model configured). Filter and rank the results yourself from the asset metadata.

Apply

POST /api/tools/library/apply

{ "assetId": "<id from search>", "dir": "assets" }

Copies the asset into the project (default subdir library/, or the dir you pass) and returns { "relPath": "assets/<hash>.png" }. Reference that relPath from the HTML/CSS you write (e.g. <img src="assets/ab12cd34ef.png">).

Recipe

  1. Search with a tight query for the kind you need.
  2. Pick the best result by dimensions / title / source.
  3. Apply it to get a project-relative path.
  4. Wire that path into the artifact you're editing.

If search returns nothing, fall back to media generation rather than guessing a path — never invent a relPath that apply did not return.

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

“OD Library” là gì?

Đó là nơi lưu các tệp của bạn (hình ảnh, logo, v.v.) để bạn dễ dàng tái sử dụng.

Công cụ biết chọn tệp nào bằng cách nào?

Nó dùng các từ bạn tìm kiếm và so sánh với thông tin của tệp. Nếu có nhiều tệp, nó cố chọn tệp tốt nhất dựa trên kích thước hoặc tên.

Nếu công cụ không tìm thấy thứ tôi cần thì sao?

Nó sẽ không bịa ra tệp. Nếu không tìm thấy gì, nó sẽ báo cho bạn biết hoặc thử tạo thứ mới thay vì dùng một liên kết không tồn tại.

Chi tiết

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

Search the OD Library (the global asset registry) and apply matching assets into the current project mid-task. Use when the user asks to reuse an image they captured/uploaded earlier, "pull a logo/screenshot from my library", or to find and drop a stored asset into the page being built.

repo: nexu-io/open-design

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#1197
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ự