← Back to Part 3

Local AI Architecture Deep Dive / Part 4

Arcade Commands & Tools

A collection of slash commands for the Workshop editor. Use these commands to manage your games, edit files, and interact with the AI assistant effectively.

clear clear.js

Locally clears the arcade chat history. Useful for starting fresh or when you want to reset your conversation context.

  • /clear
File: clear.js
deep deep.js

Triggers a Deep Reasoning session for high-complexity architectural tasks. Reuses the edit command logic to target resolution while allowing AI to take over with the new mode.

  • /deep
File: deep.js
edit edit.js

Opens the editor to the active game, reads its contents, and lets AI decide what changes are needed. Specialized for Workshop file editing with surgical patching support.

  • /edit
File: edit.js
find find.js

Searches the Workshop editor for a specific string and navigates to it. Usage: /find <text>. Shows line numbers when found.

  • /find <text>
File: find.js
fix fix.js

Specialized protocol for rapid bug fixing. Uses a token-based system to identify target files and surgical edits, allowing quick resolution of issues without full file replacement.

  • /fix <title> <description>
File: fix.js
help help.js

Displays a dynamic list of all registered commands. Shows descriptions and usage examples for each command.

  • /help
File: help.js
idea idea.js

Triggers the AI to brainstorm 3 unique game ideas based on a genre or topic. Useful for generating new concepts when stuck.

  • /idea <genre>
File: idea.js
manager manager.js

The central orchestrator for all Arcade commands. Handles command parsing, stacking (e.g., /edit /fix), and routing to the appropriate handler based on user input.

  • /manager
File: manager.js
plan plan.js

Requests a detailed pseudocode planning block from the AI before any implementation. Uses the REASONING_ORCHESTRATOR_V1 protocol to ensure structured thinking and avoid common pitfalls.

  • /plan <topic>
File: plan.js
publish publish.js

Handles Workshop Arcade publish actions. If called without arguments, it triggers a random game generation; with arguments, it lets the AI handle publishing. Supports markdown code blocks for file content.

  • /publish
File: publish.js
rewrite rewrite.js

Requests a complete replacement for the active Workshop editor file. Uses surgical patching to apply targeted changes while maintaining context from the original file.

  • /rewrite <title> <description>
File: rewrite.js
vram vram.js

Flushes VRAM by unloading models from the local inference server. Useful for freeing up memory when you're working with large models or have low RAM. Requires bridge communication to function properly.

  • /vram
File: vram.js
← Back to Part 3 Finish Guide →