comfy-agent-permissions
Skill by Comfy-Org
Explains how the local comfy agent handles blocked folder and host permissions. It covers default reach, how requests are recorded and approved by the user, start-time settings, and what can never be granted.
Install comfy-agent-permissions
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Comfy-Org/comfy-cli /tmp/comfy-cli && mkdir -p ~/.claude/skills && cp -r /tmp/comfy-cli/comfy_cli/skills/comfy-agent-permissions ~/.claude/skills/comfy-agent-permissionsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install comfy-agent-permissions in Claude Code
git clone --depth 1 https://github.com/Comfy-Org/comfy-cli /tmp/comfy-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/comfy-cli/comfy_cli/skills/comfy-agent-permissions ~/.gemini/antigravity-cli/skills/comfy-agent-permissionsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install comfy-agent-permissions in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill tells an AI assistant what to do when the local comfy agent is blocked by a permission, such as a folder it cannot read or write, a host a download was refused for, or a missing shell. By default the agent can use the project folder, write node packs to the ComfyUI custom_nodes folder, read most places the sandbox allows, and reach an egress allow list of hosts. Blocked requests are recorded with request_path or request_host, but nothing is granted until the user approves the exact target in the agent panel or the in-chat card.
The skill also lists the start-time settings a user can change before restarting the agent, and the targets that can never be granted, such as credential stores, the whole disk, and telemetry endpoints. It gives Windows-specific shell rules and CLI guidance for users who run the agent with a custom data directory. It is meant for assistants and users working with the local comfy agent.
Written from the project's SKILL.md and checked against it.
What it can do
- Default reachLists what the agent may access without asking, including the project folder and the custom_nodes folder.
- Folder requestsRecords a blocked folder with request_path so the user can approve it in the agent panel or chat card.
- Host requestsRecords a refused host with request_host, with the reason the download or install needs it.
- Approval rulesExplains that only the user approves requests and a yes typed in chat is not an approval.
- Start-time settingsDescribes environment variables for ComfyUI path, extra sandbox folders, extra hosts, and unconfined shells.
- Protected targetsLists credential stores, telemetry hosts, and shared storage that can never be granted.
- Windows shell guidanceCovers cmd.exe sandbox limits and how to run the comfy CLI and read refused folder listings.
What you need
- A local ComfyUI install
- The comfy CLI and a running comfy agent
- Windows or another supported OS with the agent sandbox
Try asking
- Why was my download from a model host refused by the agent?
- Request access to my Pictures folder so the agent can read reference photos.
- Explain which folders the comfy agent can write to by default.
Good to know
- Assistants cannot grant permissions; only the user can approve requests.
- Telemetry hosts and shared object storage are never approved.
- Approvals from a terminal take effect only when the agent restarts.
- On Windows the shell cannot run dir, where, or PowerShell inside the sandbox.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: comfy_cli/skills/comfy-agent-permissions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to comfy-agent-permissions
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
comfy-agent-permissions: common questions
Can the assistant approve a blocked folder or host itself?
No. request_path and request_host only record a pending request. The user must approve the exact target in the agent panel or the in-chat card.
What can the comfy agent never be allowed to access?
Credential and browser stores such as ~/.ssh and ~/.aws, the whole disk, the agent data dir, and .env files. Telemetry and shared object storage hosts are also never approved.
Why does a command fail with Access is denied on Windows?
The folder is outside the sandbox or the path is wrong. The skill says to request the folder or run the CLI as comfy, not to report the folder as missing.
How do I install comfy-agent-permissions?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is comfy-agent-permissions free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is comfy-agent-permissions safe to use?
It scores 74 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to comfy-agent-permissions?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
