Corezoid Access 标志

Corezoid Access

组织
corezoid
corezoid-access

Corezoid 访问控制专家。用户想与其他用户、群组或 API 密钥共享流程、文件夹、阶段或项目,创建或删除用户群组,创建或轮换 API 密钥,邀请外部用户,或审查当前哪些人有权访问某个 Corezoid 对象时,使用此技能。用户说“share”“give access”“grant access”“share to”“доступ”“пошарь”“create group”“создай группу”“create api key”“создай API ключ”“invite user”“пригласи”“revoke access”“unshare”或“who has access”时,启用此技能。

Add to TypingMind

概览

发布者corezoid
代码仓库corezoid-ai-plugin
技能名称corezoid-access
星标数
74
复刻数
26
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 corezoid 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Corezoid Access AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-access
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Corezoid Access,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Corezoid Access。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Corezoid Access 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

常见问题

Corezoid Access AI 技能有什么作用?

Corezoid 访问控制专家。用户想与其他用户、群组或 API 密钥共享流程、文件夹、阶段或项目,创建或删除用户群组,创建或轮换 API 密钥,邀请外部用户,或审查当前哪些人有权访问某个 Corezoid 对象时,使用此技能。用户说“share”“give access”“grant access”“share to”“доступ”“пошарь”“create group”“создай группу”“create api key”“создай API ключ”“invite user”“пригласи”“revoke access”“unshare”或“who has access”时,启用此技能。

为什么在 TypingMind 中使用 Corezoid Access?

因为您只需安装一次,就能搭配任何模型使用。Corezoid Access 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Corezoid Access?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/corezoid/corezoid-ai-plugin/tree/main/plugins/corezoid/skills/corezoid-access。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Corezoid Access?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Corezoid Access 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Corezoid Access 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Corezoid Access AI 技能免费吗?

是的。corezoid 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇