Skip to content

Per-Repo Settings

Claudette lets you configure settings per-repository — instructions for the agent, scripts that run on workspace creation, and branch naming preferences.

Open Settings > Repository (or press ⌘/Ctrl + , and select a repository from the sidebar).

A shell command that runs automatically when a new workspace is created. Use this to install dependencies, set up the environment, or run migrations.

Examples:

Terminal window
# Node.js project
npm install
# Python project
python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
# Elixir project
mix deps.get && mix ecto.setup

The script runs in the workspace’s worktree directory using your default shell. Workspace environment variables like $CLAUDETTE_WORKSPACE_NAME and $CLAUDETTE_ROOT_PATH are available in setup scripts.

Text that is appended to the agent’s system prompt at the start of every chat in this repository. Use this to give the agent context about your project:

This is a Django REST API using Python 3.12. Use pytest for tests.
Follow the existing code style — type hints on all function signatures.

Custom instructions sent with the agent’s first message to guide how it names the workspace branch. This only applies if the branch hasn’t already been renamed.

You can also configure these settings via a .claudette.json file in your repository root. This is useful for sharing settings with your team via version control.

{
"scripts": {
"setup": "bun install"
},
"instructions": "This is a Next.js 15 app using the App Router. Use TypeScript strict mode."
}
FieldTypeDescription
scripts.setupstringShell command to run on workspace creation
instructionsstringCustom instructions for the agent

Unknown keys in .claudette.json are silently ignored, so the file is forward-compatible with future settings.