Last updated: June 2026
Overview
Before Kepler’s Tasks work reliably, three settings must be in place: a default repositories folder, a default worktrees folder, and (for repos that need it) custom startup commands. This page walks through each setting in order and explains the embedded terminal you can use once Tasks are running.
Task is the core unit of work in Kepler, GitKraken’s Agentic Development Environment (ADE). Each Task holds work across one or more repos and contains worktrees, agent sessions, and changes. Configuring the settings below correctly ensures that every new worktree Kepler creates lands in the right place and starts in a usable state.
Setup Order
Complete these steps in order. Each one depends on the previous.
- Set the Default Repositories Folder.
- Set the Default Worktrees Folder.
- Add custom commands for repos that need them.
Default Repositories Folder
The Default Repositories Folder is the directory where Kepler clones repositories. Every other environment setting depends on a valid path here. If this is not set, Kepler cannot locate repos when creating worktrees or running agents.
How to set it
- Open Settings.
- Navigate to General.
- Under Default Repositories Folder, click Browse and select the directory you want Kepler to use for cloned repos.
- Click Save.

What happens if it is not set
If the Default Repositories Folder is empty, Kepler cannot resolve repo paths when a Task creates a new worktree. Worktree creation will fail or prompt you to supply a path manually each time. Set this before doing anything else.
Default Worktrees Folder
The Default Worktrees Folder is the directory where Kepler creates new worktrees. Kepler creates one worktree per Task per repo, so setting this keeps worktrees in a consistent location instead of spreading across arbitrary directories.
How to set it
- Open Settings.
- Navigate to General.
- Under Default Worktrees Folder, click Browse and select the directory, or type a path directly using the placeholders described below.
- Click Save.

Path placeholders
The Default Worktrees Folder path supports placeholders. Kepler substitutes these at worktree creation time, so worktrees always land in a consistent, predictable location for every repo.
| Placeholder | Resolves to |
|---|---|
<REPOSITORY_PATH> |
Full path to the main repo folder |
<REPOSITORY_NAME> |
Name of the repository |
<SOURCE_PATH> |
Path of the source location (main repo, or source worktree when forking from an existing worktree) |
<WORKTREE_PATH> |
Full path to the new worktree folder |
Example path using placeholders:
<REPOSITORY_PATH>/worktrees/<WORKTREE_PATH>
With this pattern, every repo gets its worktrees nested inside its own directory. A repo at /projects/my-app would produce worktrees at /projects/my-app/worktrees/<worktree-name>.
Custom Commands Per Repository
Custom commands are shell commands that Kepler runs automatically when it creates a new worktree for a specific repo. Use them to install dependencies, run a build, or start a file watcher. The worktree is ready when the agent session begins, with no manual setup required.
Where to configure
- Open Settings.
- Navigate to Repositories.
- Find the repo you want to configure. Repos without custom commands show a No commands > row.
- Click the No commands > row to open the command editor for that repo.

How to add commands
- In the command editor, click Add Command.
- Enter the shell command to run (for example,
npm installorpnpm build). - Add additional commands as needed. Commands run in the order listed.
- Click Save.
Kepler runs these commands in the worktree’s directory immediately after the worktree is created, before any agent session starts.
What happens if a custom command fails
If a custom command exits with a non-zero status, Kepler stops running remaining commands for that worktree and surfaces the error. The worktree is created, but it may not be in a usable state. Check the command output in the Task view to diagnose the failure, correct the command in Settings → Repositories, and create a new Task to retry.
Embedded Terminals
Kepler has an embedded terminal scoped to each worktree. Use it to run commands or inspect files without leaving the app.
How to open a terminal for a worktree
When you open a terminal for a worktree, it starts in that worktree’s directory. You do not need to cd into it manually.
When to use the embedded terminal
- Run one-off commands (linting, tests, manual builds) while an agent session is active in the same worktree.
- Inspect files or git state without switching context.
- Debug issues that a running agent session does not surface on its own.
Limitations
The embedded terminal is scoped to a single worktree. It does not provide access to the broader filesystem outside that worktree’s directory without navigating manually. For workflows that span multiple repos or worktrees simultaneously, a standalone terminal may be more practical.