Logo Configuration

Configuration

Cộng đồng
alfredxw
configuration

Use when a Project Agent reads or changes lore indexes and group memberships, managed presets, game modules, automations, Skills, or Agent profiles through config_read and config_apply.

Tổng quan

Nhà phát hànhalfredxw
Kho mãdenova
Tên kỹ năngconfiguration
Sao
906
Bản fork
143
Tệp đi kèm
10
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 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ộ.

  • 10 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 alfredxw 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 Configuration 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/alfredxw/denova/tree/master/skills/configuration
  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/alfredxw/denova.git /tmp/denova
mkdir -p .claude/skills
cp -r /tmp/denova/skills/configuration .claude/skills/configuration
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 Configuration 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 Configuration 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 Configuration 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.

Configuration

Manage every supported configuration resource through the stable config_read and config_apply tools. Never edit Denova configuration files or internal JSON storage directly.

Required workflow

  1. For an unfamiliar resource, call config_read with operation=describe. Omit resource to discover all registered kinds, or provide one kind for its contract.
  2. Call config_read(operation=list) to resolve the exact ID and scope. Catalogs use items plus next_cursor; continue with the identical request and returned cursor until truncated=false when the full catalog matters. Before an update or delete, call config_read(operation=get) for the exact ID and retain its latest revision.
  3. Read exactly the relevant reference below with read({"path":"skill://configuration/references/<file>.md"}). Do not infer a value shape from another resource.
  4. Follow that resource's mutation semantics. Call config_apply for exactly one create, update, or delete and use only names returned by describe.
  5. For update and delete, copy the latest revision from config_read; never guess, copy an example placeholder, or reuse a stale revision. Preserve every field or layer section the user did not ask to change.

get accepts any number of IDs. A mixed batch succeeds with existing items, explicit missing_ids, and per-ID failures; an entirely unsuccessful completed batch fails. Large exact reads also return next_cursor. Never treat truncated=true as a complete read. 6. config_apply returns only a compact persistence receipt (resource, operation, id, revision). Read the changed item again and compare the requested fields plus preservation-sensitive fields. Report success only when the effective result matches.

Deletion must be explicitly requested by the user. If a stale-revision conflict occurs, read the current item again, reconcile the requested change with that value, and retry once with the new revision. Do not silently overwrite concurrent changes.

Mutation semantics

ResourcesUpdate behavior
narrative_style, story_director, event_package, rule_system, state_system, image_presetComplete editable-resource replacement. Start from get, change only requested fields, and submit the complete editable value. Omitted arrays and objects are cleared or defaulted.
automationSparse patch. Omitted fields stay unchanged; a present triggers array replaces the whole trigger list. target is create-only and immutable.
agent_profileFixed Agents use sectional layered updates. A custom_agent mutation is user-only and replaces its complete independent definition; General SubAgent and custom SubAgent mutations follow the resource reference.
skillComplete replacement of one root SKILL.md or one supporting reference file. The root revision covers the whole Skill directory.
style_referenceCreate writes one document; update replaces its complete Markdown content.
lore_indexWorkspace singleton index. Update replaces the complete guide: introduction, ordered custom groups and automatic-group detail overrides. Removing a group backs up the collection and clears only its associations.
lore_index_membershipOne existing lore item by ID. Update replaces only its complete index_memberships array; [] restores automatic grouping. Apply independently per item, preserving unrelated associations.

Fields returned for inspection such as path, custom, builtin_overridden, invalid, error, timestamps, resolved snapshots, run history, and secrets are host-owned unless the resource reference explicitly says otherwise. Never add an unknown field: configuration values reject unknown keys.

Examples use REVISION_FROM_GET as a visible placeholder. Always replace it with the exact current revision returned for the same resource, ID, and scope.

Reference routing

  • style_reference → skill://configuration/references/style-reference.md
  • narrative_style → skill://configuration/references/narrative-style.md
  • story_director → skill://configuration/references/story-director.md
  • event_package → skill://configuration/references/event-package.md
  • rule_system → skill://configuration/references/rule-system.md
  • state_system → skill://configuration/references/state-system.md
  • image_preset → skill://configuration/references/image-preset.md
  • automation → skill://configuration/references/automation.md
  • skill → skill://configuration/references/skill.md
  • agent_profile → skill://configuration/references/agent-profile.md
  • lore_index, lore_index_membership → skill://configuration/references/lore-index.md

For lore index organization, use these configuration resources. For creating or editing lore bodies, use query_lore_items with detail=full and write_lore_items when available. Do not pass index fields to write_lore_items or edit the backing JSON directly. Index management applies to the current project in both writing and game configuration pages; it does not enable configuration mutations during game play.

These are references, not sub-Skills. Do not pass a sub_skill argument or invoke another Skill name.

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.

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

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

Use when a Project Agent reads or changes lore indexes and group memberships, managed presets, game modules, automations, Skills, or Agent profiles through config_read and config_apply.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/alfredxw/denova/tree/master/skills/configuration. 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 Configuration?

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 Configuration 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 Configuration 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 Configuration có miễn phí không?

Có. Kỹ năng này được alfredxw 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 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 👇