Skip to content

Forward unknown arguments to claude (e.g. --dangerously-skip-permissions, -p, -c) #25

Description

@ydemir

Summary

The deepclaude wrapper currently rejects any flag that isn't part of its own CLI surface. As a result, native Claude Code flags — including --dangerously-skip-permissions, --permission-mode, -p, -c, -r, --model, --add-dir — can't be passed through.

The README describes the project as "swaps the brain while keeping the body," but right now the body's flags don't reach claude.

Reproduction

PowerShell on Windows 11, latest main:

PS> deepclaude --dangerously-skip-permissions
ERROR: Unknown backend '--dangerously-skip-permissions'. Use: ds, or, fw, anthropic

Same for any other Claude Code flag:

PS> deepclaude -p "explain this repo"
ERROR: Unknown backend '-p'. Use: ds, or, fw, anthropic

PS> deepclaude -c
ERROR: Unknown backend '-c'. Use: ds, or, fw, anthropic

Expected behavior

Unknown arguments should be forwarded as-is to the underlying claude invocation. Backend selection should compose with native flags, so all of these should work:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions