Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Support Claude Code non-interactive mode as a provider #178

@DanielFerreiraJorge

Description

@DanielFerreiraJorge

Like opencode, claude code has a non-interactive mode with the "-p" flag. For people that has a Claude MAX subscription, the usage of the opus and sonnet through claude code is virtually limitless (not really, but it is very hard to reach the limit when on the 20x). The MAX subscription does not consume any API credits when using claude code. It would be a nice feature to use "claude -p" as a provider instead of having to configure a anthropic api key, this way people, like me that uses claude code and opus, and want to switch to opencode, can do it without spending extra API credits.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions