Logo Corezoid Access

Corezoid Access

Tổ chức
corezoid
corezoid-access

Chuyên gia kiểm soát quyền truy cập Corezoid. Dùng khi người dùng muốn chia sẻ một quy trình, thư mục, giai đoạn hoặc dự án với người dùng / nhóm / khóa API khác, tạo hoặc xóa nhóm người dùng, tạo hoặc xoay vòng khóa API, mời người dùng bên ngoài hoặc kiểm tra ai hiện có quyền truy cập vào một đối tượng Corezoid. Kích hoạt khi người dùng nói “share”, “give access”, “grant access”, “share to”, “доступ”, “пошарь”, “create group”, “создай группу”, “create api key”, “создай API ключ”, “invite user”, “пригласи”, “revoke access”, “unshare”, “who has access”.

Add to TypingMind

Tổng quan

Nhà phát hànhcorezoid
Kho mãcorezoid-ai-plugin
Tên kỹ năngcorezoid-access
Sao
74
Bản fork
26
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được corezoid 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 Corezoid Access 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/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-access
  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/corezoid/corezoid-ai-plugin.git /tmp/corezoid-ai-plugin
mkdir -p .claude/skills
cp -r /tmp/corezoid-ai-plugin/plugins/corezoid/skills/corezoid-access .claude/skills/corezoid-access
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 Corezoid Access 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 Corezoid Access 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 Corezoid Access 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.

Corezoid Access Control

You are the specialist for sharing Corezoid objects and managing principals (users, groups, API keys) inside a workspace. You drive share-object, create-group, create-api-key, find-principal, invite-user and the related operations.

How to call them

All of them are actions of the single cz-access MCP tool — there is no share-object tool to call on its own:

cz-access {"action": "share-object", "args": {"obj": "conv", "obj_id": 834936, "obj_to": "user", "obj_to_id": 78545, "privs": "view"}}

Every argument goes inside args. The examples in this skill use a shorthand — share-object obj=conv obj_id=834936 means exactly the call above. When unsure about an action's arguments, call cz-access {"action": "<action>", "help": true}: it returns the action's full schema and runs nothing.

Mental model

Everything you share — a single process, a folder, a whole stage, or an entire project — uses the same API operation: a link op against the Corezoid /api/2/json endpoint with a privs payload. The MCP tools below are thin wrappers around that one operation.

Workspace (company)
  ├── Projects ─────────► share-object obj=project
  │   └── Stages ───────► share-object obj=stage
  │       └── Folders ──► share-object obj=folder
  │           └── Processes (conv) ► share-object obj=conv
  │
  ├── Users      ── obj_to=user   (real human accounts)
  ├── API keys   ── obj_to=user   (API keys are users with logins.type=api)
  └── Groups     ── obj_to=group  (bundles of users + api keys)

Key consequence: when you share to an API key, pass obj_to=user with the key's obj_id — not obj_to=api_key. The link API does not accept api_key as a recipient kind; the data model treats API keys as user records.

Privilege model

Four privileges, applied independently:

PrivWhat it lets the principal doUI label
viewRead process/folder content and run-time dataView
createCreate new tasks in a process or new objects in a folderTask management
modifyEdit the process / folder / stage definitionModify
deleteDelete objectsDelete

In tools the privs argument accepts a comma-separated list ("view,modify"), a JSON array ('["view","create"]'), or one of the keywords "all" / "none". Default when omitted is "all". Pass "none" (or the equivalent literal "[]") to revoke — under the hood Corezoid uses the same link op for grant and revoke, distinguished only by whether the privs array is populated, so there is no separate "unshare" tool.

The standard share workflow

The recipient is usually identified by name, not obj_id. Resolve first, then share:

1. find-principal   name="<search>" kind=user|group|api_key
        → returns obj_id(s) and titles
2. share-object     obj=<conv|folder|stage|project>
                    obj_id=<numeric>
                    obj_to=<user|group>          # user covers API keys
                    obj_to_id=<obj_id from step 1>
                    privs="view,create"          # or "all"

Always confirm the match with the user when find-principal returns more than one row — the wrong obj_id silently shares to the wrong person.

Common scenarios

Share a folder with a user (full access)

find-principal name="Andrii"
# → obj_id 78545, Andrii Chaban
share-object obj=folder obj_id=671259 obj_to=user obj_to_id=78545 privs="all"

Share a process with a group (read-only)

find-principal name="Smart API" kind=group
# → obj_id 170464, Smart API Team
share-object obj=conv obj_id=834936 obj_to=group obj_to_id=170464 privs="view"

Share an entire project with multiple principals

Call share-object once per recipient. Corezoid does support multi-op batching, but the MCP tool keeps one share per call so partial failures are obvious and easy to retry.

Create a group, edit it, add members

create-group title="Backend Team" description="Owns the payment integration"
# → group_id=170800
modify-group group_id=170800 title="Payments Backend"          # rename
modify-group group_id=170800 description="Owns checkout flow"  # update description

find-principal name="@corezoid.com"
# → list of users; pick the user_ids you need
add-to-group group_id=170800 user_id=78545
add-to-group group_id=170800 user_id=97636
list-groups name="Payments"   # size column shows current member count
# then share folders/processes once to the group instead of each user

Audit a group's impact before deletion

list-group-objects group_id=170800
# → lists every process the group has access to

Use this before delete-group to understand who loses what. The endpoint returns processes only — folders, stages and projects shared with the group are not retrievable through this call.

Delete a group safely

delete-group group_id=170800
# → if any process is still shared with the group, the call refuses:
#     "Refused to delete group #170800 — still has 3 active share(s):
#        conv #1648675  Escalation
#        conv #1839904  Deprecated
#        conv #1840144  Deprecated_2
#      Re-run with force=true to delete anyway."

delete-group group_id=170800 force=true   # confirms destructive intent

Once the group is deleted, every share that referenced it is revoked server-side — group members lose any access they inherited through the group (this is automatic; no extra revocation calls needed).

Create and use an API key

create-api-key title="Integration: Salesforce sync" description="Pulls leads hourly"
# → obj_id=29299
#   login=61e566e382ba963bcb25be3
#   secret written to: ~/.corezoid/api-keys/Integration-Salesforce-sync-29299.json
#                       (chmod 600 JSON: title, description, obj_id, login, secret, created_at)
#   ⚠ never paste the secret into chat — point the user at the file
share-object obj=conv obj_id=834936 obj_to=user obj_to_id=29299 privs="view,create"

Secret hygiene — the agent NEVER prints the raw secret in chat. The secret lives in ~/.corezoid/api-keys/<title-slug>-<obj_id>.json with mode 0600 and the parent directory at 0700. Tell the user to read it from that file, copy it into their integration's secret store, then delete the file. If they ask the agent to "show the secret", point at the file path rather than reading the secret aloud.

Edit an API key

modify-api-key api_key_id=29299 title="Integration: Salesforce v2" description="…"

Gotcha — Corezoid rejects modify-api-key with "User has no rights" when the key is not a member of any group. Before renaming a freshly created key, attach it to any group (e.g., create a host group with create-group then add-to-group).

Deactivate an API key

delete-api-key api_key_id=29299

Corezoid does not expose a non-superadmin "block/unblock" operation on API keys. Use delete-api-key — the secret is invalidated immediately (subsequent requests get 401) and objects owned by the key are reassigned to the workspace owner.

Invite an external user (not yet in the workspace)

invite-user email="dev@external.com" login_type="google"
            obj=folder obj_id=671259 privs="view"
# → returns invite URL the recipient must open

login_type is usually google; use corezoid for password-based accounts. The invite always grants access to one object; subsequent shares for other objects use share-object after the user accepts.

Audit who has access

list-shares obj=folder obj_id=671259
# → table of users + groups + api keys + privs each holds

Use this before changing share state — verify expectations first.

Revoke access

share-object obj=conv obj_id=834936 obj_to=user obj_to_id=97636 privs=none

Same wire operation as a grant — the server distinguishes by whether privs is an empty array. Multiple revocations in one batch (when the admin UI does it) ship as one request with several link ops, each with privs:[].

Validation rules and pitfalls

  • obj_to is user or group — never api_key. API keys are users.
  • obj_id and obj_to_id are numeric. The 24-char hex format is only for node IDs inside processes — totally unrelated.
  • company_id is auto-injected from the active workspace (WORKSPACE_ID env var). If sharing fails with company_id errors, the user is on a personal workspace and the MCP server already drops the empty value — retry usually succeeds.
  • API key secrets are unrecoverable. Surface them in the very next message after create-api-key. Never log them to disk silently.
  • Inviting then re-inviting the same email produces a new URL; the old one stops working. Use find-principal with kind=user to check if the invite already turned into an active user.
  • Sharing a stage gives access to every process below it. If the user only needs one process, share at obj=conv instead.

When NOT to use this skill

  • Creating processes / folders / variables → corezoid-init, corezoid-create
  • Editing process JSON → corezoid-edit
  • Reviewing process structure → corezoid-review, corezoid-project-review

Hand control back to the main corezoid skill once access changes are done.

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

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

Chuyên gia kiểm soát quyền truy cập Corezoid. Dùng khi người dùng muốn chia sẻ một quy trình, thư mục, giai đoạn hoặc dự án với người dùng / nhóm / khóa API khác, tạo hoặc xóa nhóm người dùng, tạo hoặc xoay vòng khóa API, mời người dùng bên ngoài hoặc kiểm tra ai hiện có quyền truy cập vào một đối tượng Corezoid. Kích hoạt khi người dùng nói “share”, “give access”, “grant access”, “share to”, “доступ”, “пошарь”, “create group”, “создай группу”, “create api key”, “создай API ключ”, “invite user”, “пригласи”, “revoke access”, “unshare”, “who has access”.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-access. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Corezoid Access?

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

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