symbi-policy
Skill4 starsChanged 50 days agoApache-2.0View on GitHub
Draft and validate Cedar policies using the request schema of the selected execution route.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ThirdKeyAI/symbi-gemini-clitheir own version, first seen Mar 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ThirdKeyAI/symbi-gemini-cli★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- symbi-agent-sdkSkill
- symbi-auditSkill
- symbi-dslSkill
- symbi-initSkill
- symbi-pinSkill
- symbi-verifySkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 42
Do not use an empty {} event as evidence that a real request is permitted.
- Very specific: line 46
Start from the policies generated by the chosen runtime profile.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cedar policies
First determine whether the policy governs standalone plugin hooks or managed runtime tools. They use different action namespaces and contexts. Inspect the shipping request contract before using identity attributes or approvals.
Standalone plugin contract
The CLI receives tool_name and complete tool_input, and constructs:
- principal:
Symbi::Agent::"claude-code"(fixed by this CLI, including Cursor) - action:
Symbi::Action::"tool_call::<native tool name>" - resource:
Symbi::Resource::"default" - context:
{ "tool_input": <original arguments> }
For example, permit direct reads and content searches while leaving other calls denied by default:
permit(principal, action == Symbi::Action::"tool_call::Read", resource);
permit(principal, action == Symbi::Action::"tool_call::Grep", resource);Claude Code shell calls use Bash; Cursor shell calls use Shell. This fixed principal is not a verified user identity. Local exceptions do not bypass Cedar.
Validate with complete representative payloads, including denied controls:
printf '%s\n' '{"tool_name":"Read","tool_input":{"file_path":"README.md"}}' |
symbi policy evaluate --stdin --json --policies /absolute/policiesInspect the structured decision and reason. Exit zero alone does not establish
successful policy loading: the current runtime can return default allow when
built without Cedar or with no policies; the plugin rejects those results.
Do not use an empty {} event as evidence that a real request is permitted.
Managed runtime
Start from the policies generated by the chosen runtime profile. The managed CLI
example uses Action::"tool_call::claude_code" for admission and exact tool
names for brokered calls. File roots, approval and budget checks are additional
runtime controls; a Cedar permit does not replace them.
Draft changes for operator review outside active policy directories. Do not modify an active control file or use shell execution to circumvent a denied write. Evaluate both allowed and forbidden representative requests before applying changes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

