Skip to content
alyn
davidondrej

Github Outside Sandbox skill

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.

$npx skills add davidondrej/skills --skill github-outside-sandbox
View this skill on GitHubdavidondrej/skills/skills/github-outside-sandbox/SKILL.md
Pack stars
4,291
Pack installs
10k
Alyn Score
60/99
Updated
2 h ago
License
MIT
– views – installs via Alyn

davidondrej

Github Outside Sandbox

Install Github Outside Sandbox

Pick your agent. Every command is ready to paste.

$npx skills add davidondrej/skills --skill github-outside-sandbox

The 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.

The skill itself

SKILL.md

FolderGitHub

GitHub Outside Sandbox

  1. Start normally. Escalate only the blocked command and only within the user's authorization.
  2. If sandboxed gh auth status fails, rerun it outside the sandbox before claiming authentication is broken. Never expose or copy tokens.
  3. Run GitHub CLI network operations outside the sandbox when required: gh repo ..., gh pr ..., and related gh commands.
  4. Run Git writes outside the sandbox when .git is outside writable roots or errors mention index.lock or Operation not permitted: git add, git commit, and git push.
  5. Use the harness's official host-execution mechanism. In Codex, set sandbox_permissions: "require_escalated", give a concrete justification, and use only a narrow safe prefix_rule when appropriate.
  6. Never use shell wrappers, credential copying, or broad approval prefixes to bypass the sandbox.
  7. Verify from the host context with git status -sb, git remote -v, and the relevant gh ... view command. 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.

Similar skills. From other creators.