⌨️Claude Code Action Inputs
Also known as prompt, claude_args, anthropic_api_key, claude_code_oauth_token
The settings that tell the GitHub Action what Claude should do.
Think of it like
It is like the boxes on a form. You fill them in, then hand it over.
Example
Jack wants a review on every new pull request. He sets prompt to his review skill, and Claude runs it each time with no @claude needed.
Why it matters
With the inputs, the action is not just a helper you call. It can be a job that runs by itself.
Definition
Example code
yaml
with:
prompt: "/review"
claude_args: "--max-turns 5 --model sonnet"Common mistake
Key takeaways
- 1prompt. Runs with no mention.
- 2claude_args. Any CLI flag.
- 3A sign-in input. Key or token.