port-permissions

port-permissions is a skill for Claude Code from port-labs/port-skills. It costs 195 tokens per session (1,501 once invoked), scanned A, original, MIT.

Instructions for configuring role-based access control in Port, a platform for managing software resources and internal developer tools. It covers who can read, create, change, or remove data entities, properties, relations, pages, and dashboards.

In plain words
What is it for?
Use it to restrict access by role, user, or team; control ownership-based editing; and review or test permissions for Port blueprints, entities, pages, and dashboards.
Why use it?
It helps prevent the wrong people from viewing or editing Port data. It also clarifies the difference between permissions on stored entities and permissions on pages or dashboards.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the port-skills plugin — 10 skills, 1 command, 2 MCP servers shipped together

Good fit Use it to restrict access by role, user, or team; control ownership-based editing; and review or test permissions for Port blueprints, entities, pages, and dashboards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/port-labs/port-skills/port-permissions
Install

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.

Any agent
npx skills add port-labs/port-skills --skill port-permissions
Clone the repo
git clone --depth 1 https://github.com/port-labs/port-skills

Made for: Claude Code.

Or install port-skills, the plugin that ships this one along with the rest of its 10 skills, 1 command, 2 MCP servers.

Wrote 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.

agentmods badge for port-permissions

README.md
[![agentmods](https://agentmods.dev/badge/skills/port-labs/port-skills/port-permissions/github.svg)](https://agentmods.dev/skills/port-labs/port-skills/port-permissions)
Your own site
<a href="https://agentmods.dev/skills/port-labs/port-skills/port-permissions"><img src="https://agentmods.dev/badge/skills/port-labs/port-skills/port-permissions/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.

agentmods 80×15 button for port-permissions

Your own site · 80×15
<a href="https://agentmods.dev/skills/port-labs/port-skills/port-permissions"><img src="https://agentmods.dev/badge/skills/port-labs/port-skills/port-permissions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 195 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,501 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00195 $0.01501
Opus 5 $0.00097 $0.00750
Sonnet 5 $0.00039 $0.00300
Haiku 4.5 $0.00019 $0.00150

Measured 12d ago against content hash e7008dea3e24, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

port-permissions 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 12d 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.

skills/port-permissions/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Port permissions

Port's RBAC shows up in two independent places that reuse the same roles/users/teams shape: context lake entities (a blueprint's read, register, update, unregister) and pages/dashboards (read, update). This skill covers both, plus the roles and ownership model that backs them.

Permissions on a workflow's own SELF_SERVE_TRIGGER node are a separate, simpler mechanism owned by the port-workflows skill, see its permissions reference instead of this one.

Prerequisites

  • Go over the port-getting-started skill first if this is your first time working with Port.
  • The blueprint or page whose permissions you're changing already exists.
  • If Port's MCP server is connected, use list_blueprints to read current blueprint definitions before editing, and simulate_blueprint_permissions to test a context lake permission change before applying it. There is no MCP tool that writes permissions directly, every step below applies changes through the raw API, UI, or Terraform. Search search_port_knowledge_sources for anything this skill doesn't cover.

How to configure it

  1. Know the two building blocks every permission type reuses: Port's three roles (Admin, blueprint Moderator, Member) and the $team ownership meta-property that backs every ownedByTeam flag. See references/roles-and-ownership.md.
  2. Set context lake (blueprint/entity) permissions: who can read, register, update, or unregister entities of a blueprint, down to a single property or relation, a dynamic read policy, and the built-in permission simulator. See references/context-lake-permissions.md.
  3. Set page and dashboard permissions: who can view or edit a catalog or dashboard page. See references/page-permissions.md.
  4. Setting permissions on a workflow trigger instead? That's a different, simpler shape scoped to one SELF_SERVE_TRIGGER node, not this skill, use the port-workflows skill's permissions reference.

Read the full file on GitHub · 93 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 12d ago First seen · 93 lines · 195 tokens per session scan A e7008dea3e24

Subscribe to this mod's changes

port-permissions is a skill published in the GitHub repository port-labs/port-skills (3 stars, last pushed 10d ago), licensed MIT. It adds 195 tokens to every session and 1,501 once invoked, about $0.0010 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-31.

Related

Other skills, from other repositories

canvas-course-builder

Scaffold complete Canvas LMS course structures from specs, templates, or existing courses. Creates modules, pages, assignments, and discussions in bulk. Use when asked to "build a course", "scaffold modules", "create course structure", "set up a new course", or "copy course structure".

vishalsachdev/canvas-mcp · 64 tokens

github

When the user wants to use GitHub for SEO, parasite SEO, GEO, open source marketing, README optimization, or curated Awesome lists. Also use when the user mentions "GitHub," "GitHub SEO," "GitHub parasite SEO," "GitHub GEO," "awesome list," "GitHub README," "profile README," "pinned repositories," "Trending,"…

kostja94/marketing-skills · 165 tokens

grokipedia-recommendations

When the user wants to add recommendations, links, or content to Grokipedia. Also use when the user mentions "Grokipedia," "GEO wiki," "AI encyclopedia," "suggest Grokipedia article," "Grokipedia citation," "Grokipedia listing," "AI search citation," "GEO visibility," or "Grokipedia optimization." For multi-platform…

kostja94/marketing-skills · 110 tokens

schema-markup

When the user wants to add or optimize structured data (Schema.org, JSON-LD). Also use when the user mentions "schema," "structured data," "JSON-LD," "rich results," "rich snippets," "Google rich snippets," "featured snippet schema," "add schema to page," "missing structured data," "schema validation error," "Schema…

kostja94/marketing-skills · 181 tokens

google-search-console

When the user wants to analyze Google Search Console data, use the GSC API, or interpret search performance. Also use when the user mentions "GSC," "Search Console," "indexing report," "Core Web Vitals," "Enhancements," "Insights report," "search performance," "search queries," "search performance report," "URL…

kostja94/marketing-skills · 137 tokens

image-optimization

When the user wants to optimize images for search engines and performance. Also use when the user mentions "image SEO," "alt text," "image captions," "figcaption," "image optimization," "WebP," "lazy loading," "LCP," "image sitemap," "responsive images," "srcset," "image format," or "hero image optimization." For CWV…

kostja94/marketing-skills · 87 tokens