# heycubit/effortless architecture

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

- Interactive diagram: https://gitdiagram.com/heycubit/effortless
- Repository: https://github.com/heycubit/effortless

## Overview

This repository contains two Claude Code products. effortless observes prompts, chooses reasoning effort, and presents chat-status, handoff, compaction and settings controls. textless displays pixel-art scenes while Claude works, with built-in and user art, interactive features, updates and a scene marketplace. The graph keeps the two runtime products distinct and includes the marketplace service and scene-generation layer. Several subsystem links are documented in the README; unsampled implementation details are not inferred beyond indexed imports.

Main entry points: [`textless/plugin/hooks/register.tsx`](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/register.tsx) (Scene display and controls), [`hooks/register.tsx`](https://github.com/heycubit/effortless/blob/main/hooks/register.tsx) (Effort and chat controls), [`textless/market/worker/src/index.mjs`](https://github.com/heycubit/effortless/blob/main/textless/market/worker/src/index.mjs) (Marketplace service), [`textless/plugin/hooks/chess-engine.ts`](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/chess-engine.ts) (Chess interaction)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_effortless["effortless runtime"]
  node_effort["Effort and chat controls<br/>[register.tsx]"]
  node_progress["Task progress bar<br/>[progress.tsx]"]
  node_agents["Agent panel<br/>[agents.tsx]"]
  node_theme["Themes and colors<br/>[theme.ts]"]
  node_brand["Brand marks<br/>[brand-mark.ts]"]
end

subgraph group_textless["textless plugin"]
  node_textlessruntime["Scene display and controls<br/>[register.tsx]"]
  node_chess["Chess interaction<br/>[chess-engine.ts]"]
  node_chessrules["Chess rules<br/>[chess-rules.ts]"]
  node_quill["Quill interaction<br/>[quill.ts]"]
  node_quilldata["Quill content<br/>[quill-data.ts]"]
  node_updates["Plugin updates<br/>[update.tsx]"]
end

subgraph group_art["Scene art"]
  node_sceneart["Built-in scene sets<br/>[art.ts]"]
  node_terminal["Terminal art<br/>[terminal-art.ts]"]
  node_quotes["Quote set<br/>[quotes-list.ts]"]
  node_pixkit["Scene drawing toolkit<br/>[pixkit.py]"]
  node_coffee["Coffee scene generator<br/>[coffee.py]"]
end

subgraph group_market["Marketplace"]
  node_marketclient["Marketplace rules client<br/>[market-rules.ts]"]
  node_marketworker["Marketplace service<br/>[index.mjs]"]
  node_rules["Scene safety rules<br/>[rules.mjs]"]
  node_moderation["Content moderation<br/>[moderate.mjs]"]
end

subgraph group_web["Web experiences"]
  node_site["textless website<br/>[build.mjs]"]
  node_compare["Scene comparison<br/>[compare.mjs]"]
end

node_user(("Claude Code user"))
node_claude{{"Claude Code"}}
node_haiku{{"Haiku judge"}}
node_jev{{"Jev judge"}}

node_user -->|"uses"| node_claude
node_claude -->|"runs plugin"| node_effort
node_effort -->|"judges prompts"| node_haiku
node_effort -.->|"optionally consults"| node_jev
node_effort -->|"uses"| node_progress
node_effort -->|"uses"| node_agents
node_effort -->|"uses"| node_theme
node_effort -->|"uses"| node_brand
node_user -->|"chooses scenes"| node_textlessruntime
node_claude -->|"runs plugin"| node_textlessruntime
node_textlessruntime -->|"uses"| node_sceneart
node_textlessruntime -->|"uses"| node_terminal
node_textlessruntime -->|"dispatches chess"| node_chess
node_chess -->|"calls"| node_chessrules
node_textlessruntime -->|"uses"| node_quill
node_quill -->|"reads"| node_quilldata
node_textlessruntime -->|"uses"| node_updates
node_textlessruntime -->|"uses"| node_marketclient
node_coffee -->|"uses"| node_pixkit
node_textlessruntime -->|"finds community art"| node_marketworker
node_marketworker -->|"validates with"| node_rules
node_marketworker -->|"checks content"| node_moderation
node_site -->|"uses"| node_compare

click node_effort "https://github.com/heycubit/effortless/blob/main/hooks/register.tsx"
click node_progress "https://github.com/heycubit/effortless/blob/main/hooks/progress.tsx"
click node_agents "https://github.com/heycubit/effortless/blob/main/hooks/agents.tsx"
click node_theme "https://github.com/heycubit/effortless/blob/main/hooks/theme.ts"
click node_brand "https://github.com/heycubit/effortless/blob/main/hooks/brand-mark.ts"
click node_textlessruntime "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/register.tsx"
click node_sceneart "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/art.ts"
click node_terminal "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/terminal-art.ts"
click node_quotes "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/quotes-list.ts"
click node_pixkit "https://github.com/heycubit/effortless/blob/main/textless/art-src/pixkit.py"
click node_coffee "https://github.com/heycubit/effortless/blob/main/textless/art-src/coffee.py"
click node_chess "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/chess-engine.ts"
click node_chessrules "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/chess-rules.ts"
click node_quill "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/quill.ts"
click node_quilldata "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/quill-data.ts"
click node_updates "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/update.tsx"
click node_marketclient "https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/market-rules.ts"
click node_marketworker "https://github.com/heycubit/effortless/blob/main/textless/market/worker/src/index.mjs"
click node_rules "https://github.com/heycubit/effortless/blob/main/textless/market/rules.mjs"
click node_moderation "https://github.com/heycubit/effortless/blob/main/textless/market/worker/src/moderate.mjs"
click node_site "https://github.com/heycubit/effortless/blob/main/textless/site/src/build.mjs"
click node_compare "https://github.com/heycubit/effortless/blob/main/textless/site/src/compare.mjs"

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_effort,node_progress,node_agents,node_theme,node_brand,node_user toneBlue
class node_textlessruntime,node_chess,node_chessrules,node_quill,node_quilldata,node_updates toneAmber
class node_sceneart,node_terminal,node_quotes,node_pixkit,node_coffee toneMint
class node_marketclient,node_marketworker,node_rules,node_moderation toneRose
class node_site,node_compare,node_claude,node_haiku,node_jev toneIndigo
```

## Components

### effortless runtime

- [Effort and chat controls](https://github.com/heycubit/effortless/blob/main/hooks/register.tsx): `hooks/register.tsx`
- [Task progress bar](https://github.com/heycubit/effortless/blob/main/hooks/progress.tsx): `hooks/progress.tsx`
- [Agent panel](https://github.com/heycubit/effortless/blob/main/hooks/agents.tsx): `hooks/agents.tsx`
- [Themes and colors](https://github.com/heycubit/effortless/blob/main/hooks/theme.ts): `hooks/theme.ts`
- [Brand marks](https://github.com/heycubit/effortless/blob/main/hooks/brand-mark.ts): `hooks/brand-mark.ts`

### textless plugin

- [Scene display and controls](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/register.tsx): `textless/plugin/hooks/register.tsx`
- [Chess interaction](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/chess-engine.ts): `textless/plugin/hooks/chess-engine.ts`
- [Chess rules](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/chess-rules.ts): `textless/plugin/hooks/chess-rules.ts`
- [Quill interaction](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/quill.ts): `textless/plugin/hooks/quill.ts`
- [Quill content](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/quill-data.ts): `textless/plugin/hooks/quill-data.ts`
- [Plugin updates](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/update.tsx): `textless/plugin/hooks/update.tsx`

### Scene art

- [Built-in scene sets](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/art.ts): `textless/plugin/hooks/art.ts`
- [Terminal art](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/terminal-art.ts): `textless/plugin/hooks/terminal-art.ts`
- [Quote set](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/quotes-list.ts): `textless/plugin/hooks/quotes-list.ts`
- [Scene drawing toolkit](https://github.com/heycubit/effortless/blob/main/textless/art-src/pixkit.py): `textless/art-src/pixkit.py`
- [Coffee scene generator](https://github.com/heycubit/effortless/blob/main/textless/art-src/coffee.py): `textless/art-src/coffee.py`

### Marketplace

- [Marketplace rules client](https://github.com/heycubit/effortless/blob/main/textless/plugin/hooks/market-rules.ts): `textless/plugin/hooks/market-rules.ts`
- [Marketplace service](https://github.com/heycubit/effortless/blob/main/textless/market/worker/src/index.mjs): `textless/market/worker/src/index.mjs`
- [Scene safety rules](https://github.com/heycubit/effortless/blob/main/textless/market/rules.mjs): `textless/market/rules.mjs`
- [Content moderation](https://github.com/heycubit/effortless/blob/main/textless/market/worker/src/moderate.mjs): `textless/market/worker/src/moderate.mjs`

### Web experiences

- [textless website](https://github.com/heycubit/effortless/blob/main/textless/site/src/build.mjs): `textless/site/src/build.mjs`
- [Scene comparison](https://github.com/heycubit/effortless/blob/main/textless/site/src/compare.mjs): `textless/site/src/compare.mjs`

### Other components

- **Claude Code user**
- **Claude Code**
- **Haiku judge**
- **Jev judge**

## Connections

- Claude Code user → Claude Code: uses (evidence: `README.md`)
- Claude Code → Effort and chat controls: runs plugin (evidence: `README.md`)
- Effort and chat controls → Haiku judge: judges prompts (evidence: `README.md`)
- Effort and chat controls → Jev judge: optionally consults (evidence: `README.md`)
- Effort and chat controls → Task progress bar: uses (evidence: `hooks/register.tsx`)
- Effort and chat controls → Agent panel: uses (evidence: `hooks/register.tsx`)
- Effort and chat controls → Themes and colors: uses (evidence: `hooks/register.tsx`)
- Effort and chat controls → Brand marks: uses (evidence: `hooks/register.tsx`)
- Claude Code user → Scene display and controls: chooses scenes (evidence: `README.md`)
- Claude Code → Scene display and controls: runs plugin (evidence: `README.md`)
- Scene display and controls → Built-in scene sets: uses (evidence: `textless/plugin/hooks/register.tsx`)
- Scene display and controls → Terminal art: uses (evidence: `textless/plugin/hooks/register.tsx`)
- Scene display and controls → Chess interaction: dispatches chess (evidence: `textless/plugin/hooks/register.tsx`)
- Chess interaction → Chess rules: calls (evidence: `textless/plugin/hooks/chess-engine.ts`)
- Scene display and controls → Quill interaction: uses (evidence: `textless/plugin/hooks/register.tsx`)
- Quill interaction → Quill content: reads (evidence: `textless/plugin/hooks/quill.ts`)
- Scene display and controls → Plugin updates: uses (evidence: `textless/plugin/hooks/register.tsx`)
- Scene display and controls → Marketplace rules client: uses (evidence: `textless/plugin/hooks/register.tsx`)
- Coffee scene generator → Scene drawing toolkit: uses (evidence: `textless/art-src/coffee.py`)
- Scene display and controls → Marketplace service: finds community art (evidence: `README.md`)
- Marketplace service → Scene safety rules: validates with (evidence: `textless/market/worker/src/index.mjs`)
- Marketplace service → Content moderation: checks content (evidence: `textless/market/worker/src/index.mjs`)
- textless website → Scene comparison: uses (evidence: `textless/site/src/build.mjs`)
