# slaguru666/claude-config architecture

> Architecture diagram of the GitHub repository slaguru666/claude-config, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/slaguru666/claude-config
- Repository: https://github.com/slaguru666/claude-config

## Overview

This repository maintains Claude Code configuration across machines. The main workflow is to pull the latest repository state and run the installer to copy configuration locally, then run the sync script to copy live memory and skills back into the repository and push changes. The README documents these directions and the tracked configuration categories; no source excerpts were provided, so script internals and finer-grained calls are not represented.

Main entry points: [`install.sh`](https://github.com/slaguru666/claude-config/blob/main/install.sh) (Install script), [`sync.sh`](https://github.com/slaguru666/claude-config/blob/main/sync.sh) (Sync script), [`CLAUDE.md`](https://github.com/slaguru666/claude-config/blob/main/CLAUDE.md) (Global instructions), [`settings.json`](https://github.com/slaguru666/claude-config/blob/main/settings.json) (Settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Machine workflow"]
  node_install["Install script<br/>[install.sh]"]
  node_sync["Sync script<br/>[sync.sh]"]
end

subgraph group_config["Claude configuration"]
  node_instructions["Global instructions<br/>[CLAUDE.md]"]
  node_settings["Settings<br/>[settings.json]"]
  node_memory["Persistent memory"]
end

subgraph group_skills["Shared capabilities"]
  node_rpg["RPG skill<br/>[SKILL.md]"]
end

node_user(("User"))
node_git(("Git remote"))
node_claude["Local Claude Code"]
node_codex["Codex CLI"]
node_quickdesign["QuickDesign CLI"]

node_user -->|"pulls updates"| node_git
node_user -->|"runs"| node_install
node_install -->|"installs configuration"| node_claude
node_instructions -->|"installed to"| node_claude
node_settings -->|"installed to"| node_claude
node_memory -->|"installed to"| node_claude
node_rpg -->|"installed to"| node_claude
node_user -->|"runs"| node_sync
node_sync -->|"pushes changes"| node_git
node_claude -->|"provides live state"| node_sync
node_install -->|"installs if missing"| node_codex
node_install -->|"installs if missing"| node_quickdesign

click node_install "https://github.com/slaguru666/claude-config/blob/main/install.sh"
click node_sync "https://github.com/slaguru666/claude-config/blob/main/sync.sh"
click node_instructions "https://github.com/slaguru666/claude-config/blob/main/CLAUDE.md"
click node_settings "https://github.com/slaguru666/claude-config/blob/main/settings.json"
click node_memory "https://github.com/slaguru666/claude-config/tree/main/memory"
click node_rpg "https://github.com/slaguru666/claude-config/blob/main/skills/rpg/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_install,node_sync,node_user toneBlue
class node_instructions,node_settings,node_memory toneAmber
class node_rpg toneMint
class node_git,node_claude,node_codex,node_quickdesign toneIndigo
```

## Components

### Machine workflow

- [Install script](https://github.com/slaguru666/claude-config/blob/main/install.sh): `install.sh`
- [Sync script](https://github.com/slaguru666/claude-config/blob/main/sync.sh): `sync.sh`

### Claude configuration

- [Global instructions](https://github.com/slaguru666/claude-config/blob/main/CLAUDE.md): `CLAUDE.md`
- [Settings](https://github.com/slaguru666/claude-config/blob/main/settings.json): `settings.json`
- [Persistent memory](https://github.com/slaguru666/claude-config/tree/main/memory): `memory`

### Shared capabilities

- [RPG skill](https://github.com/slaguru666/claude-config/blob/main/skills/rpg/SKILL.md): `skills/rpg/SKILL.md`

### Other components

- **User**
- **Git remote**
- **Local Claude Code**
- **Codex CLI**
- **QuickDesign CLI**

## Connections

- User → Git remote: pulls updates (evidence: `README.md`)
- User → Install script: runs (evidence: `README.md`)
- Install script → Local Claude Code: installs configuration (evidence: `README.md`)
- Global instructions → Local Claude Code: installed to (evidence: `README.md`)
- Settings → Local Claude Code: installed to (evidence: `README.md`)
- Persistent memory → Local Claude Code: installed to (evidence: `README.md`)
- RPG skill → Local Claude Code: installed to (evidence: `README.md`)
- User → Sync script: runs (evidence: `README.md`)
- Sync script → Git remote: pushes changes (evidence: `README.md`)
- Local Claude Code → Sync script: provides live state (evidence: `README.md`)
- Install script → Codex CLI: installs if missing (evidence: `README.md`)
- Install script → QuickDesign CLI: installs if missing (evidence: `README.md`)
