Yida App Permission logo

Yida App Permission

Organization
openyida
yida-app-permission

应用级管理员设置。查询和维护单个宜搭应用的应用主管理员、数据管理员、开发成员。适用于调整某个应用的管理员角色分配。

Overview

Publisheropenyida
Repositoryopenyida
Skill nameyida-app-permission
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 App Permission 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-app-permission
  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-app-permission .claude/skills/yida-app-permission
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yida App Permission 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 App Permission 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 App Permission 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.

应用级管理员设置

适用范围

用户要求维护某一个 appType 的应用主管理员、数据管理员或开发成员时使用本技能。

app-permission main 是单个应用内的 MAIN 应用主管理员。corp-manager app 是组织级 applicationCreateRole 应用管理员。两者接口、作用域和成员列表不同,不能互换。

铁律

  1. 人员身份必须明确:添加成员前运行 search-user;同名人员用 userId 和部门路径区分。
  2. main 必须保留成员:MAIN 是单应用最高管理员角色,after 至少包含一个 userId。
  3. set 是整组替换:执行前展示完整 before/after;--clear 只用于 data 或 dev。
  4. 平台状态是真相源:每次修改都查询、确认并重查;本技能不使用 memory 保存管理员状态。

标准流程

  1. 查询:运行 openyida app-permission get <appType>,记录目标角色的 userIds。
  2. 差异预览:根据 add、remove、set 或 clear 计算并输出明确的 before/after。
  3. 确认:向用户确认 appType、角色、人员身份和完整 after;修改 main 时再次确认最高权限变化。
  4. 写入:只执行一次目标命令。
  5. 重查验证:再次运行 get,比较实际 userIds 与 after;输出 expected/actual,不一致时报告失败。

命令

查询应用角色:

bash
openyida app-permission get <appType>

搜索人员:

bash
openyida app-permission search-user "姓名或关键词" --dept "部门关键词"

增量添加或移除:

bash
openyida app-permission add <appType> <main|data|dev> --users <userId1,userId2>
openyida app-permission remove <appType> <main|data|dev> --users <userId1,userId2>

整组替换或清空:

bash
openyida app-permission set <appType> <main|data|dev> --users <userId1,userId2>
openyida app-permission set <appType> <data|dev> --clear
CLI 角色单应用含义接口 adminType
main应用主管理员MAIN
data数据管理员DATA
dev开发成员DEV

写命令的 JSON 输出包含写入结果和 currentRole。Agent 仍以独立 get 结果作为最终验证证据。

失败处理

结果动作
搜索到同名人员展示 userId 和部门路径,由用户确认目标
main after 为空零写入;要求至少保留一个主管理员
查询或登录态失败零写入;运行 openyida auth status 并处理账号/组织
写入失败停止;保留 before 和错误响应,不自动重复写入
重查不一致输出 expected/actual,不宣称完成
网络超时先运行 get 判断实际状态;无法证明时停止

Frequently asked questions

What does the Yida App Permission AI skill do?

应用级管理员设置。查询和维护单个宜搭应用的应用主管理员、数据管理员、开发成员。适用于调整某个应用的管理员角色分配。

Why use Yida App Permission on TypingMind?

Because you install it once and use it with any model. Yida App Permission 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 App Permission in TypingMind?

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

Which AI models can use Yida App Permission?

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 App Permission?

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

Is the Yida App Permission 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 👇