@kenkaiiii/ggcoder 5.98.1 → 5.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/assets/skills/gg-guide/SKILL.md +40 -0
  2. package/assets/skills/gg-guide/references/chat-motion-goals.md +199 -0
  3. package/assets/skills/gg-guide/references/checklist-and-safety.md +159 -0
  4. package/assets/skills/gg-guide/references/code-mode.md +208 -0
  5. package/assets/skills/gg-guide/references/getting-started.md +179 -0
  6. package/assets/skills/gg-guide/references/ken-and-autopilot.md +154 -0
  7. package/assets/skills/gg-guide/references/mcp-and-skills.md +176 -0
  8. package/assets/skills/gg-guide/references/models-and-sign-in.md +180 -0
  9. package/assets/skills/gg-guide/references/sessions-and-history.md +188 -0
  10. package/assets/skills/gg-guide/references/settings.md +157 -0
  11. package/assets/skills/gg-guide/references/troubleshooting-and-data.md +163 -0
  12. package/dist/app-sidecar/mcp-routes.js +9 -0
  13. package/dist/app-sidecar/mcp-routes.js.map +1 -1
  14. package/dist/app-sidecar/mcp-shell-command.d.ts +36 -0
  15. package/dist/app-sidecar/mcp-shell-command.js +302 -0
  16. package/dist/app-sidecar/mcp-shell-command.js.map +1 -0
  17. package/dist/app-sidecar/mcp-sync.d.ts +18 -0
  18. package/dist/app-sidecar/mcp-sync.js +38 -0
  19. package/dist/app-sidecar/mcp-sync.js.map +1 -0
  20. package/dist/app-sidecar/prompt-routes.js +5 -21
  21. package/dist/app-sidecar/prompt-routes.js.map +1 -1
  22. package/dist/app-sidecar/route-context.d.ts +3 -1
  23. package/dist/app-sidecar/shell-routes.js +7 -0
  24. package/dist/app-sidecar/shell-routes.js.map +1 -1
  25. package/dist/app-sidecar/workspace-routes.js +26 -28
  26. package/dist/app-sidecar/workspace-routes.js.map +1 -1
  27. package/dist/app-sidecar.js +13 -3
  28. package/dist/app-sidecar.js.map +1 -1
  29. package/dist/cli/mcp.js +19 -5
  30. package/dist/cli/mcp.js.map +1 -1
  31. package/dist/core/agent-session/mcp-tools.d.ts +17 -0
  32. package/dist/core/agent-session/mcp-tools.js +31 -0
  33. package/dist/core/agent-session/mcp-tools.js.map +1 -1
  34. package/dist/core/agent-session.d.ts +24 -0
  35. package/dist/core/agent-session.js +92 -3
  36. package/dist/core/agent-session.js.map +1 -1
  37. package/dist/core/extensions/plugin-bundles.d.ts +0 -9
  38. package/dist/core/extensions/plugin-bundles.js +0 -185
  39. package/dist/core/extensions/plugin-bundles.js.map +1 -1
  40. package/dist/core/goals-store.d.ts +0 -2
  41. package/dist/core/goals-store.js +0 -5
  42. package/dist/core/goals-store.js.map +1 -1
  43. package/dist/core/mcp/client.d.ts +9 -0
  44. package/dist/core/mcp/client.js +58 -5
  45. package/dist/core/mcp/client.js.map +1 -1
  46. package/dist/core/mcp/oauth-provider.d.ts +7 -1
  47. package/dist/core/mcp/oauth-provider.js +11 -4
  48. package/dist/core/mcp/oauth-provider.js.map +1 -1
  49. package/dist/core/mcp/oauth-store.d.ts +6 -0
  50. package/dist/core/mcp/oauth-store.js +14 -0
  51. package/dist/core/mcp/oauth-store.js.map +1 -1
  52. package/dist/core/mcp/parse-add-command.d.ts +29 -3
  53. package/dist/core/mcp/parse-add-command.js +196 -26
  54. package/dist/core/mcp/parse-add-command.js.map +1 -1
  55. package/dist/core/mcp/store.d.ts +16 -0
  56. package/dist/core/mcp/store.js +28 -0
  57. package/dist/core/mcp/store.js.map +1 -1
  58. package/dist/core/mcp/types.d.ts +9 -0
  59. package/dist/core/package-cooldown.d.ts +0 -2
  60. package/dist/core/package-cooldown.js +0 -4
  61. package/dist/core/package-cooldown.js.map +1 -1
  62. package/dist/core/runtime-mode.d.ts +0 -5
  63. package/dist/core/runtime-mode.js.map +1 -1
  64. package/dist/core/session-storage.d.ts +0 -2
  65. package/dist/core/session-storage.js +0 -2
  66. package/dist/core/session-storage.js.map +1 -1
  67. package/dist/core/skills.d.ts +2 -0
  68. package/dist/core/skills.js +5 -0
  69. package/dist/core/skills.js.map +1 -1
  70. package/dist/core/tasks-store.d.ts +0 -1
  71. package/dist/core/tasks-store.js +0 -3
  72. package/dist/core/tasks-store.js.map +1 -1
  73. package/dist/motion-agent/motion-review.d.ts +0 -75
  74. package/dist/motion-agent/motion-review.js +0 -189
  75. package/dist/motion-agent/motion-review.js.map +1 -1
  76. package/dist/system-prompt.js +1 -1
  77. package/dist/system-prompt.js.map +1 -1
  78. package/dist/test-support/system-tools.d.ts +6 -0
  79. package/dist/test-support/system-tools.js +36 -0
  80. package/dist/test-support/system-tools.js.map +1 -0
  81. package/dist/tools/ask-user.js +2 -1
  82. package/dist/tools/ask-user.js.map +1 -1
  83. package/dist/tools/path-utils.d.ts +0 -15
  84. package/dist/tools/path-utils.js +0 -17
  85. package/dist/tools/path-utils.js.map +1 -1
  86. package/dist/tools/truncate.d.ts +0 -2
  87. package/dist/tools/truncate.js +0 -2
  88. package/dist/tools/truncate.js.map +1 -1
  89. package/dist/ui/app-items.d.ts +0 -2
  90. package/dist/ui/app-items.js +0 -2
  91. package/dist/ui/app-items.js.map +1 -1
  92. package/dist/ui/constants/figures.d.ts +0 -8
  93. package/dist/ui/constants/figures.js +0 -8
  94. package/dist/ui/constants/figures.js.map +1 -1
  95. package/dist/ui/layout-decisions.d.ts +0 -5
  96. package/dist/ui/layout-decisions.js +1 -10
  97. package/dist/ui/layout-decisions.js.map +1 -1
  98. package/dist/ui/terminal-history-status-renderers.d.ts +0 -1
  99. package/dist/ui/terminal-history-status-renderers.js +0 -11
  100. package/dist/ui/terminal-history-status-renderers.js.map +1 -1
  101. package/dist/ui/transcript/presentation.d.ts +1 -2
  102. package/dist/ui/transcript/presentation.js +0 -4
  103. package/dist/ui/transcript/presentation.js.map +1 -1
  104. package/dist/utils/image.d.ts +0 -4
  105. package/dist/utils/image.js +0 -10
  106. package/dist/utils/image.js.map +1 -1
  107. package/package.json +4 -4
  108. package/dist/motion-agent/motion-review-gate.d.ts +0 -48
  109. package/dist/motion-agent/motion-review-gate.js +0 -88
  110. package/dist/motion-agent/motion-review-gate.js.map +0 -1
@@ -0,0 +1,179 @@
1
+ # Getting started with the GG Coder desktop app
2
+
3
+ ## First run and setup
4
+
5
+ - A new window opens on the Home screen.
6
+ - The four mode buttons on Home (**Code**, **Goals**, **Chat**, **Motion**) look dimmed until two things are set up: a workspace folder and a connected AI provider.
7
+ - Clicking a dimmed button opens Settings at the missing step:
8
+ - With no folder set, it says "Set a workspace folder first." and opens the **General** tab.
9
+ - With a folder but no provider, it says "Connect an AI provider first." and opens the **AI Providers** tab.
10
+ - On **General**, the **Project folder** section sets where new projects are created. Type a path or use **Browse…**. It saves straight away.
11
+ - **AI Providers** lists every supported provider. Sign in with OAuth, an API key, or both, depending on the provider.
12
+ - Home re-checks setup whenever its window gets focus, so you don't need to restart after signing in.
13
+
14
+ ## The Home screen
15
+
16
+ - Top: the installed version (for example "v1.2.3") and a **What's new** button.
17
+ - Middle: the gold "GG Coder" pixel title, the tagline **Cause the other coding agents piss me off**, and the four mode buttons. Hovering each shows a tip:
18
+ - **Code**: open a project and build it with the agent.
19
+ - **Goals**: hand over a bigger goal and let a team of agents work on it.
20
+ - **Chat**: talk things through. No project needed.
21
+ - **Motion**: make videos and animations.
22
+ - Bottom-right: the gear button (**Settings**) for AI providers, your projects folder and more.
23
+ - Top-centre: an **Update** button, shown only while a new version is available.
24
+ - Background: a pixel-art campfire clearing in the pines, lit for your local time of day (stars and moon at night, sunbeams by day, fireflies at dusk). It stops animating while the window isn't focused, and shows a still frame if your system asks for reduced motion.
25
+ - Along the bottom edge, the whole critter crew beams in on a randomly picked terrain (meadow, beach, desert, snow or space) and wanders and plays. Clicking a critter spooks it.
26
+ - The background can be switched off in **Settings** › **General** › **Effects** with the **Background on** / **Background off** button. With it off, Home shows a plain background (the critters stay).
27
+ - To change mode from a workspace, go back to Home and pick another button. Other pages cover each mode in depth.
28
+
29
+ ## Projects
30
+
31
+ - **Code** opens the **Choose a project** list. It shows every known project, including ones from Claude Code and Codex, each with a small source badge (**GG Coder**, **Claude Code**, **Codex** or **Folder**).
32
+ - Type in the search box ("Search projects…") to filter the list.
33
+ - Click a project to see its earlier sessions:
34
+ - **+ New session** starts fresh.
35
+ - Clicking an earlier session resumes it.
36
+ - A Claude Code or Codex conversation is quietly imported and opens as a GG Coder session.
37
+ - **All projects** goes back to the list.
38
+ - **Open existing** opens any folder on disk as a project.
39
+ - **+ New project** opens the **New project** dialog. Type a name; it's turned into lowercase-with-dashes, and a hint shows the full path it will create inside your projects folder. Press Enter or **Create**, or **Cancel**.
40
+ - The × on a project row (tooltip **Hide from this list**) hides that project. The folder itself is not deleted. Hidden projects stay hidden even if you change your projects folder.
41
+ - If the list can't load, it says **Couldn't load your projects.** With nothing found, it says **No projects yet.**
42
+ - Inside a project, the title bar shows the project name with a colour mark. Each project gets its own stable colour, so side-by-side windows are easy to tell apart.
43
+
44
+ ## Windows
45
+
46
+ - Each window holds its own project, chat, goal or video session.
47
+ - Cmd/Ctrl+N opens a new window on Home.
48
+ - The window layout button (tooltip **Arrange into multiple project windows**) sits on the project, chat and goal lists. Inside a workspace it's **Arrange** in the **More** panel. Its options:
49
+ - **2 windows**, **4 windows** or **6 windows** sets the app up as a grid of that many windows.
50
+ - **Auto-arrange all** tidies every open window into a grid.
51
+ - Escape closes the layout menu.
52
+ - On relaunch (including the restart after an update), each window reopens with its mode, project folder and session, at its last position and size. A window whose folder no longer exists is skipped. If nothing can be restored, a single window opens on Home.
53
+
54
+ ## Menu-bar (tray) menu
55
+
56
+ - On macOS the app puts a "G" icon in the menu bar; on Windows it's in the notification area. Linux has no tray icon.
57
+ - The menu items, top to bottom:
58
+ - "Update now → v<version>" (only when an update is available; installs it and restarts)
59
+ - "New chat session" (opens the chat list)
60
+ - "New code session" (opens the project list)
61
+ - "Remote" (turns Remote, the Telegram connection, on; reads "Remote · Turn off" while it's running, and then turns it off)
62
+ - "Settings" (opens Settings)
63
+ - With exactly one window open, the new-session items use it. With several open, they open a new window so no one's work is replaced. If no window is open, one is opened.
64
+
65
+ ## The welcome screen in a new session
66
+
67
+ - An empty session shows a critter on a small patch of terrain that types a greeting into a speech bubble and ends on a question, such as "What are we building today?".
68
+ - The lines differ for Code, Chat, Motion and Goals, and the terrain, critter and lines are picked at random.
69
+ - Click the critter and it hops and says hi.
70
+ - It disappears as soon as you send your first message.
71
+
72
+ ## Updates
73
+
74
+ - The app checks for updates in the background about once an hour.
75
+ - When one is out, an **Update** key appears on Home showing the current and new version, and an update bar with an install key appears at the bottom of workspaces. Clicking either installs the update and restarts the app.
76
+ - While installing, the key becomes an XP bar with a little builder running along it and a percentage, then reads "Updated!" and the app restarts.
77
+ - If the install fails, the bar shows **Update failed** with **Retry** and **Download manually** (opens the latest release page on GitHub).
78
+ - The tray's "Update now" item does the same install.
79
+
80
+ ## What's new
81
+
82
+ - **What's new** on Home opens a separate window centred on your screen: a campfire scene with the latest release on a board (**New this time**) and an **Earlier updates** list below it.
83
+ - Close it with Escape, Enter, the × (**Close**) or the **Got it** button.
84
+ - After an update restarts the app, the What's new window opens once by itself, headed **Fresh off the press** with a **Let's go** button. It does not open on a fresh install.
85
+
86
+ ## About
87
+
88
+ - **Settings** › **About** has:
89
+ - a short intro from Ken, who builds GG Coder, in a speech box you step through with **Next** (or **Show all**, then **Start over**)
90
+ - links: **Learn with Ken on Skool** and **Watch on YouTube**
91
+ - a calendar of desktop releases, one square per day, shaded from **Less** to **More**; point at or select a day to see what shipped, with **Your version** marked
92
+ - the licence line (GNU AGPL-3.0, no warranty) with a **Source code** link
93
+
94
+ ## Keep awake, sound and appearance
95
+
96
+ All are in **Settings** › **General**.
97
+
98
+ - **Appearance**: **Light**, **Dark** or **Auto** (follows your computer). Applies to every window at once.
99
+ - **Effects**: **Sound on** / **Sound off** turns all sound effects on or off (remembered on this computer), and **Background on** / **Background off** controls the Home background.
100
+ - **Power**: **Keep awake** stops the computer sleeping while the agent works. It's on by default, shows **On** or **Off**, and takes effect immediately, even mid-run. The screen can still turn off.
101
+
102
+ ## Zoom
103
+
104
+ - Cmd/Ctrl + = (or +) zooms in, 5% per press. Cmd/Ctrl + - zooms out. Cmd/Ctrl + 0 resets to 100%.
105
+ - Zoom ranges from 50% to 200%. The level flashes briefly in the middle of the window.
106
+ - The level is shared by every window and kept after a restart.
107
+
108
+ ## Keyboard shortcuts
109
+
110
+ On macOS use Cmd; on Windows and Linux use Ctrl.
111
+
112
+ | Shortcut | Action |
113
+ |---|---|
114
+ | Cmd/Ctrl+N | New window |
115
+ | Cmd/Ctrl+` | Next window |
116
+ | Cmd/Ctrl+Shift+` | Previous window |
117
+ | Cmd/Ctrl+Shift+A | Auto-arrange all windows |
118
+ | Cmd/Ctrl + = / - / 0 | Zoom in / out / reset |
119
+ | Enter | Send a message (in the composer) |
120
+ | Shift+Enter | New line in the composer |
121
+ | Up / Down | Recall earlier prompts in the composer |
122
+ | Tab or Enter | Pick the highlighted item in the `/` or @ menu |
123
+ | Escape | Stop the running reply; close a menu, dialog or the What's new window |
124
+ | 1–9 | Pick an answer on a question card (when the composer is empty) |
125
+ | Enter | Confirm in the New project and Initialize Git dialogs |
126
+ | Cmd/Ctrl+Enter | Create, in the new goal dialog |
127
+ | Arrow keys, Home, End | Move through dropdowns, the window layout menu, Settings tabs and the About calendar |
128
+
129
+ - The window shortcuts (`, Shift+` and Shift+A) also work on the project, chat and goal lists.
130
+
131
+ ## Common questions
132
+
133
+ Q: Why are the Code, Chat, Goals and Motion buttons greyed out?
134
+ A: You still need a workspace folder and a connected AI provider. Click any dimmed button and Settings opens at the missing step.
135
+
136
+ Q: How do I open a second project side by side?
137
+ A: Press Cmd/Ctrl+N for a new window and pick the project there, or use the window layout button and choose **2 windows**.
138
+
139
+ Q: How do I tidy all my windows into a grid?
140
+ A: Choose **Auto-arrange all** from the window layout button (or **Arrange** in the **More** panel), or press Cmd/Ctrl+Shift+A.
141
+
142
+ Q: Will my windows come back after I quit?
143
+ A: Yes. Each window reopens with its mode, project, session, position and size, unless its folder was deleted.
144
+
145
+ Q: How do I remove a project from the list?
146
+ A: Click the × on its row (**Hide from this list**). This only hides it; the folder stays on disk.
147
+
148
+ Q: Where do new projects get created?
149
+ A: In your projects folder, set under **Settings** › **General** › **Project folder**. The **New project** dialog shows the exact path before you create it.
150
+
151
+ Q: How do I update the app?
152
+ A: Click the **Update** key on Home, the update bar in a workspace, or "Update now" in the menu-bar menu. It installs and restarts.
153
+
154
+ Q: The update failed. What now?
155
+ A: Click **Retry** on the **Update failed** bar, or **Download manually** to get the latest release from GitHub.
156
+
157
+ Q: How do I see what changed in the latest version?
158
+ A: Click **What's new** at the top of Home. It also opens once by itself after an update.
159
+
160
+ Q: How do I turn off the sounds?
161
+ A: **Settings** › **General** › **Effects**, then click **Sound on** so it reads **Sound off**.
162
+
163
+ Q: The moving Home background is distracting. Can I turn it off?
164
+ A: Yes: **Settings** › **General** › **Effects** › **Background on** toggles it to **Background off**.
165
+
166
+ Q: How do I switch to dark mode?
167
+ A: **Settings** › **General** › **Appearance**, then pick **Dark** (or **Auto** to follow your computer).
168
+
169
+ Q: Can I stop my laptop sleeping during a long task?
170
+ A: **Keep awake** under **Power** in **Settings** › **General** does this and is on by default. The screen may still turn off.
171
+
172
+ Q: The text is too small. How do I zoom?
173
+ A: Press Cmd/Ctrl + = to zoom in, Cmd/Ctrl + - to zoom out and Cmd/Ctrl + 0 to reset. Every window uses the same zoom.
174
+
175
+ Q: What's in the menu-bar icon?
176
+ A: "New chat session", "New code session", "Remote" (on/off), "Settings", and "Update now" when an update is out. There is no tray icon on Linux.
177
+
178
+ Q: Where can I find the version I'm running?
179
+ A: Next to **What's new** at the top of Home, and marked **Your version** on the release calendar in **Settings** › **About**.
@@ -0,0 +1,154 @@
1
+ # Ken, helpers and extras
2
+
3
+ Ken is GG Coder's second agent in a Code window. GG does the building; Ken is a mentor and reviewer who reads what GG has been doing and gives you a second opinion. This page also covers helper agents (critters), trophies, your level, the radio and celebrations.
4
+
5
+ ## Who Ken is
6
+
7
+ - Ken is a separate, read-only agent that sits alongside GG in the same Code window. He can read GG's conversation, but GG never sees what you say to Ken.
8
+ - Ken doesn't edit your code. He answers questions, reviews work and reviews plans.
9
+ - Ken is available in Code windows only. In Chat and Motion there is no Ken. In Goals, Ken is the face of GG Goals on the farm (see `references/chat-motion-goals.md`).
10
+ - Ken's messages appear in the chat with his little pixel face and the name Ken on top, with a teal stripe, so you can tell them apart from GG's replies.
11
+
12
+ ## Talking to Ken with @Ken
13
+
14
+ - Start your message with `@Ken` followed by your question, for example `@Ken is this approach sound?`. Upper or lower case both work, and a colon after it is fine.
15
+ - The composer placeholder reminds you: **Type a message, / commands, @ files, @Ken for help**. Sometimes it shows a tip such as **Need a second opinion? Ask @Ken** instead.
16
+ - `@Ken` only counts at the very start of the message. While it's there, typing `@` doesn't open the file picker.
17
+ - Your `@Ken` message shows as a solid teal bubble, and Ken's reply streams in below it.
18
+ - Ken can't take attachments. If you attach files to an `@Ken` message you'll see "Ken cannot receive attachments. Remove @Ken to send them to GG."
19
+ - Ken can answer while GG is in the middle of a run; the two work at the same time.
20
+ - An `@Ken` message with nothing after it isn't sent.
21
+
22
+ ## Ken's activity bar
23
+
24
+ - While Ken is answering, an activity bar shows **Ken is thinking…** in Ken's colour, with the elapsed time and his output token count.
25
+ - It has the same tool panel toggle as GG's bar. The red Stop button on the composer stops whichever of GG, Autopilot or Ken is busy.
26
+ - During an Autopilot review the bar reads "Ken reviewing…".
27
+
28
+ ## Ken's model
29
+
30
+ - Ken uses GG's model by default. You can pin a different model for him in the **Model** panel: pick the Ken target, then choose "Follow GG" or a specific model.
31
+ - The choice is saved per project.
32
+ - You can't change Ken's model while GG, Ken or an Autopilot review is running; the control dims until they finish.
33
+ - If Ken or Autopilot hits a model error, the error notice offers a "Switch Ken's model" picker.
34
+ - Paid fast modes are never used by Ken. Details: `references/models-and-sign-in.md`.
35
+
36
+ ## Autopilot
37
+
38
+ - Autopilot makes Ken review GG's work automatically. Turn it on or off with the **Autopilot** switch in the **More** panel, the ⋯ key on the bottom bar. Its light is lit when on. Its tooltip says: **Autopilot: after each run, Ken reviews the work and GG continues if it needs changes**.
39
+ - The setting is saved per project and only exists in Code windows.
40
+ - You can't flip the switch while GG is running or Ken is reviewing.
41
+ - Flipping it shows a brief line over the chat: **Ken is on.** (Ken wakes up with a hop) or **Ken is off.** (he nods off).
42
+
43
+ ### What happens on each run
44
+
45
+ - After GG finishes a run, Ken looks at what you asked for, what GG did and which files changed.
46
+ - If the work needs more, Ken sends GG back in. His message in the chat starts with "Sending GG Coder back in:" followed by what he asked GG to do. GG then runs again and Ken reviews again.
47
+ - If the work is done, Ken posts a short all-clear line.
48
+ - If he thinks you need to decide something, he says so (for example "Need you to weigh in on this one.") and stops.
49
+ - After 3 review rounds for one message, Autopilot pauses with "Paused autopilot after 3 rounds. Take a look before I keep going."
50
+ - Busywork such as commits or status checks isn't reviewed.
51
+ - Ken checks for unfinished work and what you actually asked for; he doesn't chase optional polish.
52
+ - Failed or unfinished checks stay marked Unverified; Ken won't paper over them.
53
+ - Pressing Stop also stops an Autopilot review in progress.
54
+ - If GG asks you a question while Autopilot is on and you don't answer within 2 minutes, it carries on with its best guess (10 minutes without Autopilot). Your later answer still gets sent.
55
+
56
+ ## Plan decisions
57
+
58
+ - When GG submits a plan and Autopilot is on, Ken reviews the plan before you see it in Plan review.
59
+ - He looks for steps that don't need to be there, bad ordering, things split in the wrong place and unhandled cases. He doesn't nitpick taste.
60
+ - If he approves it, he posts "Plan looks solid. Approved it — implementation is underway." and GG starts building.
61
+ - If he has feedback, GG revises the plan in read-only mode, so no code changes before approval.
62
+ - If he hands the plan back to you, the accept controls appear as normal. Your decision always wins. Plan review itself is covered in `references/code-mode.md`.
63
+ - After a decision, a small critter line is left in the chat:
64
+ - Accepted: for example "Plan accepted. The critters are building it".
65
+ - Feedback: for example "Feedback sent. A critter is redrafting the plan".
66
+ - Rejected: for example "Plan rejected. Nothing was built".
67
+
68
+ ## Helper agents (critters)
69
+
70
+ - When GG splits work across helper agents (sub-agents), each helper appears as a little pixel critter above the chat. They beam in, wander, hop when they get a new task and wave goodbye when done. Click one to see it react.
71
+ - A line in the chat tracks the group, led by a critter, for example "Sent a critter off to help…" or "Launched 3 critters to dig in…".
72
+ - The line's colour and wording show the state:
73
+ - Pink and shimmering: still working ("One critter is still on the case…").
74
+ - Green: finished ("The critters are back with the goods").
75
+ - Red: one or more failed ("The critter ran into trouble").
76
+ - Amber: you stopped them ("The critters were called back"). That's not a failure.
77
+ - Small critters also lead rows in popovers such as **Background tasks** and Schedules. Their pose means the same everywhere: hopping is busy, standing is idle or done, sitting and dozing is waiting, and tipped over means something went wrong.
78
+ - Critters also greet you on an empty chat, appear on the Home screen and show up in error notices. They're decoration and don't need any action.
79
+
80
+ ## Level and Scorecard
81
+
82
+ - The context key on the deck (the percentage) opens the **Usage** panel. It has a level row showing your level and rank name, and a **Next level** bar with your XP.
83
+ - Click the level to open the **Scorecard**: your level and rank, a **Streak** with **Your best**, and progress bars for **Prompts**, **Commits** and **Lines shipped** toward the next milestone.
84
+ - You earn XP by using GG Coder. Ranking up shows a "Rank up!" message with the new rank name, and crossing into a new tier fires a confetti burst.
85
+
86
+ ## Trophies
87
+
88
+ - Trophies reward you for trying things GG Coder can do, from your first slash command to long daily streaks.
89
+ - To see them: click the context key on the deck to open **Usage**, then click the trophy button next to your level. It shows how many you've earned.
90
+ - The **Trophies** panel has two tabs: **Earned** and **To earn**. Trophies are grouped by category and graded **Bronze**, **Silver**, **Gold** or **Platinum**.
91
+ - Each trophy on **To earn** shows **How:** with what to do, and a progress bar where it counts up.
92
+ - With none yet, the panel says "No trophies yet. Open To earn to see how to get your first."
93
+ - When you earn one, a card lands in the corner, charges up and flips over with its own sound, then files itself into the context key. Use **Dismiss** to close it early.
94
+
95
+ ## Radio
96
+
97
+ - GG Coder has a built-in internet radio with a list of stations.
98
+ - In a session window: open the **More** panel (the ⋯ key on the bottom bar) and choose **Radio**. Pick a station, then **Play** or **Pause**, and set the volume.
99
+ - If the app crashes or is force-quit, the next launch stops any leftover player.
100
+ - On the Home, Chat and Goals pickers, the radio icon button opens the **Internet Radio** player with a **Station** list, **Play**/**Pause** and **Volume**.
101
+ - While music plays, the deck shows an **On air** key; click it to open the player.
102
+
103
+ ## Common questions
104
+
105
+ Q: Who is Ken?
106
+ A: Ken is GG Coder's second agent in Code windows, a read-only mentor and reviewer. He reads GG's conversation and gives you a second opinion, but never edits code.
107
+
108
+ Q: How do I ask Ken something?
109
+ A: Start your message with `@Ken`, for example `@Ken does this plan make sense?`. His reply appears in the chat with his pixel face.
110
+
111
+ Q: Does GG see what I say to Ken?
112
+ A: No. Ken can read GG's conversation, but your `@Ken` messages and his replies aren't sent to GG.
113
+
114
+ Q: Why can't I attach a file to Ken?
115
+ A: Ken doesn't accept attachments. Remove `@Ken` to send the files to GG instead.
116
+
117
+ Q: Can I use a different model for Ken?
118
+ A: Yes. Open the **Model** panel, choose the Ken target and pin a model, or pick "Follow GG" to match GG. It's saved per project.
119
+
120
+ Q: What does Autopilot do?
121
+ A: After each GG run, Ken reviews the work. If something is missing he sends GG back in, up to 3 rounds per message, then reports or hands it back to you.
122
+
123
+ Q: How do I turn Autopilot on?
124
+ A: Open the **More** panel (the ⋯ key on the bottom bar) and click **Autopilot**. You'll see **Ken is on.** over the chat. It's remembered for that project.
125
+
126
+ Q: Why did Autopilot stop after a few rounds?
127
+ A: It pauses after 3 review rounds for one message so it can't loop forever. Check the work, then send a new message to carry on.
128
+
129
+ Q: How do I stop Ken or an Autopilot review?
130
+ A: Press the red Stop button on the composer. It stops whichever of GG, Autopilot or Ken is working.
131
+
132
+ Q: Did Ken approve my plan without asking me?
133
+ A: With Autopilot on, Ken reviews plans and may approve them, saying "Plan looks solid. Approved it — implementation is underway." With Autopilot off, plans always wait for you in Plan review.
134
+
135
+ Q: What are the little critters above the chat?
136
+ A: They're GG's helper agents. Pink means working, green means done, red means a helper failed, and amber means you called them back.
137
+
138
+ Q: How do I see my trophies?
139
+ A: Click the context key (the percentage) on the deck, then the trophy button next to your level. Use the **To earn** tab to see how to get the rest.
140
+
141
+ Q: How do I earn trophies?
142
+ A: By trying GG Coder's features and using it regularly. Each trophy under **To earn** shows **How:** to get it.
143
+
144
+ Q: Where is my level and Scorecard?
145
+ A: Open **Usage** from the context key and click your level to open the **Scorecard** with your streak, prompts, commits and lines shipped.
146
+
147
+ Q: Why did confetti appear?
148
+ A: You ranked up into a new tier. Ordinary rank-ups show a "Rank up!" message without confetti.
149
+
150
+ Q: How do I play music?
151
+ A: Open **Radio** from the **More** panel (the ⋯ key on the bottom bar), or use the radio button on the Home screen,, pick a station and press **Play**.
152
+
153
+ Q: How do I turn the radio off?
154
+ A: Click the **On air** key on the deck and press **Pause**.
@@ -0,0 +1,176 @@
1
+ # MCP servers and skills
2
+
3
+ ## What MCP servers are
4
+
5
+ MCP servers give the agent extra tools, such as Notion, a database, or a browser. GG Coder keeps its own list of MCP servers. It is separate from Claude Code's list.
6
+
7
+ ## The MCP panel
8
+
9
+ Open Settings and pick the MCP tab (the panel is titled **MCP servers**; its list is titled **Servers**).
10
+
11
+ - Each server has a row with a status icon:
12
+ - Connected: shows how many tools it has (for example "12 tools").
13
+ - **Requires login**: the server needs an OAuth sign-in. Click **Sign in** on the row. Your browser opens to finish the login. When it's done, a message says how many tools are now available.
14
+ - Failed: shows the connection error. If a safety check hid any of the server's tools, those are listed under the row.
15
+ - To remove a server, click the small x at the end of its row.
16
+ - If the list can't be loaded, click **Try again**.
17
+
18
+ ## Adding a server in the panel
19
+
20
+ 1. Under **Add a server**, paste a `claude mcp add …` line, usually copied from the server's docs. Example:
21
+ `claude mcp add --transport http notion https://mcp.notion.com/mcp`
22
+ 2. Choose a scope:
23
+ - "Global": saved to `~/.gg/mcp.json` and used in every project.
24
+ - "Project": saved to that project's `.gg/mcp.json`. Type the project path or pick one from the list.
25
+ 3. Click **Add** (or press Enter).
26
+
27
+ If the server connects, you see its tool count. If it needs OAuth, it is saved and you click **Sign in**. If it can't connect, it is still saved, and the message gives the reason.
28
+
29
+ The panel shows one scope at a time. Switch between "Global" and "Project" to see each list.
30
+
31
+ ## The `!` route: pasting a command into the chat input
32
+
33
+ Type `!` and then paste a `claude mcp …` or `ggcoder mcp …` line. GG Coder runs it itself instead of passing it to a shell, so the line changes GG Coder's servers, not Claude Code's.
34
+
35
+ Supported subcommands:
36
+ - `add`: http/sse servers (`--transport http <name> <url>`, `--header "K: V"`, `--client-id`, `--callback-port`) or stdio servers (`<name> -- <command> [args…]`, or `<name> <command> …` without `--`, `--env K=V`)
37
+ - `add-json <name> '<json>'`
38
+ - `list`
39
+ - `get <name>`
40
+ - `remove <name>` (or `rm`), optionally with `--scope local|user`
41
+ - `help` (also shown when nothing follows `mcp`)
42
+
43
+ Forms it accepts:
44
+ - A leading `$ ` copied from docs is ignored.
45
+ - Lines broken with a trailing `\` are joined.
46
+ - Quotes work as they do in a shell.
47
+ - For a pre-registered OAuth client secret, put the secret in front of the command: `MCP_CLIENT_SECRET=… claude mcp add --client-id <id> --client-secret …`. The secret is kept for sign-in, never written to `mcp.json`, and hidden in the saved command.
48
+
49
+ Scope:
50
+ - No `--scope`: this project's `.gg/mcp.json`. This matches Claude Code, whose default is the current project.
51
+ - `-s user` (or `--scope user` / `global`): `~/.gg/mcp.json`, for every project.
52
+ - Claude Code's `local` and `project` scopes both go to this project's `.gg/mcp.json`.
53
+
54
+ To run the real Claude Code CLI instead, type `!command claude mcp …`.
55
+
56
+ Like every `!` command, it first asks **Run this command?**. Click "Run once", "Always allow in this project", or "Cancel". If the project is already set to always allow, it runs without asking.
57
+
58
+ ## When changes take effect
59
+
60
+ A server you add or remove loads into all open windows right away, with no restart. The output says if the server also loaded in other open windows. After you remove a server, the agent is told its tools no longer work.
61
+
62
+ ## Project servers and trust
63
+
64
+ Servers in a project's `.gg/mcp.json` only connect when the project is trusted. Adding a project-scope server, in the panel or with `!claude mcp add`, marks that project as trusted.
65
+
66
+ ## How the agent finds MCP tools
67
+
68
+ MCP tools are often not loaded up front. The agent searches for them with its `tool_search` tool, by capability or by server name, and then uses them. When a server is added mid-session, the agent gets a note listing its tools.
69
+
70
+ ## Guidance for the agent
71
+
72
+ When a user asks you to add an MCP server, give them the exact `!claude mcp add …` line to paste into the chat input (or tell them to paste it into the MCP panel). Do not run `claude mcp add` in your own bash tool: that changes Claude Code's config, not GG Coder's.
73
+
74
+ ## MCP servers asking for input
75
+
76
+ Some MCP servers stop in the middle of a tool call to ask a question, such as a name, a choice or a confirmation. A dialog titled "<server> needs your input" opens in the app with the server's message and form fields.
77
+ - Fill in the fields and click **Send** (Enter also sends when the form is complete).
78
+ - **Decline** says no to the request. **Cancel** cancels it.
79
+ - If two servers ask at once, the dialogs queue and show one at a time.
80
+ - Some servers ask for confirmation with no fields; then the dialog only has the buttons.
81
+
82
+ ## Skills
83
+
84
+ A skill is a set of instructions for one kind of work. The agent sees each skill's name and description and loads the full skill when a task fits it. GG Coder ships with built-in skills. A user skill with the same name replaces the built-in one.
85
+
86
+ Where to put your own skills:
87
+ - Global, for all projects: `~/.gg/skills/`
88
+ - This project only: `.gg/skills/` in the project. A project skill replaces a global one with the same name.
89
+ - Layout: either `<name>/SKILL.md` or a single `<name>.md` file, with `name` and `description` frontmatter. Adding `hidden: true` leaves it out of the list the agent sees, but it can still be loaded by name.
90
+
91
+ When new skills load: skills are read when a session starts, so a new skill is available in the next new chat, not the current one.
92
+
93
+ ## Skills in Chat and Motion
94
+
95
+ Each mode keeps its own skills:
96
+ - Chat: user skills go in the GG Chat workspace's `.gg/skills/` folder as `<name>/SKILL.md`. Every Chat session and all three chat agents can use them. Chat does not use the built-in or global coding skills, and Coder and Motion can't use Chat's skills.
97
+ - Motion: user skills go in the GG Motion workspace's `.gg/skills/` folder. They add to Motion's built-in video skills but cannot replace them. Coder and Chat can't use them.
98
+ - Coder: global skills in `~/.gg/skills/` or project skills in `.gg/skills/`. When you ask for a new skill in Coder, the agent asks whether it is for this project or every project.
99
+ - In every mode, a new skill loads in the next session or chat.
100
+
101
+ Motion's built-in skills cover the different video types: app walkthroughs, before/after videos, brand kits, developer tool videos, launch videos, matching a reference video, website videos and taking in source material.
102
+
103
+ ## Blocked skills
104
+
105
+ Every user skill is scanned for safety when it loads. A skill that matches a malware, data-exfiltration, or hiding rule is not loaded, and you are never prompted about it. The app shows a warning once: "Skill "<name>" blocked for safety: <reason>". It shows again only if the skill's content changes.
106
+
107
+ ## Built-in skills
108
+
109
+ GG Coder ships these skills for Coder mode. Each loads only when the task matches it:
110
+ - `bulletproof`: security for code an attacker can reach, such as logins, uploads, payments, secrets and other users' data. It reports what was checked, what was fixed and what is still open.
111
+ - `compliance-guard`: the legal side of shipping to real users, such as which privacy laws apply and what consent, notices and policies the product needs.
112
+ - `durable`: keeping stored data safe before anything that could delete, overwrite or reshape it, and checking backups and recovery.
113
+ - `lean`: making software faster or lighter when speed, memory, CPU or size is the problem.
114
+ - `gg-guide`: how GG Coder itself works. The agent uses it to answer questions about the app.
115
+
116
+ A user skill with the same name as a built-in one replaces it in Coder mode.
117
+
118
+ ## Making a new skill
119
+
120
+ Ask GG to make one, for example "make a skill for writing our release notes". The agent knows where each mode keeps skills, writes the `SKILL.md` with a name and description, and in Coder asks whether it is for this project or every project. Start a new chat to use it.
121
+
122
+ You can also write one by hand in the folders above. Keep the description short and say when to use it, because the agent decides from the description alone whether to load the skill.
123
+
124
+ ## Steroids
125
+
126
+ Steroids is a separate tab in Settings with extra agent options. See `references/settings.md`.
127
+
128
+ ## Common questions
129
+
130
+ Q: How do I add an MCP server?
131
+ A: Paste the server's `claude mcp add …` line into Settings, MCP, under **Add a server**, pick a scope and click **Add**. Or type `!` in the chat input followed by the same line.
132
+
133
+ Q: How do I remove an MCP?
134
+ A: Click the small x at the end of its row in the MCP panel, or type `!claude mcp remove <name>` in the chat input.
135
+
136
+ Q: Do I need to restart after adding an MCP?
137
+ A: No. Added or removed servers load into all open windows right away.
138
+
139
+ Q: Where is my MCP config saved?
140
+ A: Global servers are in `~/.gg/mcp.json`; project servers are in the project's `.gg/mcp.json`. GG Coder's list is separate from Claude Code's.
141
+
142
+ Q: I ran `claude mcp add` in a terminal and GG can't see the server. Why?
143
+ A: That changes Claude Code's config, not GG Coder's. Run it with `!` in the GG chat input or paste it into the MCP panel instead.
144
+
145
+ Q: My server says Requires login. What do I do?
146
+ A: Click **Sign in** on its row and finish the login in your browser.
147
+
148
+ Q: My project server won't connect.
149
+ A: Project servers only connect in trusted projects. Adding the server for that project from the MCP panel or with `!claude mcp add` trusts the project.
150
+
151
+ Q: How do I see which servers I have?
152
+ A: Open the MCP panel and switch between "Global" and "Project", or type `!claude mcp list`. Use `!claude mcp get <name>` for one server.
153
+
154
+ Q: The server needs a client secret. How do I pass it?
155
+ A: Put `MCP_CLIENT_SECRET=…` in front of the add command. The secret is kept for sign-in and never written to `mcp.json`.
156
+
157
+ Q: A popup says a server needs my input. What is it?
158
+ A: An MCP server is asking a question mid-task. Fill it in and click **Send**, or click **Decline** or **Cancel**.
159
+
160
+ Q: The agent isn't using my MCP tools.
161
+ A: Check the server is connected in the MCP panel, then ask the agent to use that server by name; it finds MCP tools with `tool_search`.
162
+
163
+ Q: What skills come built in?
164
+ A: In Coder: `bulletproof`, `compliance-guard`, `durable`, `lean` and `gg-guide`. Motion has its own video skills.
165
+
166
+ Q: How do I make my own skill?
167
+ A: Ask GG to make one. It puts the skill in the right folder for the mode you are in.
168
+
169
+ Q: I added a skill but the agent doesn't use it.
170
+ A: Skills load when a session starts, so open a new chat. Also make sure it is in the right mode's folder and has `name` and `description` frontmatter.
171
+
172
+ Q: Can Chat use my coding skills?
173
+ A: No. Chat, Motion and Coder each use their own skills.
174
+
175
+ Q: Why was my skill blocked?
176
+ A: It matched a safety rule for malware, data theft or hiding instructions. The warning gives the reason. It stays blocked while its content matches the rule.