Skip to content

Conversation

@VAIBHAVSING
Copy link
Owner

Summary

Add DevContainer feature for Claude CLI - a command-line interface for Anthropic's Claude AI.

What this adds

  • Full-featured bash wrapper for Anthropic's Claude API
  • Support for all Claude 3 models (Opus, Sonnet, Haiku)
  • Shell completion for bash and zsh
  • Flexible input via command arguments or stdin
  • System prompt support for behavior customization
  • Comprehensive error handling and JSON parsing

Usage examples

# Basic usage
claude "What is a DevContainer?"

# Pipe input
git diff | claude "Review this code"

# Specify model and system prompt
claude --model claude-3-opus-20240229 \
       --system "You are a code reviewer" \
       "Review my changes"

Part of stacked PRs

This is PR #2 in a stack that implements DevContainer features for Dev8:

Stack order: This PR is based on feat/devcontainer-supervisor-feature

Testing

Test locally with:

{
  "features": {
    "./packages/devcontainer-features/src/claude-cli": {
      "installShellCompletion": true
    }
  }
}

Then set your API key and test:

export ANTHROPIC_API_KEY="your-key"
claude "Hello, Claude!"

Add DevContainer feature for installing Dev8 workspace supervisor.
The supervisor provides activity monitoring, automated backups,
and health reporting for workspaces.

- Install supervisor binary from source or GitHub releases
- Support configurable version and install path
- Include comprehensive README documentation
- Compatible with official Microsoft DevContainer images
Add DevContainer feature for Claude CLI - a command-line interface
for Anthropic's Claude AI.

- Full-featured bash wrapper for Anthropic API
- Support for all Claude 3 models (Opus, Sonnet, Haiku)
- Shell completion for bash and zsh
- Flexible input via arguments or stdin
- System prompt support for customization
- Comprehensive error handling and JSON parsing
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 14, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/devcontainer-claude-cli-feature

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Base automatically changed from feat/devcontainer-supervisor-feature to main November 16, 2025 18:50
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.

2 participants