docs(sandbox): document Claude Code auth, add sandbox skill reference#127
Conversation
|
@codex review |
|
Greptile SummaryThis PR documents Claude Code authentication inside Bunny sandboxes, fixes two pre-existing inaccuracies in the README (removes the non-existent "public HTTPS hostname" from
Confidence Score: 4/5Safe to merge after addressing the SKILL.md example that passes the Anthropic API key as a CLI argument, which writes it to shell history. The SKILL.md quick-start snippet uses skills/bunny-cli/SKILL.md — the quick-start example contradicts the security guidance in sandbox.md Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[bunny sandbox create] -->|--env-file .env| B[ANTHROPIC_API_KEY baked into container]
A -->|no key provided| C[Container starts without credentials]
B --> D[Claude Code ready immediately]
C --> E[ssh into sandbox]
E --> F[run claude interactively]
F --> G[Login writes to /workplace/.claude\nvia CLAUDE_CONFIG_DIR]
D --> H[Credentials survive restarts and redeploys]
G --> H
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[bunny sandbox create] -->|--env-file .env| B[ANTHROPIC_API_KEY baked into container]
A -->|no key provided| C[Container starts without credentials]
B --> D[Claude Code ready immediately]
C --> E[ssh into sandbox]
E --> F[run claude interactively]
F --> G[Login writes to /workplace/.claude\nvia CLAUDE_CONFIG_DIR]
D --> H[Credentials survive restarts and redeploys]
G --> H
Reviews (2): Last reviewed commit: "docs(sandbox): note default config path ..." | Re-trigger Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 18fd57ace7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
No description provided.