checking-member-access
できること
このスキルは、PostHogのアクセス制御の設定を読み取り、メンバーやロールができることを説明します。誰が何を編集できるかという質問に答える必要がある、プロジェクトの管理者向けです。
使う場面
- ✓メンバーがダッシュボードやフィーチャーフラグを編集できるか知りたいとき。
- ✓ダッシュボード、ノートブック、テーブルを開けない人がいて、理由を知りたいとき。
- ✓ロールがどのプロパティやテーブルで制限されているか確認したいとき。
スキルのリンク
https://github.com/PostHog/posthog/blob/master/products/access_control/skills/checking-member-access/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のアナリストのロールは、PostHogプロジェクトでフィーチャーフラグを編集できますか?できない場合は理由も教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
PostHogのアクセス制御ツールを使って、個人またはロールのアクセスレベルと、そのレベルがどこから来たかを読み取ります。結果をわかりやすく説明します。確認を得るまで、ルールは変更しません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Checking member access
Use this skill to answer "what can this person do here?" from the access control tools. The tools return the enforced level and where it comes from. This skill is for reading them correctly.
When to use this skill
- "What can this member do in this project?" / "Can this member edit feature flags?"
- "Who can edit dashboards?" / "Who has no access to experiments?"
- "Why can't this member open this dashboard?" / "Which tables is this role restricted from?"
- "Which properties are hidden from the support role?"
- "What does the
analystrole grant?" / "What is the default access in this project?"
Access rules can also be changed with MCP write tools. Read the current rule first, explain the change, then use the prepare/execute flow and call execute only after the user confirms.
Plan availability
- Free and pay-as-you-go plans have no access control, and the access control tools are not offered to them. If the tools are missing from the catalog, say that the plan does not include access control and suggest upgrading to the Boost plan. Link the plan comparison: https://posthog.com/platform-packages.
- Boost and Scale include the default levels and rules for single members on the project, on tools, on objects and on properties.
- Roles exist on every plan, but role rules are an Enterprise feature: they can be set and are enforced only there, and the three role access tools are offered only there. If the tools are missing, say that role-based access control needs the Enterprise plan, with the same link. On other plans a member's roles never change the enforced level.
- The tools do not say which plan the organization is on. A
source_subjectofroleanywhere in amembers-listresult proves that role rules are enforced. Without that, ask the user whether the organization is on Enterprise before walking roles in step 4 of the workflow.
How access resolves
- Scopes. The project itself, then each tool (
dashboard,insight,feature_flag,notebook,experiment,warehouse_objects, and so on), then single objects inside a tool, then person and event properties. The tool names are the keys ofresourcesin a members-list entry. - Project levels.
noneblocks access to the project and its resources.membercan view and edit the resources their other rules permit.admincan also edit project settings, manage the project's access rules, and delete the project. - Tool and object levels.
nonecannot view.viewercan view but not change.editorcan view and change.managercan also manage the access rules of the tool or object. Order:none<viewer<editor<manager. - Property levels.
nonehides the property.readshows it.read_writealso allows edits. Every property isread_writeunless a rule exists. - Bounds.
minimumandmaximumper tool, ondefaults-get, are the levels a rule can set. A tool withminimumviewercan never be set tonone. - Subjects. A rule belongs to one member, one role, or everyone in the project (the default).
- Organization admins and owners have full access to everything in every project. No rule applies to
them.
organization_levelis a number: 1 member, 8 admin, 15 owner. - Creators have full access to the objects they created, and only those. A member with
vieweron dashboards can still edit the dashboard they created, and cannot edit the others. - Two resolution modes. Organizations resolve rules either most-specific-first (member rule, then
role rules, then default, and object rule before tool rule) or legacy (the highest of the member's own
rule and role rules wins). The tools do not say which mode applies. The server already applied it. So
trust
effective_access_leveland never recompute it from the stored rules. If the user asks why, explain frominherited_access, not from your own precedence.
Available tools
| Tool | Returns |
|---|---|
posthog:access-control-members-list |
よくある質問
この機能には特定のPostHogプランが必要ですか?
アクセス制御のツールは、無料プランと従量課金プランでは提供されていません。ロールのルールはEnterpriseの機能です。
アクセスを変更できますか?
変更を準備して説明できます。適用は、確認を得てからだけ行います。
デフォルトのアクセスとは何ですか?
ルールで上書きされない限り、メンバーがプロジェクトで最初に得るアクセスレベルです。このスキルは、その設定方法を示せます。
詳細
作者による元の説明
Explains what a member or a role can do in a PostHog project, using the access control MCP tools. Use when the user asks what someone can see or edit, who can edit dashboards or feature flags, why a member can or cannot open a dashboard, notebook or table, what a role grants, which properties are hidden from someone, or how the project's default access is set. Covers what each level means, how the stored rule, the enforced level and the inherited access relate, what the null values mean, which tool answers which question, and when the answer needs the role tools too.
repo: PostHog/posthog
人気
- GitHubのスター
- 41k
- ランキング
- #6824
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
depot-ci
41kエージェントが、GitHub Actionsの代替であるDepot CIのワークフローを設定し実行できるよう支援します。既存のワークフローの移行や、実行ログの確認も含みます。
depot-container-builds
41kエージェントが、Depotのリモート・ビルダーでDockerイメージを作れるよう支援します。マルチプラットフォームのイメージ、レジストリへのプッシュ、ビルド失敗の修正を含みます。
depot-github-runners
41kエージェントが、GitHub Actionsのジョブを Depot が管理するランナーに移し、ランナーのサイズとラベルを選び、ランナー設定の問題を解決できるよう支援します。
editing-agents-md
41kエージェントが、AGENTS.mdとCLAUDE.mdのどちらにルールを書くべきかを判断し、ファイルを膨らませずに守られやすい形で書けるよう支援します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。