xiaohongshu
xiaohongshu
bg3-steam-launcher
Launch Baldur's Gate 3 through Steam on macOS and load saved games using macos-automator and peekaboo MCP servers. Designed for testing bg3se-macos (Script Extender) development. Use when: (1) launching BG3 from Steam, (2) loading a BG3 saved game, (3) testing SE mod injection, (4) user asks to "...
Full skill instructions
Automate launching Baldur's Gate 3 via Steam and loading saved games.
MCP Servers Used:
claude mcp add macos-automator -- npx -y @steipete/macos-automator-mcp@latest
claude mcp add peekaboo -- npx -y @steipete/peekaboo-mcp@beta
Grant accessibility permissions to osascript in System Preferences → Security → Accessibility.
| Tool | Use |
|---|---|
mcp__peekaboo__image | Capture screenshot of screen/app/window |
mcp__peekaboo__analyze | Ask AI questions about screenshots |
mcp__peekaboo__list | List running apps and windows |
| Tool | Use |
|---|---|
mcp__macos-automator__execute_script | Run AppleScript/JXA |
mcp__macos-automator__get_scripting_tips | Search automation scripts |
do shell script "open steam://run/1086940"
BG3 Steam App ID: 1086940
Use Peekaboo to monitor for the PLAY button, then click it.
Poll with Peekaboo screenshots looking for Continue/Load Game/New Game buttons.
Navigate menus using keyboard (Enter=36, Esc=53, arrows) or mouse coordinates.
Standard AppleScript click at doesn't work for game UIs. Use JXA with CGEvent:
// Execute with language: "javascript"
ObjC.import('Cocoa');
function clickAt(x, y) {
const point = $.CGPointMake(x, y);
const down = $.CGEventCreateMouseEvent($(), $.kCGEventLeftMouseDown, point, $.kCGMouseButtonLeft);
const up = $.CGEventCreateMouseEvent($(), $.kCGEventLeftMouseUp, point, $.kCGMouseButtonLeft);
$.CGEventPost($.kCGHIDEventTap, down);
delay(0.05);
$.CGEventPost($.kCGHIDEventTap, up);
}
// Get window-relative coordinates
function getWindowClickPos(processName, xPercent, yPercent) {
const se = Application('System Events');
const proc = se.processes.byName(processName);
const win = proc.windows[0];
const pos = win.position();
const size = win.size();
return {
x: pos[0] + (size[0] * xPercent),
y: pos[1] + (size[1] * yPercent)
};
}
// Example: click PLAY button (22% across, 87% down)
const coords = getWindowClickPos('bg3', 0.22, 0.87);
clickAt(coords.x, coords.y);
| App | Process Name | Bundle ID |
|---|---|---|
| Steam | Steam | com.valvesoftware.steam |
| BG3 (Launcher & Game) | bg3 | com.larian.bg3 |
| Screen | Element | X | Y |
|---|---|---|---|
| Larian Launcher | PLAY button | 22% | 87% |
| Main Menu | Continue | 310 | 510 |
| Main Menu | Load Game | 310 | 610 |
| Load Screen | First save slot | 200 | 230 |
| Load Screen | Load Game button | 870 | 1050 |
| Mod Verification | Start Game button | 720 | 1000 |
Build:
cd /path/to/bg3se-macos && ./scripts/build.sh
Verify SE wrapper in Steam launch options:
/tmp/bg3w.sh %command%
Launch via this skill and load a save
Check SE logs:
tail -f /tmp/bg3se_macos.log
SE Log: /tmp/bg3se_macos.log
macOS Crash Reports: ~/Library/Logs/DiagnosticReports/
Baldur's Gate 3-YYYY-MM-DD-HHMMSS.ips# List recent BG3 crash reports
ls -la ~/Library/Logs/DiagnosticReports/ | grep -i "baldur"
# Find crash location in our dylib
grep -A5 "libbg3se.dylib" ~/Library/Logs/DiagnosticReports/'Baldur'\''s Gate 3-*.ips'
| Issue | Solution |
|---|---|
| Click doesn't work | Use JXA CGEvent (see above) |
| Permission denied | System Preferences → Accessibility → enable osascript |
| Can't see screen | Use mcp__peekaboo__image with app_target: "screen" |
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience