consult-user-mcp / windows-app
CLAUDE.md39 starsChanged 4 months agoMITView on GitHub
The Windows counterpart to macos-app/. Persistent WPF tray application: settings, snooze, history, projects, updates, MCP auto-install, startup registration, and a debug dialog runner. Cannot be built or run from macOS. See the windows-build skill. Same two-process split as macOS. This app never shows a dialog; it configures the [[Dialog CLI]] that does, through files under %APPDATA%\ConsultUserMCP\: Services are singletons (SettingsManager, SnoozeManager, UpdateManager). Settings views are plain WPF XAML + code-behind — there is no MVVM framework, and adding one is…
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- container/CLAUDE.mdCLAUDE.md
- dialog-cli/CLAUDE.mdCLAUDE.md
- dialog-cli-windows/CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- macos-app/CLAUDE.mdCLAUDE.md
- mcp-server/CLAUDE.mdCLAUDE.md
- sketch-cli/CLAUDE.mdCLAUDE.md
- test-cases/CLAUDE.mdCLAUDE.md
- beadsSkill
- release-appSkill
- windows-buildSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
No automated tests. Verify by hand through the tray debug menu, and check that a settings change reaches a live dialog.
≈ “Common” is an estimate: at least 1 in 5 of the 27,641 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tray App (Windows)
What this is
The Windows counterpart to macos-app/. Persistent WPF tray application: settings, snooze, history, projects, updates, MCP auto-install, startup registration, and a debug dialog runner.
Cannot be built or run from macOS. See the windows-build skill.
Mental model
Same two-process split as macOS. This app never shows a dialog; it configures the [[Dialog CLI]] that does, through files under %APPDATA%\ConsultUserMCP\:
settings.json— user preferences, written here, read by the CLIsnooze-state.json— snooze, written by whichever side the user triggered it from
Services are singletons (SettingsManager, SnoozeManager, UpdateManager). Settings views are plain WPF XAML + code-behind — there is no MVVM framework, and adding one is not a drive-by change.
Hardcodet.NotifyIcon.Wpf provides the tray icon; System.Drawing.Common generates icon images at runtime.
Important invariants
- Settings writes are atomic — write to a temp file, then rename. A torn
settings.jsonbreaks every subsequent dialog. %APPDATA%\ConsultUserMCPcannot be renamed. Existing users' data lives there.- The Velopack bootstrap is deliberate and fragile.
App.xamlis aPage, not anApplicationDefinition; the entry point is a customMainwithStartupObjectset in the csproj. Reverting this to the WPF default breaks updates. MCPInstallerwrites outside this app. It auto-configures the Claude Code MCP server on first run. Changes here affect a file the user may also edit by hand.StartupManagerwrites toHKCU\...\Run. Registry, not a config file.- A settings key added here is invisible to dialogs until
SettingsReader.csindialog-cli-windows/reads it too.
Common change patterns
Adding a setting → the model in Models/DialogSettings.cs, the write in Services/SettingsManager.cs, a control in the relevant Settings/*SettingsView.xaml, and the reader in dialog-cli-windows/Services/SettingsReader.cs.
Porting a macOS tray feature → the service layout mirrors macos-app/Sources/. Match behaviour, not code shape; the UI frameworks are not comparable.
Touching the installer → scripts/build-windows-installer.ps1. It runs with $ErrorActionPreference = "Stop", so any command that writes to stderr aborts the build. Wrap npm/npx calls the way the existing ones are wrapped.
Verification
On the Windows machine only:
cd windows-app && dotnet build
powershell -ExecutionPolicy Bypass -File scripts\build-windows-installer.ps1No automated tests. Verify by hand through the tray debug menu, and check that a settings change reaches a live dialog.
Related context
.claude/skills/windows-build/SKILL.md— SSH access, prerequisites, gotchas.claude/skills/release-app/SKILL.md— Windows release requires assets on the release../dialog-cli-windows/CLAUDE.md— the process on the other side ofsettings.json../macos-app/CLAUDE.md— the equivalent this mirrors
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

