Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add openyida/openyida --skill yida-form-permissiongit clone --depth 1 https://github.com/openyida/openyidaWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/openyida/openyida/yida-form-permission)<a href="https://agentmods.dev/skills/openyida/openyida/yida-form-permission"><img src="https://agentmods.dev/badge/skills/openyida/openyida/yida-form-permission/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/openyida/openyida/yida-form-permission"><img src="https://agentmods.dev/badge/skills/openyida/openyida/yida-form-permission.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.02114 |
| Opus 5 | $0.00023 | $0.01057 |
| Sonnet 5 | $0.00009 | $0.00423 |
| Haiku 4.5 | $0.00005 | $0.00211 |
Grade A, and why
yida-form-permission scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
表单权限配置
适用范围
用户要求查询或修改表单权限组、成员范围、数据范围、操作权限或字段权限时使用本技能。
当前 CLI 只查询和保存 FORM_PACKAGE_VIEW 权限组。平台模型还包含 FORM_PACKAGE_START,本技能不管理该类型。查询会按每页 20 条安全翻页;达到安全上限、分页重复或响应结构不完整时 fail-closed,不把不完整列表当作全量结果。
铁律
- 目标必须唯一:优先使用查询结果中的
packageUuid,通过--package-uuid精确更新;未提供 UUID 时才按DEFAULT、MANAGER或MATRIX匹配。匹配 0 个或多个、分页无法完整结束时停止。packageUuid只属于本次查询的formUuid;多表单配置必须逐表查询,禁止跨表单复用。 - 未知操作键必须保留:目标组的
operatePermit包含 CLI 白名单外键时,停止 action-permission 修改;修改其他维度时原样保留整个operatePermit。 - 成员替换必须展示损失:执行
--all-members或--matrix前展示完整 roleData before/after 和会移除的DEPARTMENT、ROLE、PARAM、MANAGER等条目。CLI 要求确认时,用户确认后追加--confirm-member-replace。 - 整块保存必须先确认:action-permission 会整块替换为 operations 中值为 true 的白名单键;执行前展示完整 before/after。
- 平台状态是真相源:本技能不使用 memory 保存权限状态;CLI 保存前完整查询、只写一次,保存后按 packageUuid 精确回读。目标维度不一致或非目标维度漂移时报
verify failed;无法恢复 create UUID、精确目标暂不可见或回读失败时报verify unknown,两者都不得宣称成功或直接重放写入。
标准流程
- 查询:运行
openyida get-permission <appType> <formUuid>,记录目标组名称、packageUuid 和四个权限维度。 - 差异预览:输出明确的
before与after;未修改的 roleData、dataPermit、operatePermit、fieldPermit 标记为“保持原值”。 - 确认:向用户确认唯一目标、成员损失、操作权限整块替换和数据范围变化。
- 写入:只传需要修改的维度,更新时追加
--package-uuid <packageUuid>,执行一次save-permission。 - 重查验证:CLI 会自动按 packageUuid 做 canonical readback,并返回
verification.status=verified才算成功;Agent 可再用精确查询复核。failed或unknown时停止且不重放。
新增权限组也先查询现有配置并展示新组的完整 after,再确认、写入和重查。
命令
查询全部查看权限组,或按 packageUuid 精确过滤:
openyida get-permission <appType> <formUuid>
openyida get-permission <appType> <formUuid> --package-uuid <packageUuid>
更新唯一权限组:
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 的成员替换 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 156 lines · 46 tokens per session scan A d92fee88f95d
yida-form-permission is a skill published in the GitHub repository openyida/openyida (210 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 2,114 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
regulatory-analysis
Analyzes documents and processes against FINRA, SEC, Federal Reserve, and CFPB regulatory frameworks. Identifies compliance gaps, classifies findings by severity, and recommends remediation. Use when performing compliance audits, regulatory reviews, gap analyses, or verifying policy adherence to financial regulations.
document-review
Reviews financial documents (prospectuses, ADVs, marketing materials) for FINRA 2210 compliance, required disclosures, and balanced presentation. Use when reviewing financial statements, audit documents, regulatory filings, or when the user mentions compliance checks, financial audits, or document verification.
iflytek-contract-intelligence-review
A contract-review workflow for scanned or digital agreements. It can recognize document text, examine clauses, detect risks, check compliance, and create translation summaries; its output is for review and is not formal legal advice.
brand-name-checker
Check product and brand names for conflicts across trademarks, domains, social handles, and package registries. Returns a risk level and Proceed/Modify/Abandon recommendation. Skip for name brainstorming, logo design, or trademark filings.
appstore-review-checker
Audit iOS/macOS apps against App Store Review Guidelines before submission, with evidence-backed verdicts and fixes. Don't use for Google Play, general code review, or rejection appeals.
azure-health-data-services
Expert knowledge for Azure Health Data Services development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using FHIR/DICOM APIs, bulk import/export, de-identification…