Skip to content

docs(browserbase-cli): document --yes, --stdin, and agent-friendly patterns#57

Open
shrey150 wants to merge 1 commit intomainfrom
agent-friendly-cli-docs
Open

docs(browserbase-cli): document --yes, --stdin, and agent-friendly patterns#57
shrey150 wants to merge 1 commit intomainfrom
agent-friendly-cli-docs

Conversation

@shrey150
Copy link
Contributor

@shrey150 shrey150 commented Mar 26, 2026

Summary

  • Add "Agent-friendly flags" section to SKILL.md documenting --yes/-y and --stdin usage for non-interactive environments
  • Document --stdin on sessions create/update and contexts create in REFERENCE.md
  • Document --yes on bb browse and bb skills for auto-accepting install prompts
  • Add troubleshooting entry for interactive prompt hanging
  • Update best practices for agent usage patterns

Sister PR to browserbase/cli#31.

Test plan

  • Review docs render correctly
  • Verify examples match CLI behavior after cli#31 merges

🤖 Generated with Claude Code


Note

Low Risk
Low risk documentation-only changes; main risk is minor confusion if examples drift from actual CLI behavior.

Overview
Updates Browserbase CLI docs to better support non-interactive/agent usage by documenting --yes to auto-accept install prompts (for bb browse/bb skills) and --stdin as an alternative to --body for piping JSON into bb sessions create and bb contexts create (including the mutual-exclusion note).

Adds an Agent-friendly flags section and expands troubleshooting/best-practices guidance with examples for piped JSON input and avoiding hangs from interactive prompts.

Written by Cursor Bugbot for commit c7251d8. This will update automatically on new commits. Configure here.

…tterns

- Add "Agent-friendly flags" section to SKILL.md with --yes and --stdin usage
- Document --stdin on sessions create/update and contexts create in REFERENCE.md
- Document --yes on bb browse and bb skills for non-interactive installs
- Add troubleshooting entry for interactive prompt hanging
- Update best practices for agent usage patterns

Sister PR to browserbase/cli#31

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant