Yida Corp Manager logo

Yida Corp Manager

Organization
openyida
yida-corp-manager

宜搭平台权限管理。查询和维护应用管理员、平台管理员、平台子管理员,以及通讯录可见性开关。触发词:「平台权限管理」「corpManager」「平台管理员」「通讯录权限」。

Overview

Publisheropenyida
Repositoryopenyida
Skill nameyida-corp-manager
Stars
228
Forks
50
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by openyida on GitHub. Read the source before you install it.

Installation

Install the Yida Corp Manager AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-corp-manager
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openyida/openyida.git /tmp/openyida
mkdir -p .claude/skills
cp -r /tmp/openyida/yida-skills/skills/yida-corp-manager .claude/skills/yida-corp-manager
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yida Corp Manager in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Yida Corp Manager on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Yida Corp Manager is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

平台权限管理

适用范围

用户要求维护组织级应用管理员、平台管理员、平台子管理员或通讯录可见性时使用本技能。

corp-manager app 对应组织级 applicationCreateRole 应用管理员。app-permission main 对应某个 appType 内的 MAIN 应用主管理员。两者不是同一角色;用户只说“应用管理员”时先确认组织级还是单应用级。

铁律

  1. 人员身份必须明确:增删管理员前运行 search-user;同名人员必须用 userId 和 departmentNamePath 区分。
  2. 组织权限必须确认:写入前展示 roleType、人员、部门范围、管理场景和明确的 before/after。
  3. 子管理员范围必须完整:sub 必须提供非空 deptIds;scenes 未指定时 CLI 使用 appManage,bulletinBoard,差异预览必须展示该默认值。
  4. 通讯录开关必须保留省略项:先查询两个开关,after 中未指定的值保持 before。
  5. 平台状态是真相源:每次修改都查询并重查;本技能不使用 memory 保存组织权限。

标准流程

  1. 查询:人员先 search-user;角色运行 list <role> --user <userId>;通讯录运行 address-book get。
  2. 差异预览:输出明确的 before/after。add 展示新增角色及范围,remove 展示将删除的角色,通讯录展示两个开关。
  3. 确认:用户确认 userId、组织角色、deptIds、scenes 或可见性开关。
  4. 写入:执行一次 add、remove 或 address-book set。
  5. 重查验证:使用同一 list 或 address-book get 比较 expected/actual;不一致时报告失败。

命令

搜索人员:

bash
openyida corp-manager search-user "姓名或关键词" --dept "部门关键词"

查询组织管理员:

bash
openyida corp-manager list <app|platform|sub> --user <userId>

添加或更新:

bash
openyida corp-manager add app --user <userId>
openyida corp-manager add platform --user <userId>
openyida corp-manager add sub --user <userId> --dept-ids <id1,id2> --scenes <scene1,scene2>

移除:

bash
openyida corp-manager remove <app|platform|sub> --user <userId>

通讯录可见性:

bash
openyida corp-manager address-book get
openyida corp-manager address-book set --all-visible <y|n> --admin-visible <y|n>
CLI 角色组织级含义接口 roleType
app应用管理员applicationCreateRole
platform平台管理员corpAdminRole
sub平台子管理员subCorpAdminRole

sub 的 --dept-ids 传部门 ID,多个值用逗号分隔。--scenes 当前已知值:

scene含义
appManage应用管理
bulletinBoard公告栏定制

失败处理

结果动作
角色层级不明确零写入;确认 corp-manager app 或 app-permission main
同名人员或部门不明确零写入;展示搜索结果并让用户确认 userId/deptIds
sub 缺少部门范围零写入;要求明确 deptIds
查询或登录态失败零写入;运行 openyida auth status 并处理账号/组织
写入失败停止;保留 before 和错误响应,不自动重复写入
重查不一致输出 expected/actual,不宣称完成
网络超时先重查实际状态;无法证明时停止

Frequently asked questions

What does the Yida Corp Manager AI skill do?

宜搭平台权限管理。查询和维护应用管理员、平台管理员、平台子管理员,以及通讯录可见性开关。触发词:「平台权限管理」「corpManager」「平台管理员」「通讯录权限」。

Why use Yida Corp Manager on TypingMind?

Because you install it once and use it with any model. Yida Corp Manager is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Yida Corp Manager in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-corp-manager. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Yida Corp Manager?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Yida Corp Manager?

As many as you like. As long as a model supports skills, you can use Yida Corp Manager with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Yida Corp Manager AI skill free?

Yes. It is published on GitHub by openyida under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇