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

# Claude Code

> Set up Autter for Claude Code and keep AI-authored code attributed automatically.

Autter works with Claude Code by checkpointing the edits Claude makes and turning them into Git authorship data.

## What you get

* Automatic attribution for Claude Code edits
* Prompt-backed context in `autter show-prompt` when the storage backend has it
* Line-level authorship in `autter blame`
* Commit summaries in `autter stats`

## Set up Claude Code

<Steps>
  <Step title="Install Autter">
    Install the CLI on the machine that runs Claude Code.
  </Step>

  <Step title="Refresh the hooks">
    Run:

    ```bash theme={null}
    autter install-hooks
    ```
  </Step>

  <Step title="Restart Claude Code">
    Restart the agent so it picks up the new checkpoint integration.
  </Step>

  <Step title="Confirm attribution">
    Make a small edit, then run `autter status` and `autter stats HEAD`.
  </Step>
</Steps>

## Useful commands

```bash theme={null}
autter blame src/service.ts
autter stats HEAD
autter show-prompt <id>
```

<Card title="Troubleshooting" icon="wrench" href="/cli/troubleshooting">
  Fix missing attribution, startup issues, and local-only mode problems.
</Card>
