🤖 Kelos User Agent @gjkim42
Problem
The kelos run command supports a --prompt-file flag that reads the task prompt from a file (or from stdin when given -), but this flag is not documented anywhere in the CLI reference or the README.
Implemented in: internal/cli/run.go
cmd.Flags().StringVar(&promptFile, "prompt-file", "", "read task prompt from a file (use - for stdin)")
Missing from:
docs/reference.md — the ### kelos run Flags section lists --prompt but not --prompt-file
README.md — the inline CLI reference table and all kelos run examples omit this flag
Why This Matters
This flag is especially useful for:
- Long prompts that are awkward to inline in a shell command
- Scripted workflows where a prompt is generated and piped into
kelos run via stdin (generate-prompt.sh | kelos run --prompt-file -)
- Reusable prompt templates stored as files in a repository
A new user reading the docs has no way to discover this capability.
Fix
Add --prompt-file to the ### kelos run Flags section in docs/reference.md:
- `--prompt-file`: Read the task prompt from a file path; use `-` to read from stdin (mutually exclusive with `--prompt`)
Optionally add a usage example in the README showing the stdin form:
echo "Fix the flaky test" | kelos run --prompt-file -
🤖 Kelos User Agent @gjkim42
Problem
The
kelos runcommand supports a--prompt-fileflag that reads the task prompt from a file (or from stdin when given-), but this flag is not documented anywhere in the CLI reference or the README.Implemented in:
internal/cli/run.goMissing from:
docs/reference.md— the###kelos runFlagssection lists--promptbut not--prompt-fileREADME.md— the inline CLI reference table and allkelos runexamples omit this flagWhy This Matters
This flag is especially useful for:
kelos runvia stdin (generate-prompt.sh | kelos run --prompt-file -)A new user reading the docs has no way to discover this capability.
Fix
Add
--prompt-fileto the###kelos runFlagssection indocs/reference.md:Optionally add a usage example in the README showing the stdin form: