Install Github Outside Sandbox
Pick your agent. Every command is ready to paste.
npx skills add davidondrej/skills --skill github-outside-sandboxThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads github-outside-sandbox when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the github-outside-sandbox skill”. In Codex, type $github-outside-sandbox.
GitHub Outside Sandbox
- Start normally. Escalate only the blocked command and only within the user's authorization.
- If sandboxed
gh auth statusfails, rerun it outside the sandbox before claiming authentication is broken. Never expose or copy tokens. - Run GitHub CLI network operations outside the sandbox when required:
gh repo ...,gh pr ..., and relatedghcommands. - Run Git writes outside the sandbox when
.gitis outside writable roots or errors mentionindex.lockorOperation not permitted:git add,git commit, andgit push. - Use the harness's official host-execution mechanism. In Codex, set
sandbox_permissions: "require_escalated", give a concretejustification, and use only a narrow safeprefix_rulewhen appropriate. - Never use shell wrappers, credential copying, or broad approval prefixes to bypass the sandbox.
- Verify from the host context with
git status -sb,git remote -v, and the relevantgh ... viewcommand. Ask the user to authenticate only if the host-context check also fails.
Tips for Github Outside Sandbox
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Github Outside Sandbox
What does the Github Outside Sandbox skill do?
Run Git and GitHub CLI commands on the host when sandboxing blocks Keychain auth, network access, or .git writes. Use for gh auth, repo/PR operations, index.lock, or permission errors; covers execution context only.
How do I install Github Outside Sandbox?
Run "npx skills add davidondrej/skills --skill github-outside-sandbox" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Github Outside Sandbox work in Cursor and Codex?
Yes. Github Outside Sandbox uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Github Outside Sandbox free?
Github Outside Sandbox is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Github Outside Sandbox?
Github Outside Sandbox is published by davidondrej in the davidondrej/skills repository, together with 29 other skills.

