plugins/claude-code-expert/skills-old/runtime-selection/SKILL.md
Execution environment selection guide — helps choose between local CLI, Desktop, web, remote SSH, cloud tasks, and cowork sessions based on task requirements. Decision matrix with concrete examples.
npx skillsauth add markus41/claude plugins/claude-code-expert/skills-old/runtime-selectionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Claude Code runs in multiple environments. Choosing the wrong one wastes time. This guide gives you a decision matrix and concrete examples for each runtime.
| Need | Use | |------|-----| | Local files + git + full toolchain | CLI (terminal) or Desktop | | Long-running background work, no machine required | Cloud Scheduled Task | | GUI interaction, visual testing, native apps | Desktop + Computer Use | | Pair programming with a colleague | Cowork (Web) | | SSH into a remote server | SSH session | | Quick Q&A without a project | Web (claude.ai/code) | | Recurring autonomous engineering | Desktop Task or Cloud Task | | CI/CD pipelines | GitHub Actions (headless) |
Best for: Most day-to-day coding work.
Has access to: Local files, all local MCP servers, git, project toolchain, ~/.claude/ config.
Invocation:
claude # Interactive REPL
claude "fix the auth bug" # One-shot
claude --print "explain this" > output.md # Headless, pipe output
Choose CLI when:
Best for: Background tasks, GUI automation, persistent scheduled tasks, and working without a terminal.
Has access to: Everything CLI has, plus computer use (GUI), Desktop-specific scheduled tasks, and a more polished UI.
Invocation: Open the Desktop app. Start a conversation or create a scheduled task.
Choose Desktop when:
Desktop vs CLI:
| | CLI | Desktop |
|--|-----|---------|
| Scheduled tasks | Session-scoped /loop only | Persistent, survive restarts |
| Computer use | No | Yes |
| Local MCP | Yes | Yes |
| Background while you work | No | Yes |
Best for: Tasks that don't need local files, collaborative review, or starting a session on any machine.
Has access to: MCP connectors you configure, GitHub (via connector), no local filesystem.
Invocation: Visit claude.ai/code in a browser.
Choose Web when:
Limitation: Cannot access local files, local MCP servers, or local toolchain.
Best for: Real-time collaboration — pair programming, architecture review, team debugging.
Has access to: Same as Web. Both participants see Claude's actions in real time.
Invocation: Start a Web session, invite a colleague via shared URL.
Choose Cowork when:
Best for: Working on a remote server (cloud VM, staging environment, production read-only access).
Has access to: Files and toolchain on the remote machine. Claude Code CLI installed remotely.
Invocation:
ssh user@remote-server
claude # runs on the remote machine
Or with VS Code Remote:
Open Remote-SSH connection in VS Code
Claude Code extension runs on the remote machine
Choose SSH when:
Best for: Autonomous recurring work that must run without your machine or session.
Has access to: Fresh repo clone via GitHub connector. No local files. Configured connectors only.
Choose Cloud Scheduled Tasks when:
Comparison to Desktop tasks:
| | Desktop Task | Cloud Task | |--|-------------|------------| | Requires machine on | Yes | No | | Local files | Yes | No (fresh clone only) | | Local MCP servers | Yes | No | | Minimum interval | 1 minute | 1 hour | | Persists across restarts | Yes | Yes (cloud-managed) |
Best for: PR-triggered automation, commit hooks, deployment workflows.
Has access to: Actions runner environment (fresh clone, secrets, GitHub API).
Choose GitHub Actions when:
Quick setup:
- name: Claude PR Review
uses: anthropics/claude-code-action@beta
with:
prompt: "Review this PR for security and correctness issues"
allowed_tools: "Bash,Read,Grep"
Do you need local files or toolchain?
├── Yes → Local required
│ ├── Need GUI / computer use? → Desktop
│ ├── Need recurring background task? → Desktop Scheduled Task
│ └── Just coding? → CLI
└── No → Cloud ok
├── Need collaboration? → Web + Cowork
├── Need recurring autonomous work? → Cloud Scheduled Task
├── Triggered by git events? → GitHub Actions
├── On a remote server? → SSH
└── Quick Q&A? → Web
/cc-schedule for Automation DecisionsFor tasks involving scheduling, /cc-schedule generates optimized prompts for Desktop, Cloud, or /loop based on the task type. It handles the choice automatically for 6 common maintenance workflows.
development
Enhanced plan-authoring skill with Pre-Writing context gathering, task metadata, non-TDD templates, Red Flags, telemetry, and an automated plan linter. Use when you have a spec or requirements for a multi-step task, before touching code.
tools
Documentation intelligence engine with graph-based API docs, algorithm library, and drift detection
tools
Ultraplan cloud planning — kick off a plan in the cloud from your terminal, review and revise in the browser, then execute remotely or send back to CLI
tools
--- name: mcp description: Configure MCP servers for Claude Code — stdio vs HTTP, authentication, Tools/Resources/Prompts distinction, channels (CI webhook, mobile relay, Discord bridge, fakechat), and cost of always-loaded tools. Use this skill whenever adding an MCP server, debugging connection issues, choosing between MCP Tools vs Prompts vs Resources, installing channel servers, or managing .mcp.json. Triggers on: "MCP server", "mcp config", "add Obsidian MCP", "install context7", "channels"