access-matrix
它能做什么
这个工具可以帮你定义系统或业务中谁可以查看或修改哪些内容,并为每个角色生成一份清晰的权限列表。
适用场景
- ✓当你需要了解谁有权访问哪些信息时。
- ✓当你需要为不同岗位整理访问权限时。
- ✓当你要制作用于访问控制的表格或文档时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/access-matrix/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“为我的公司创建一个访问矩阵,显示每个模块分别谁可以查看和编辑。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会先询问现有的角色、每个角色可以做什么,以及目前是如何管理访问权限的。根据你的回答,它会建议合适的整理方式,还可以生成 CSV 或 SQL 等格式的文件来保存这些信息。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Access Matrix
What it is: What each role can see and change.
Overview
Works out the smallest useful Access Matrix setup for the business in front of it, then builds it only when asked. The default output is a short recommendation, not a spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on request, from one field list so they cannot drift apart.
Layer: Layer 1: Foundation. Fits: Growth stage. Table code: n/a.
When to Use This Skill
- who can access what matrix
- role permission matrix
- access control spreadsheet
- who sees which data
Also use it when the user says "what each role can see and change", or describes the same process happening in a spreadsheet, a document or someone inboxes.
Do not use it for: payroll calculation, tax filing, or legal advice. This skill produces empty templates by default. A requested review may use supplied data transiently; do not imply that the host never processes it.
How It Works
Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.
The upstream shared contract is not bundled here; this procedure must remain usable on its own.
Step 1 - Identify intent
Read the request and pick the intent before asking anything.
- "set up" or "build" or "create" -> the user wants artifacts; go to Step 2.
- "our process is ..." or "it is in a sheet" -> the user wants to move an existing process; capture it, then Step 2.
- "is this right" or "review" or "audit" -> the user wants a check, not a build; answer from what they share.
- "how do I ..." -> advice question; answer directly and offer the build only if it helps.
Ask only if this is the highest-value missing fact; otherwise proceed without an opener:
Q: How many roles exist in the company?
Step 2 - Ask only what is missing
Skip anything the user already answered, in any earlier message. Ask the rest one at a time, and stop as soon as the remaining answers would not change the output.
- Scope - Which system or data? / How many roles? / Any external people?
- Roles - Who is owner or CEO? / Who is admin? / Who is line manager?
- Rules - View only or edit? / Any confidential areas? / Reviewed how often?
- Current process - How do you track access now? / Spreadsheet or none? / Any known gaps?
- Outcome - What should this produce? / An access list or a review cycle?
Never invent an answer. If the user does not know, record it as unknown and carry on.
Step 3 - Hold the internal context
Hold the answers in this shape. It stays internal - it is not shown to the user unless they ask, and it never carries a value the user did not give.
module: access-matrix
intent: null # setup | advice | review | fix | build | convert | export
scale: null # Starter | Growth | Scale, only if the answer changes it
areas:
"Scope": null
"Roles": null
"Rules": null
"Current process": null
"Outcome": null
requested_outputs: [] # csv | sql | json | notion | xlsx - requested formats only
confirmed_facts: [] # only what the user actually said
open_questions: [] # the unanswered ones, in the order worth asking
Step 4 - Recommend the smallest workflow
If an artifact was requested, build it after resolving essential missing facts. Otherwise give a short recommendation and offer the relevant artifact.
Recommended approach: Keep the matrix in the tool the team already reviews in, and treat it as a recurring review rather than a one-time document.
Why this one: Access problems are rarely about storage. They are about nobody re-checking who still needs what, so a review cycle matters more than the matrix itself.
Workflow: Role list → System inventory → Access rows → Quarterly review → Removal
Step 5 - Build only on request
Once the user asks for it, derive the fields from the confirmed context and emit the requested artifacts. For machine-readable text, keep prose outside the data; for files, provide a usable link. Report material validation failures or limitations separately.
A selected Notion output is rendered by notion-manual-import, so route the
Notion step there. When the user selects Notion, hand that step to
@notion-manual-import: it holds the CSV, the property
mapping, the import steps and the verification checklist, and it renders the Field
…
常见问题
什么是访问矩阵?
它是一张表格,列出了哪些角色(岗位)有权访问或修改系统或信息的哪些部分。
这个工具支持哪些输出格式?
它可以生成 CSV、SQL、JSON Schema 或 Notion 映射等格式的矩阵。
这个工具会自动创建矩阵吗?
它会先了解你的需求,然后根据你的要求创建矩阵,或者建议更好的管理方式。
详情
作者的原始描述
Access matrix of role-by-module permissions, with per-role scope, confidentiality level and SME tier, as CSV, SQL, JSON Schema or Notion on request. Use for access reviews.
热度
- GitHub 星标
- 48k
- 排名
- #3631
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。