From Turbofy MCP
Use when Claude Code keeps asking permission to read or edit Turbofy files. One-time setup: adds ~/.turbofy to allowed paths in ~/.claude/settings.json. Triggers: '/turbofy-setup', 'stop permission prompts', 'configure Turbofy permissions'. Claude Code only.
How this skill is triggered — by the user, by Claude, or both
Slash command
/turbofy:turbofy-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Your goal is to stop Claude Code from prompting the user for permission every
Your goal is to stop Claude Code from prompting the user for permission every
time it reads or edits files under ~/.turbofy/ (where the Turbofy MCP keeps
your pulled workspaces and apps). You do this by adding a small block to the
user's user-level settings file at ~/.claude/settings.json.
This is a Claude Code action — it edits ~/.claude/settings.json. If the
user is running a different assistant (Cursor, Codex, OpenCode), tell them this
setup doesn't apply and stop.
If you reached this skill on your own (the user didn't explicitly run it), briefly confirm with the user before editing their settings file.
This skill is idempotent — running it again must not create duplicates.
Follow these steps exactly:
Run:
echo "HOME=$HOME"; ls -la "$HOME/.claude/settings.json" 2>/dev/null || echo "NO_SETTINGS_FILE"
The two paths you care about are:
$HOME/.claude/settings.json$HOME/.turbofyMake sure the Turbofy directory exists so the path is valid (harmless if it already does):
mkdir -p "$HOME/.turbofy"
~/.claude/settings.json exists, Read it and parse it as JSON.{}.~/.claude/settings.json has a syntax error they need to
fix first, show them the parse error, and end the skill.You must end up with these entries present under permissions. Preserve every
existing key and value — only add what is missing, and never add an entry that
is already there (compare as exact strings):
permissions.additionalDirectories must contain "~/.turbofy".permissions.allow must contain all three of:
"Read(~/.turbofy/**)""Edit(~/.turbofy/**)""Write(~/.turbofy/**)"If permissions, additionalDirectories, or allow don't exist yet, create
them as needed. The result should look like this once merged (other existing
keys stay untouched):
{
"permissions": {
"additionalDirectories": ["~/.turbofy"],
"allow": [
"Read(~/.turbofy/**)",
"Edit(~/.turbofy/**)",
"Write(~/.turbofy/**)"
]
}
}
Write the merged JSON back to ~/.claude/settings.json with 2-space
indentation. If nothing was missing (everything already present), do not
rewrite the file — just report that setup was already complete.
Tell the user, briefly:
/reload-plugins) or restart the app for
the change to take effect.Keep the final summary short and friendly — this is a one-time setup step.
npx claudepluginhub graphapi-io/turbofy-ai-plugin --plugin turbofyCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.