headyai/heady-context/heady-buddy-permission-ops
Claude Code and agent skill by headyai/heady-context
- community
Checking that the SKILL.md file is still in the repository.
Design and manage the Heady permission graph and delegation vault. Use when defining permission models, scoping AI companion access, building delegation chains, creating consent flows, or auditing what HeadyBuddy is allowed to do on behalf of the user.
Install
npx vskill@latest install headyai/heady-context/heady-buddy-permission-opsSKILL.md
The same SKILL.md was published earlier as headysystems/heady-testing/heady-buddy-permission-ops.
Heady Buddy Permission Ops
Use this skill when you need to design, configure, audit, or troubleshoot the permission and delegation system that governs what HeadyBuddy (and other Heady agents) can do on behalf of the user.
When to Use This Skill
- Designing the permission graph for a new Heady feature or service
- Defining delegation chains — user delegates to Buddy, Buddy delegates to sub-agents
- Building consent and approval flows for sensitive operations
- Auditing existing permissions to ensure least-privilege compliance
- Troubleshooting permission denials or unexpected access
- Creating permission templates for common use cases
Instructions
1. Map the Permission Graph
Define the nodes and edges of the permission graph:
Nodes (entities that hold or grant permissions):
- User (root authority)
- HeadyBuddy (primary AI companion)
- Sub-agents (task-specific workers spawned by Buddy)
- External services (APIs, tools, integrations)
Edges (permission grants):
2. Define Permission Scopes
Use a hierarchical scope system:
| Scope | Description | Risk Level | |
|---|---|---|---|
read-local | Read files in current workspace | Low | |
read-any | Read any accessible file | Medium | |
write-local | Write files in current workspace | Medium | |
execute-local | Run code in sandbox | Medium | |
execute-system | Run system commands | High | |
network-read | Make GET requests to external services | Medium | |
network-write | Make POST/PUT/DELETE requests externally | High | |
send-messages | Send messages on behalf of user | High | |
manage-permissions | Modify permission graph itself | Critical |
3. Build Delegation Chains
When Buddy needs to delegate work to sub-agents:
- Scope narrowing — sub-agents NEVER get more permissions than their parent
- Time bounding — delegated permissions expire when the task completes
- Audit trail — every delegation is logged with who, what, when, why
- Revocation — user can revoke any delegation at any time, cascading to sub-agents
4. Design Consent Flows
For high-risk operations, define approval workflows:
5. Create Permission Templates
Pre-built permission sets for common scenarios:
Coding Assistant Template:
Research Assistant Template:
Full Autonomy Template:
6. Audit and Compliance
Regularly verify:
- No permission escalation paths exist (sub-agent cannot gain parent permissions)
- All high-risk scopes have consent flows attached
- Expired delegations are cleaned up
- Permission usage matches declared justifications
- Audit logs are complete and tamper-evident
Output Format
When designing permissions, produce:
- Permission graph diagram (text-based, showing nodes and edges)
- Scope table with risk levels
- Delegation chain rules
- Consent flow definitions for high-risk operations
- Audit checklist
Tips
- Default deny — agents start with zero permissions and must be granted each scope explicitly
- Prefer narrow scopes —
read-localoverread-any,execute-localoverexecute-system - Time-bound everything — persistent permissions should be rare and reviewed regularly
- Make consent understandable — non-technical users must be able to understand what they are approving
- Log everything — the delegation vault should be a complete, auditable record of all permission events
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingheady-skills/heady-buddy-permission-ops/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/headyai/heady-context/heady-buddy-permission-ops)