Agent skill

Yida Form Permission

by openyida in openyida/openyida

宜搭表单权限组管理。查询、新增权限组,配置成员权限、数据权限、操作权限和字段权限。适用于控制表单数据的访问范围和操作权限。

MITAuto-check passed

Install Yida Form Permission

skills CLI
$ npx skills add openyida/openyida --skill yida-form-permission -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openyida/openyida yida-form-permission --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openyida/openyida.git skills-src && mkdir -p .claude/skills && cp -r skills-src/yida-skills/skills/yida-form-permission .claude/skills/yida-form-permission && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
yida-form-permission
GitHub stars
221
Token cost
~1.4k tokens
SKILL.md length
301 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

宜搭表单权限组管理。查询、新增权限组,配置成员权限、数据权限、操作权限和字段权限。适用于控制表单数据的访问范围和操作权限。

  • Works in 5 steps: 目标必须唯一:优先使用查询结果中的 packageUuid,通过… → 未知操作键必须保留:目标组的 operatePermit 包含 CLI… → 成员替换必须展示损失:执行 --all-members 或 --matrix… → …
  • SKILL.md covers 适用范围, 铁律, 标准流程 and 命令, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Yida Form Permission is an agent skill from openyida/openyida. 宜搭表单权限组管理。查询、新增权限组,配置成员权限、数据权限、操作权限和字段权限。适用于控制表单数据的访问范围和操作权限。

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Your own personal YiDA AI assistant! The licence is MIT.

Example prompts

  • “/yida-form-permission”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 目标必须唯一:优先使用查询结果中的 packageUuid,通过 --package-uuid 精确更新;未提供 UUID 时才按 DEFAULT、MANAGER 或 MATRIX 匹配。匹配 0 个或多个、分页无法完整结束时停止。
  2. 未知操作键必须保留:目标组的 operatePermit 包含 CLI 白名单外键时,停止 action-permission 修改;修改其他维度时原样保留整个 operatePermit。
  3. 成员替换必须展示损失:执行 --all-members 或 --matrix 前展示完整 roleData before/after 和会移除的 DEPARTMENT、ROLE、PARAM、MANAGER 等条目。CLI 要求确认时,用户确认后追加…
  4. 整块保存必须先确认:action-permission 会整块替换为 operations 中值为 true 的白名单键;执行前展示完整 before/after。
  5. 平台状态是真相源:本技能不使用 memory 保存权限状态;CLI 保存前完整查询、只写一次,保存后按 packageUuid 精确回读。目标维度不一致或非目标维度漂移时报 verify failed;无法恢复 create UUID、精确目标暂不可见或回读失败时报…

What it can do on your machine

Read from SKILL.md and the folder at commit 4932d0b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Yida Form Permission loads about 1.4k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 301 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openyida/openyida at commit 4932d0b, republished under its MIT licence (© openyida). 301 words, ~1,389 tokens.

Download SKILL.mdSave it as .claude/skills/yida-form-permission/SKILL.md (or your agent's skills folder).
name
yida-form-permission
description
宜搭表单权限组管理。查询、新增权限组,配置成员权限、数据权限、操作权限和字段权限。适用于控制表单数据的访问范围和操作权限。

表单权限配置

适用范围

用户要求查询或修改表单权限组、成员范围、数据范围、操作权限或字段权限时使用本技能。

当前 CLI 只查询和保存 FORM_PACKAGE_VIEW 权限组。平台模型还包含 FORM_PACKAGE_START,本技能不管理该类型。查询会按每页 20 条安全翻页;达到安全上限、分页重复或响应结构不完整时 fail-closed,不把不完整列表当作全量结果。

铁律

  1. 目标必须唯一:优先使用查询结果中的 packageUuid,通过 --package-uuid 精确更新;未提供 UUID 时才按 DEFAULT、MANAGER 或 MATRIX 匹配。匹配 0 个或多个、分页无法完整结束时停止。 packageUuid 只属于本次查询的 formUuid;多表单配置必须逐表查询,禁止跨表单复用。
  2. 未知操作键必须保留:目标组的 operatePermit 包含 CLI 白名单外键时,停止 action-permission 修改;修改其他维度时原样保留整个 operatePermit。
  3. 成员替换必须展示损失:执行 --all-members 或 --matrix 前展示完整 roleData before/after 和会移除的 DEPARTMENT、ROLE、PARAM、MANAGER 等条目。CLI 要求确认时,用户确认后追加 --confirm-member-replace。
  4. 整块保存必须先确认:action-permission 会整块替换为 operations 中值为 true 的白名单键;执行前展示完整 before/after。
  5. 平台状态是真相源:本技能不使用 memory 保存权限状态;CLI 保存前完整查询、只写一次,保存后按 packageUuid 精确回读。目标维度不一致或非目标维度漂移时报 verify failed;无法恢复 create UUID、精确目标暂不可见或回读失败时报 verify unknown,两者都不得宣称成功或直接重放写入。

标准流程

  1. 查询:运行 openyida get-permission <appType> <formUuid>,记录目标组名称、packageUuid 和四个权限维度。
  2. 差异预览:输出明确的 before 与 after;未修改的 roleData、dataPermit、operatePermit、fieldPermit 标记为“保持原值”。
  3. 确认:向用户确认唯一目标、成员损失、操作权限整块替换和数据范围变化。
  4. 写入:只传需要修改的维度,更新时追加 --package-uuid <packageUuid>,执行一次 save-permission。
  5. 重查验证:CLI 会自动按 packageUuid 做 canonical readback,并返回 verification.status=verified 才算成功;Agent 可再用精确查询复核。failed 或 unknown 时停止且不重放。

新增权限组也先查询现有配置并展示新组的完整 after,再确认、写入和重查。

命令

查询全部查看权限组,或按 packageUuid 精确过滤:

bash
openyida get-permission <appType> <formUuid>
openyida get-permission <appType> <formUuid> --package-uuid <packageUuid>

更新唯一权限组:

bash
openyida save-permission <appType> <formUuid> --package-uuid <packageUuid> [选项]
选项作用
--package-uuid <packageUuid>精确选择已有权限组;不能与 --create 同时使用
--data-permission <json>修改 dataPermit;顶层可带 role 选择目标组
--action-permission <json>整块替换 operatePermit;顶层可带 role
--field-permission <json>修改真实 fieldPermit;顶层可带 role
--members <userIds>替换 PERSONS 条目并保留其他 roleData 条目
--all-members把成员维度替换为 DEFAULT/ALL
--matrix <json>把成员维度替换为指定矩阵;与 --members、--all-members 互斥
--confirm-member-replace确认会删除复合 roleData 的成员替换

新增权限组:

bash
openyida save-permission <appType> <formUuid> --create --name <名称> [选项]

更新目标 role 只支持 DEFAULT、MANAGER、MATRIX。平台 roleData 可出现 DEFAULT、MANAGER、PERSONS、DEPARTMENT、ROLE、PARAM、MATRIX;CLI 不新增 DEPARTMENT、ROLE 或 PARAM 成员条目。

数据权限

简写 dataRange:

输入写入类型
ALLALL
SELF / ORIGINATORORIGINATOR
DEPARTMENT / ORIGINATOR_DEPARTMENTORIGINATOR_DEPARTMENT
SUBORDINATESUBORDINATE
SAME_LEVEL_DEPARTMENTSAME_LEVEL_DEPARTMENT
SUBORDINATE_DEPARTMENTSUBORDINATE_DEPARTMENT
FREE_LOGINFREE_LOGIN
CUSTOM_DEPARTMENTCUSTOM_DEPARTMENT
CUSTOM / FORMULAFORMULA
MATRIXMATRIX

组合范围传完整 dataPermit 对象。rule 必须非空;启用 CUSTOM_DEPARTMENT 时 customDepartmentData.departmentIds 必须非空;启用 FORMULA 时必须提供非空 formulaData;启用 MATRIX 时 roleData 必须选择有效的 matrixId 和 columnId,反向也成立。

json
{
  "role": "DEFAULT",
  "rule": [
    { "type": "ORIGINATOR", "value": "y" },
    { "type": "CUSTOM_DEPARTMENT", "value": "y" },
    { "type": "FORMULA", "value": "y" }
  ],
  "customDepartmentData": {
    "departmentIds": ["637215248"],
    "drillDown": "n"
  },
  "formulaData": {
    "condition": "OR",
    "ruleId": "group-xxx",
    "rules": []
  }
}
匿名提交的 FREE_LOGIN 门禁

公开访问自定义页面向普通表单匿名提交时,目标表单 DEFAULT 权限组的 dataPermit.rule 必须包含 {"type":"FREE_LOGIN","value":"y"}。它只是三项前置门禁之一;显示页和目标表单还必须分别满足 isOpen === 'y'。完整运行时契约见公开访问(匿名态)提交。

配置时必须先查询并锁定 DEFAULT 组的 packageUuid,复制其完整 dataPermit,只在原有 rule 中补入 FREE_LOGIN,保留 ORIGINATOR 及其他已有规则、customDepartmentData、formulaData 等非目标内容;不得用固定的 ORIGINATOR + FREE_LOGIN 模板覆盖现网规则。保存后按同一 packageUuid 回读,确认 FREE_LOGIN 存在且其他规则未漂移。

操作权限

operations 至少有一个值为 true 的操作。当前 CLI 白名单为:

OPERATE_VIEW、OPERATE_EDIT、OPERATE_DELETE、OPERATE_HISTORY、OPERATE_COMMENT、OPERATE_PRINT、OPERATE_CREATE、OPERATE_BATCH_EDIT、OPERATE_BATCH_EXPORT、OPERATE_BATCH_IMPORT、OPERATE_BATCH_DELETE、OPERATE_BATCH_PRINT、OPERATE_BATCH_DOWNLOAD、OPERATE_BATCH_DOWNLOAD_QRCODE。

平台出现白名单外键时,本技能不推断其语义,也不通过 action-permission 删除它。

字段权限

全部字段沿用表单状态:

json
{ "fieldRange": "FORM" }

自定义字段权限使用真实 fieldStatus 结构:

json
{
  "role": "DEFAULT",
  "fieldRange": "CUSTOM",
  "fieldStatus": [
    {
      "label": "客户名称",
      "fieldName": "textField_xxx",
      "componentName": "TextField",
      "value": "FORM_FIELD_VIEW"
    }
  ]
}

value 支持 FORM_FIELD_VIEW、FORM_FILED_EDIT(平台原始拼写)、FORM_FIELD_HIDDEN、FORM_FIELD_ENCRYPT。修改前从查询结果复制真实 label、fieldName 和 componentName,只改变目标项的 value。

失败处理

结果动作
查询为空、目标不唯一、分页不完整或 UUID 不存在零写入;展示名称/packageUuid,并让用户缩小目标或改在平台处理
登录态或权限失败停止;运行 openyida auth status 后由用户处理账号或组织
参数或结构校验失败零写入;修正 rule、部门 ID、formulaData、矩阵或 fieldStatus
保存失败停止,不重复写入;保留 before 和错误响应
写后不一致SAVE_PERMISSION_VERIFY_FAILED;报告 expected/actual,停止且不宣称完成
写后无法精确确认SAVE_PERMISSION_VERIFY_UNKNOWN;先精确查询,禁止直接重放写入
网络超时先重查目标状态;只有证明未写入后才允许用户确认重试

明确不支持

FORM_PACKAGE_START、新操作键、新成员创建参数、权限组删除/复制/重命名、矩阵 CRUD 和 permission-v2。

© openyida, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in yida-skills/skills/yida-form-permission of openyida/openyida.

Open the folder on GitHubat commit 4932d0b

Compare with similar skills

Yida Form Permission next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Yida Form Permission compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Yida Form Permission this skillopenyida/openyida221—~1.4kAutomated safety check: PassMIT
Form Fillingasgeirtj/system_prompts_leaks69k—~400Automated safety check: PassCC0-1.0
Form Validationthedaviddias/Front-End-Checklist74k—~633Automated safety check: PassMIT
Formstrycompai/comp2k—~1kAutomated safety check: PassAGPL-3.0
Form Httpsthedaviddias/Front-End-Checklist74k—~552Automated safety check: PassMIT
Permission Managersickn33/agentic-awesome-skills47k1 repos~595Automated safety check: PassMIT

Similar skills

  • Form Filling

    asgeirtj/system_prompts_leaks

    Fill out online forms (Google Forms, Typeform and similar) or PDF, Word and DocuSign forms; prepare a reviewable draft and get approval before submitting or sending.

    69k GitHub stars~400 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Form Validation

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Validate forms accessibly.

    74k GitHub stars~633 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Forms

    trycompai/comp

    A skill your agent uses when building forms - covers React Hook Form, Zod validation, and form patterns

    2k GitHub stars~1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Form Https

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing HTML forms, fetch/XHR calls, and form action attributes to ensure data is submitted exclusively over HTTPS.

    74k GitHub stars~552 tokensUpdated 4 days ago
    Auto-check passed
  • Permission Manager

    sickn33/agentic-awesome-skills

    Manage opencode permissions: review always-allow lists, suggest safe read-only commands, configure permission patterns

    47k GitHub starsUsed in 1 repo~595 tokens
    DevelopmentAuto-check passed
  • Form Captcha

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing public HTML forms (no authentication required to reach them) for bot and abuse protection mechanisms.

    74k GitHub stars~601 tokensUpdated 4 days ago
    Backend & APIsAuto-check passed

More from openyida/openyida

All 59 skills in this repo
  • Yida Canvas Custom Page

    openyida/openyida

    宜搭自定义页面开发规范,使用 YidaCodeCanvas 组件实现现代 React18 自定义页面。用于官网、看板、工作台、列表、详情、门户壳、可视化、hooks 交互、表单入口,以及需要门户组件、数据管理视图、成员、部门或上传组件的场景;发布层自动注入 yida/utils window 桥。

    221 GitHub stars~4.3k tokensUpdated yesterday
    Auto-check passed
  • Openyida Release

    openyida/openyida

    快速发布 OpenYida npm 正式版或测试版。用户说“发布正式版”“发布测试版”“发 beta”或要求按当天日期生成版本 tag 时使用;不用于宜搭应用或自定义页面发布。

    221 GitHub stars~520 tokensUpdated yesterday
    Auto-check passed
  • Yida Design Plan

    openyida/openyida

    Plan 模式的视觉设计分支。基于需求选择视觉方向,再结合业务页面规划维护 build-plan.json 的 visualStyle,供 CLI 派生 design.md。

    221 GitHub stars~756 tokensUpdated yesterday
    Auto-check passed
  • Prevent stale local OpenYida custom page source from overwriting live designer edits.

    221 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Codemap

    openyida/openyida

    Generate, update, or drift-check agent-facing CodeMaps as progressive code terrain indexes for projects, features, capabilities, functions, modules, or bug chains.

    221 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Sdd Riper One Light

    openyida/openyida

    面向 GPT-5.5 等强模型和熟练用户的轻量 AI Agent Harness / checkpoint-driven coding skill。默认用户已经把任务切到基本可执行的最小混沌单元;模型自行分解、探索与推进,人类通过最终目标、最小 spec、复述、checkpoint、证据验证与回写来低干扰控盘。

    221 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Questions about Yida Form Permission

What does Yida Form Permission do?

宜搭表单权限组管理。查询、新增权限组,配置成员权限、数据权限、操作权限和字段权限。适用于控制表单数据的访问范围和操作权限。. Yida Form Permission is an agent skill from openyida/openyida.

How do I install Yida Form Permission in Claude Code?

Run `npx skills add openyida/openyida --skill yida-form-permission -a claude-code`. Or copy the skill folder (yida-skills/skills/yida-form-permission in openyida/openyida) into .claude/skills/yida-form-permission in your project. Claude Code loads it when a task matches its description.

How do I install Yida Form Permission in Codex?

Run `npx skills add openyida/openyida --skill yida-form-permission -a codex`. Or copy the skill folder (yida-skills/skills/yida-form-permission in openyida/openyida) into .agents/skills/yida-form-permission in your project. Codex loads it when a task matches its description.

Can I use Yida Form Permission in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openyida/openyida --skill yida-form-permission -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yida-form-permission, .gemini/skills/yida-form-permission, .github/skills/yida-form-permission and .opencode/skills/yida-form-permission in your project.

What does Yida Form Permission need to run?

SKILL.md names no scripts, command-line tools or credentials: Yida Form Permission is instructions for the agent only.

Does Yida Form Permission access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Yida Form Permission safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Yida Form Permission use?

Yida Form Permission is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Yida Form Permission use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Yida Form Permission?

Skills that share tags, products or a category with Yida Form Permission: Form Filling (asgeirtj/system_prompts_leaks, 69k stars), Form Validation (thedaviddias/Front-End-Checklist, 74k stars), Forms (trycompai/comp, 2k stars) and Form Https (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Yida Form Permission?

openyida (a GitHub organization) maintains it in openyida/openyida, which has 221 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on October 10, 2026.

Source: openyida/openyida on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.