/skills:cedar-engineeringfrom skills
Use when writing, validating or debugging Cedar authorization policies — .cedar and .cedarschema files, permit/forbid, entities and hierarchies, RBAC/ABAC/ReBAC, templates, multi-tenant access, partial evaluation, Amazon Verified Permissions, migrating to or from Cedar.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Treat Cedar as a permission decision language with an explicit application contract. Separate the policy decision, input authenticity, and enforcement of the operation. Use this skill independently of a framework, cloud provider, or other skill.
Use Cedar language 4.7 / Rust SDK 4.15.0 as the researched baseline. Keep language version, SDK version, binding version, and managed-service feature support separate. Older examples intentionally use a small stable subset. Read sources and versioning before assuming that a new feature is available in a selected runtime.
| Task | Read |
|---|---|
| Predict the result of permit, forbid, errors, or type operations | Language and semantics |
| Design a schema or diagnose validator failures | Schema and validation |
| Construct trusted requests and entity graphs | Entities and context |
| Model roles, attributes, relationships, and tenant boundaries | Modeling patterns |
| Reuse policy templates or compose schema fragments | Templates and schema linking |
| Embed the authorizer or build a decision service | Runtime integration |
| Test policies and interpret determining policies or errors | Testing and diagnostics |
| Improve latency, slice entities, or partially evaluate | Performance and partial evaluation |
| Deploy through the AWS managed service | Amazon Verified Permissions |
| Convert an existing authorization system | Migration and interoperability |
| Run the original example and helper | Worked examples |
| Check upstream evidence, versions, and guarantees | Sources and versioning |
Read only the references needed for the task. Load example policies as synthetic fixtures, not as a ready-made authorization design for the user's application.
Inspect existing policies, schemas, caller code, entity loaders, and enforcement points before proposing changes. Identify:
Use labeled assumptions for an illustrative task. Ask only when missing application meaning changes who can perform which action. Do not invent authentication claims, role memberships, trusted network locations, or entity ancestry.
viewDocument
or approveInvoice; map API endpoints to these actions explicitly. Split compound
operations when one permission would conceal multiple protected effects.owner relationship distinct from membership in a container.when. Add forbid rules for
explicit denials that must defeat every matching permit.has and suitable type/scope guards. Treat unknown entities and malformed context
as integration problems rather than silently manufacturing permissive defaults.== identity distinct from in membership. Membership is reflexive and
transitive over the supplied hierarchy; it is not a general graph query.type and id.
Use the documented JSON entity escape or schema-aware parsing.null value; model absence explicitly.context has mfa && context.mfa can safely express
an optional Boolean; unguarded access can produce an evaluation error.?principal and ?resource
in supported scope positions, not arbitrary string-substitution parameters.tpe and partial-eval remain outside
ordinary stability guarantees; a residual is not a final Allow.Run from the skill directory or substitute absolute paths:
python3 scripts/audit_entities.py assets/examples/entities.json --require-parents
cedar validate --policies assets/examples/policies.cedar --schema assets/examples/schema.cedarschema
Read the worked-example reference for the exact authorization commands and case runner. The Python helper audits an explicit entity JSON graph; it does not evaluate Cedar, prove policy safety, or replace the official schema validator.
Describe Cedar's verification-guided development precisely: properties of formal models and extensive differential testing support the implementation. They do not prove that the user's policy represents their business intent, that caller-supplied facts are true, or that all enforcement paths invoke Cedar.
When migrating, compare outcomes and diagnostics over a meaningful corpus. Never translate a four-valued XACML decision, Rego undefined result, or a DMN business classification into Allow without an explicit mapping.
For repair, explain the concrete counterexample and changed permission boundary. For production integration, report policy/data revisions and revocation behavior. For a demonstration, label observed runtime checks separately from reasoning.
agents/openai.yaml (opens in a new tab)assets/examples/cases.json (opens in a new tab)assets/examples/entities.json (opens in a new tab)assets/examples/policies.cedar (opens in a new tab)assets/examples/schema.cedarschema (opens in a new tab)assets/examples/unsafe-forbid.cedar (opens in a new tab)assets/icon.svg (opens in a new tab)references/entities-and-context.md (opens in a new tab)references/language-and-semantics.md (opens in a new tab)references/migration-and-interoperability.md (opens in a new tab)references/modeling-patterns.md (opens in a new tab)references/performance-and-partial-evaluation.md (opens in a new tab)references/runtime-integration.md (opens in a new tab)references/schema-and-validation.md (opens in a new tab)references/sources-and-versioning.md (opens in a new tab)references/templates-and-schema-linking.md (opens in a new tab)references/testing-and-diagnostics.md (opens in a new tab)references/verified-permissions.md (opens in a new tab)references/worked-examples.md (opens in a new tab)scripts/audit_entities.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
129 skills in this plugin
/ai-playable-gamesUse when building a game or simulation that bots or LLM agents must play — observation and order interface, agent API or MCP server, AI seats beside humans, fog of war, replays; or when an AI player cheats, stalls, misreads the state or follows text other players wrote./ai-web-scrapingUse when scraping, crawling or extracting structured data from websites, especially with an LLM — Crawl4AI, Firecrawl, Scrapy, Crawlee, Playwright, browser-use; building a dataset or RAG corpus, watching pages for changes, or a scraper that returns empty, duplicated or invented records./cel-engineeringUse when writing, embedding or debugging Common Expression Language (CEL) — type environments, macros, missing fields, errors and unknowns, cost limits, Kubernetes x-kubernetes-validations and ValidatingAdmissionPolicy, Envoy, Google Cloud IAM Conditions.Generated from the plugin's indexed repository (getty/skills) — no native marketplace selected
npx claudepluginhub p/getty-skillsOther plugins' skills for the same job