troubleshooting
Skill77 starsChanged 9 months agoMITView on GitHub
Diagnose and resolve errors with Ciana's host bridges, CLI tools, Claude Code mode, macOS permissions, and gateway connectivity.
- Reads credentials
- Installs packages
9 other projects use a version of this.
Adopted by
Most recently taken up by
- NVIDIA/elementstheir own version, first seen Sep 3, 2026
- acquia/acquia-skillstheir own version, first seen Aug 31, 2026
- ChromeDevTools/chrome-devtools-mcptheir own version, first seen May 26, 2026
- acquia/acquia-skills-privatetheir own version, first seen May 1, 2026
- MorningStar0709/trae-agent-enhancementstheir own version, first seen Apr 28, 2026
- vigneshbarani24/sap-superpowerstheir own version, first seen Apr 22, 2026
Used with
Projects with it also use brainstorming.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillbrainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- ChromeDevTools/chrome-devtools-mcp★ 53ksame name
- davidYichengWei/agentic-engineering-framework★ 158same name
- NVIDIA/elements★ 93same name
- MorningStar0709/trae-agent-enhancements★ 18same name
- acquia/acquia-skills★ 10same name
- vigneshbarani24/sap-superpowers★ 9same name
- acquia/acquia-skills-private★ 1same name
- diego-tobalina/vibe-coding★ 1same name
- agentes100x/agentes-100x★ 0same 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 repository26 other files it gives its agents.
- 1passwordSkill
- apple-remindersSkill
- bear-notesSkill
- blogwatcherSkill
- blucliSkill
- camsnapSkill
- elevenlabs-ttsSkill
- gemini-image-genSkill
- gifgrepSkill
- githubSkill
- google-placesSkill
- imessageSkill
- nano-pdfSkill
- notionSkill
- obsidianSkill
- openai-image-genSkill
- openhueSkill
- peekabooSkill
- skill-creationSkill
- sonosSkill
- spotifySkill
- thingsSkill
- trelloSkill
- video-framesSkill
- weatherSkill
- whatsappSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Tell the user: Run make gateway on the host (outside Docker) to start it.
- Very specific: line 29
Tell the user: Verify that GATEWAY_TOKEN in .env matches on both sides, then restart both gateway and container.
- Very specific: line 41
Tell the user: Add the command to the bridge's allowed_commands in config.yaml and restart the gateway.
- Distinctive: line 87
If a CLI tries to access Chrome cookies or saved credentials, macOS shows a Keychain dialog.
- Very specific: line 119
Tell the user: Check that both tokens match in .env, restart both.
- Very specific: line 125
Tell the user: Run make gateway on the host.
- Very specific: line 131
Tell the user: Use Claude Code from the terminal first to create at least one project, or check that projects_dir in config.yaml points to …
- Distinctive: line 137
If it seems stuck, the user can exit CC mode and re-enter.
- Distinctive: line 149
Rule: Always do initial auth/setup directly on the host terminal, not through Ciana.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Troubleshooting
Reference guide for diagnosing errors. Read this when a command fails, a bridge is unreachable, or a user reports something isn't working.
When to Use
- A
host_executecall returns an error - Claude Code mode fails
- User says something "doesn't work" or asks how to set up a feature
- You get connection, auth, or permission errors
Gateway Errors
"Cannot connect to host gateway. Is the gateway server running?"
The gateway process is not running on the host machine.
Tell the user: Run make gateway on the host (outside Docker) to start it.
"Gateway auth failed. Check GATEWAY_TOKEN."
The token in the Docker container doesn't match the one on the host.
Tell the user: Verify that GATEWAY_TOKEN in .env matches on both sides, then restart both gateway and container.
"unknown bridge 'X'. Available: ..."
The bridge name doesn't exist in config.yaml under gateway.bridges.
Check: Are you using the correct bridge name? Compare with the available list in the error.
"command 'X' not allowed for bridge 'Y'"
The CLI command is not in the bridge's allowed_commands list. This is a security feature.
Tell the user: Add the command to the bridge's allowed_commands in config.yaml and restart the gateway.
CLI Not Found
"Command 'X' not found on host. Install it first."
The CLI binary is not installed on the host. Exit code 127.
Installation commands (Homebrew):
| CLI | Install command |
remindctl | brew install steipete/tap/remindctl |
imsg | brew install steipete/tap/imsg |
spogo | brew install steipete/tap/spogo |
wacli | brew install steipete/tap/wacli |
sonoscli | brew install steipete/tap/sonoscli |
bear | brew install steipete/tap/bear |
camsnap | brew install steipete/tap/camsnap |
peekaboo | brew install steipete/tap/peekaboo |
blucli | brew install steipete/tap/blucli |
obsidian-cli | brew install steipete/tap/obsidian-cli |
openhue | brew install openhue/cli/openhue |
things-cli | brew install thingsapi/things-cli/things-cli |
op | brew install 1password-cli |
CLI Authentication
Some CLIs require one-time interactive setup on the host before they can work through the gateway. The gateway cannot handle interactive prompts (QR codes, passwords, browser flows).
Tell the user to run these manually in their terminal:
| CLI | Setup command | Notes |
spogo | spogo auth import --browser chrome | Needs Spotify Premium. Keychain popup: click "Always Allow" |
wacli | wacli auth then wacli sync --follow | Scan QR code with WhatsApp on phone |
imsg | (automatic) | Grant Full Disk Access + Automation for Messages.app in System Settings |
op | op signin | Needs 1Password account |
openhue | openhue setup | Press Hue Bridge button when prompted |
macOS Permissions
Some CLIs need macOS privacy permissions. These are granted once in System Settings > Privacy & Security.
Keychain Access Popup
If a CLI tries to access Chrome cookies or saved credentials, macOS shows a Keychain dialog. This blocks the subprocess until the user responds.
Tell the user: Enter password and click "Always Allow" so it won't ask again.
Full Disk Access
Required by: imsg (reads Messages database)
Tell the user: System Settings > Privacy & Security > Full Disk Access > enable Terminal (or the app running the gateway).
Automation
Required by: imsg (controls Messages.app)
Tell the user: System Settings > Privacy & Security > Automation > allow Terminal to control Messages.
Reminders / Contacts / Calendar
CLIs that access these trigger a one-time permission prompt. Accept it when it appears.
Claude Code Mode
"Bridge returned HTTP 400"
The request to the gateway is missing required fields. Make sure the container is running the latest code.
Tell the user: Rebuild and restart: make build && make restart
"Bridge returned HTTP 401"
Auth token mismatch between the CC bridge config (CC_BRIDGE_TOKEN) and the gateway (GATEWAY_TOKEN).
Tell the user: Check that both tokens match in .env, restart both.
"Cannot connect to Claude Code bridge"
Same as gateway connection error. The CC bridge uses the gateway.
Tell the user: Run make gateway on the host.
Project list is empty
Claude Code stores projects in ~/.claude/projects/. If this directory doesn't exist or is empty, there are no projects to show.
Tell the user: Use Claude Code from the terminal first to create at least one project, or check that projects_dir in config.yaml points to the right path.
Session hangs or times out
Claude Code can take a long time for complex tasks. The default timeout is 0 (unlimited).
If it seems stuck, the user can exit CC mode and re-enter. The session state is persisted and can be resumed.
Edge Cases
Interactive commands don't work through the gateway
Any command that requires user input (stdin) will fail or hang. This includes:
- QR code scans (
wacli auth) - Password prompts
- Browser-based OAuth flows
- Confirmation dialogs
Rule: Always do initial auth/setup directly on the host terminal, not through Ciana.
Large output gets truncated
host_execute truncates output at 15,000 characters. For commands that produce very long output, use --limit, --json, or pagination flags to reduce output size.
Gateway runs on the host, not in Docker
The gateway process must run on the macOS host because it needs access to native apps (Messages, Reminders, Spotify, etc.). Docker containers can't access these.
The container reaches the host via http://host.docker.internal:9842.
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.

