Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/swift-penguins-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kilocode/cli": minor
---

Add --append-system-prompt-file option to read custom instructions from a file
16 changes: 16 additions & 0 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,22 @@ kilocode --parallel --auto "improve xyz"
kilocode --parallel --auto "improve abc"
```

### Custom System Prompt

Append custom instructions to the system prompt:

```bash
# Inline text
kilocode --append-system-prompt "Always use TypeScript strict mode"

# From a file
kilocode --append-system-prompt-file ./prompts/custom-instructions.md

# Both (inline text first, then file content)
kilocode --append-system-prompt "Context: Production deployment" \
--append-system-prompt-file ./prompts/deploy-guidelines.md
```

### Autonomous mode (Non-Interactive)

Autonomous mode allows Kilo Code to run in automated environments like CI/CD pipelines without requiring user interaction.
Expand Down
Loading