# loganhc-09/claude-chief-of-staff architecture

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

- Interactive diagram: https://gitdiagram.com/loganhc-09/claude-chief-of-staff
- Repository: https://github.com/loganhc-09/claude-chief-of-staff

## Overview

This repository documents a persistent AI chief-of-staff system and provides a Claude Code plugin plus example scripts. The principal workflow gathers personal data, schedules processing, turns it into memory and follow-ups, and surfaces briefings or approval-gated outputs. The graph follows the README’s documented stages and capabilities; source excerpts were unavailable, so it does not infer internal calls among scripts or plugin files.

Main entry points: [`architecture.md`](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/architecture.md) (Scheduling layer), [`examples/scripts/discord_bot.py`](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/discord_bot.py) (Discord bot), [`examples/scripts/meeting_processor.py`](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/meeting_processor.py) (Meeting processor), [`memory-system.md`](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/memory-system.md) (SQLite memory)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["User interaction"]
  node_plugin_setup["Plugin setup<br/>[setup.md]"]
end

subgraph group_automation["Automation"]
  node_data_sources["Personal data sources"]
  node_scheduling["Scheduling layer<br/>[architecture.md]"]
  node_briefing["Briefing generator<br/>[briefing.py]"]
  node_meeting_processor["Meeting processor"]
  node_discord_bot["Discord bot<br/>[discord_bot.py]"]
end

subgraph group_knowledge["Knowledge"]
  node_vault["Markdown vault<br/>[CLAUDE.md]"]
  node_memory[("SQLite memory<br/>[memory-system.md]")]
  node_followups[("Follow-up queue<br/>[architecture.md]")]
  node_semantic_search["Semantic search<br/>[memory-system.md]"]
end

subgraph group_learning["Learning loops"]
  node_reading_system["Reading system<br/>[learning-loops.md]"]
  node_content_scout["Content scout<br/>[learning-loops.md]"]
  node_fact_mining["Discord fact mining<br/>[discord-system.md]"]
end

subgraph group_delivery["Outputs"]
  node_briefings["Morning briefings<br/>[briefing.py]"]
  node_approval_gates["Approval gates<br/>[discord-system.md]"]
  node_recommendations["Reading recommendations<br/>[learning-loops.md]"]
end

node_user(("User"))
node_discord["Discord"]

node_user -->|"runs setup"| node_plugin_setup
node_user -->|"uses configuration"| node_vault
node_data_sources -->|"feeds scheduled work"| node_scheduling
node_scheduling -->|"schedules"| node_briefing
node_scheduling -->|"schedules"| node_meeting_processor
node_scheduling -->|"runs bot"| node_discord_bot
node_data_sources -->|"provides transcripts"| node_meeting_processor
node_meeting_processor -->|"extracts facts"| node_memory
node_meeting_processor -->|"tracks follow-ups"| node_followups
node_briefing -->|"generates"| node_briefings
node_memory -->|"supports search"| node_semantic_search
node_discord_bot -->|"posts messages"| node_discord
node_discord_bot -->|"supports mining"| node_fact_mining
node_fact_mining -->|"stores facts"| node_memory
node_discord_bot -->|"routes approvals"| node_approval_gates
node_reading_system -->|"curates"| node_recommendations
node_content_scout -->|"supports learning"| node_reading_system

click node_plugin_setup "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/plugins/chief-of-staff/commands/setup.md"
click node_vault "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/CLAUDE.md"
click node_scheduling "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/architecture.md"
click node_briefing "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/briefing.py"
click node_meeting_processor "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/meeting_processor.py"
click node_discord_bot "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/discord_bot.py"
click node_memory "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/memory-system.md"
click node_followups "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/architecture.md"
click node_semantic_search "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/memory-system.md"
click node_reading_system "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/learning-loops.md"
click node_content_scout "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/learning-loops.md"
click node_fact_mining "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/discord-system.md"
click node_briefings "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/briefing.py"
click node_approval_gates "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/discord-system.md"
click node_recommendations "https://github.com/loganhc-09/claude-chief-of-staff/blob/main/learning-loops.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_plugin_setup,node_user toneBlue
class node_data_sources,node_scheduling,node_briefing,node_meeting_processor,node_discord_bot toneAmber
class node_vault,node_memory,node_followups,node_semantic_search toneMint
class node_reading_system,node_content_scout,node_fact_mining toneRose
class node_briefings,node_approval_gates,node_recommendations,node_discord toneIndigo
```

## Components

### User interaction

- [Plugin setup](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/plugins/chief-of-staff/commands/setup.md): `plugins/chief-of-staff/commands/setup.md`

### Automation

- **Personal data sources**
- [Scheduling layer](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/architecture.md): `architecture.md`
- [Briefing generator](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/briefing.py): `examples/scripts/briefing.py`
- [Meeting processor](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/meeting_processor.py): `examples/scripts/meeting_processor.py`
- [Discord bot](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/discord_bot.py): `examples/scripts/discord_bot.py`

### Knowledge

- [Markdown vault](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/CLAUDE.md): `examples/CLAUDE.md`
- [SQLite memory](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/memory-system.md): `memory-system.md`
- [Follow-up queue](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/architecture.md): `architecture.md`
- [Semantic search](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/memory-system.md): `memory-system.md`

### Learning loops

- [Reading system](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/learning-loops.md): `learning-loops.md`
- [Content scout](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/learning-loops.md): `learning-loops.md`
- [Discord fact mining](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/discord-system.md): `discord-system.md`

### Outputs

- [Morning briefings](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/examples/scripts/briefing.py): `examples/scripts/briefing.py`
- [Approval gates](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/discord-system.md): `discord-system.md`
- [Reading recommendations](https://github.com/loganhc-09/claude-chief-of-staff/blob/main/learning-loops.md): `learning-loops.md`

### Other components

- **User**
- **Discord**

## Connections

- User → Plugin setup: runs setup (evidence: `README.md`)
- User → Markdown vault: uses configuration (evidence: `README.md`)
- Personal data sources → Scheduling layer: feeds scheduled work (evidence: `README.md`)
- Scheduling layer → Briefing generator: schedules (evidence: `README.md`)
- Scheduling layer → Meeting processor: schedules (evidence: `README.md`)
- Scheduling layer → Discord bot: runs bot (evidence: `README.md`)
- Personal data sources → Meeting processor: provides transcripts (evidence: `README.md`)
- Meeting processor → SQLite memory: extracts facts (evidence: `README.md`)
- Meeting processor → Follow-up queue: tracks follow-ups (evidence: `README.md`)
- Briefing generator → Morning briefings: generates (evidence: `README.md`)
- SQLite memory → Semantic search: supports search (evidence: `README.md`)
- Discord bot → Discord: posts messages (evidence: `README.md`)
- Discord bot → Discord fact mining: supports mining (evidence: `README.md`)
- Discord fact mining → SQLite memory: stores facts (evidence: `README.md`)
- Discord bot → Approval gates: routes approvals (evidence: `README.md`)
- Reading system → Reading recommendations: curates (evidence: `README.md`)
- Content scout → Reading system: supports learning (evidence: `README.md`)
