> ## Documentation Index
> Fetch the complete documentation index at: https://kiro.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuration Sync

> Upload your personal .kiro configuration to Kiro Web and optionally apply it to local IDE and CLI sessions

Kiro IDE and Kiro CLI read your personal configuration from the local `~/.kiro` directory. [Cloud sessions](https://kiro.dev/docs/cloud-sessions.md) run in a managed sandbox that cannot access your machine, so that directory does not apply there automatically. Configuration Sync closes the gap: upload supported folders from your local `.kiro` directory to Kiro Web, and the agent uses the cloud copy in every cloud session. You can also [apply the cloud copy to new local IDE and CLI sessions](#apply-cloud-configuration-to-local-sessions).

Open [Kiro Web settings](https://app.kiro.dev/settings/cloud-config) and select **Agent Config > Cloud Config** to get started.

**ℹ️ Info:** Configuration Sync covers your **personal** configuration. Supported project configuration committed under `.kiro/` travels with the repository because the sandbox clones it. Workflow recipes can also be uploaded individually through **Agent Config > Workflows** or imported as a complete `.kiro/workflows/` folder through **Agent Config > Cloud Config**. See [Configuration in the cloud](https://kiro.dev/docs/cloud-sessions.md#configuration-in-the-cloud) for how the scopes work together.

## What you can upload

Upload one top-level folder from your local `.kiro` directory at a time. Seven folders are supported:

| Folder | What uploads | Manage the cloud copy in |
|--------|--------------|--------------------------|
| `steering/` | Markdown Steering files | **Agent Config > Steering** |
| `agents/` | Custom agent definitions and supporting files | **Agent Config > Agents** |
| `hooks/` | Hook definition files | **Agent Config > Hooks** |
| `skills/` | `SKILL.md` and supporting text files | **Agent Config > Skills** |
| `powers/` | Installed Powers (see [How Powers sync](#how-powers-sync)) | **Agent Config > Powers & MCP** |
| `settings/` | MCP servers from `mcp.json` | **Agent Config > Powers & MCP** (MCP server settings) |
| `workflows/` | Recipes with `.workflow.json`, `.workflow.yaml`, or `.workflow.yml` suffixes | **Agent Config > Workflows** |

Anything else at the root of `.kiro`, such as session state, caches, and runtime folders, is rejected. Within supported folders, Kiro filters machine-generated content such as `.git`, `node_modules`, and `.DS_Store`.

**⚠️ Warning:** An uploaded `mcp.json` includes literal values from each server's `env` object. Review the comparison before uploading. Prefer [sandbox environment variables and secrets](https://kiro.dev/docs/web/sandbox/environment-variables.md) instead of storing credentials directly in `mcp.json`.

## Upload and review

1. In Kiro Web, go to **Agent Config > Cloud Config**.
2. Drag one supported folder, such as `~/.kiro/steering` or `<project>/.kiro/workflows`, onto the upload area, or select it with the folder picker.
3. Review each file and its status. Expand a row to inspect its content.
4. Select the files to sync, then choose **Upload N files**. Progress is reported for each file, and failed files can be retried.

Each status describes what the upload will do:

- **New** files do not exist in the cloud and are selected by default.
- **Update** files exist in the cloud with different content. Updates are opt-in and unselected by default because uploading replaces the cloud copy. Steering files and MCP servers show a side-by-side comparison.
- **Synced** files already match the cloud copy and are not uploaded.
- **Unsupported** files belong to a category with no cloud storage, such as a binary skill file.
- **Too large** files exceed the per-item size limit and must be reduced before they can sync.
- **Error** files cannot be resolved to a safe action, such as two local files that map to the same cloud document; resolve them locally and re-upload.

## How Powers sync

Powers follow one of two paths:

- **Catalog Powers:** If the Power name exactly matches a Power in the [catalog](https://kiro.dev/docs/web/sandbox/mcp.md), Kiro installs it by name and the service supplies the reviewed file set. Only `POWER.md` is actionable in the upload review.
- **Custom Powers:** Powers that are not in the catalog upload as individual text files. Names that differ from catalog or Amazon-managed Powers only by letter case are refused. Rename the folder to use it as a custom Power.

## Apply cloud configuration to local sessions

Cloud configuration always applies to cloud sessions. You can also carry it into local work.

On the Configuration Sync page, enable **Apply your cloud configuration to local sessions**. When a new local IDE or CLI session starts, Kiro loads your cloud Steering files, custom agents, Skills, Powers, and Hooks.

The toggle does not write cloud content into your local `.kiro` directory or replace existing local files.

## Limits

- Upload one supported top-level folder at a time.
- Each uploaded item can be up to 4,000,000 bytes.
- A Skill can contain up to 25 files.
- A custom Power can contain up to 50 files.
- Skills and custom Powers support text files only.
- Selecting an **Update** replaces the cloud copy; uploads do not merge file contents.

## After uploading

Uploaded configuration appears on its feature-specific settings page, where supported items can be viewed, edited, downloaded, or deleted. It then applies automatically to cloud sessions alongside project configuration cloned with the repository.

Uploading is local-to-cloud. Changes made in Kiro Web settings are not written back to your machine. Treat your local `.kiro` directory as the source of truth when you want to preserve the same configuration on disk, then upload again when it changes.

## Related

- [Workflows](https://kiro.dev/docs/workflows.md) - enable workflows and use uploaded recipes
- [Cloud sessions](https://kiro.dev/docs/cloud-sessions.md) - where uploaded configuration takes effect
- [Configuration scopes](https://kiro.dev/docs/configuration.md) - how personal, project, and cloud configuration work together
- [Steering](https://kiro.dev/docs/steering.md) - writing Steering files
- [Custom agents](https://kiro.dev/docs/custom-agents.md) - creating specialized agents
- [Skills](https://kiro.dev/docs/skills.md) - building reusable instruction bundles
- [Hooks](https://kiro.dev/docs/hooks.md) - automating agent events
- [Powers and MCP](https://kiro.dev/docs/web/sandbox/mcp.md) - extending the cloud sandbox
