Agent skill

Switching Projects

by spencerpauly in spencerpauly/awesome-cursor-skills

Switch the current Cursor workspace to a different project directory using the cursor-app-control MCP.

CC0-1.0Auto-check passedDevelopment

Install Switching Projects

skills CLI
$ npx skills add spencerpauly/awesome-cursor-skills --skill switching-projects -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install spencerpauly/awesome-cursor-skills switching-projects --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/switching-projects .claude/skills/switching-projects && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
switching-projects
GitHub stars
843
Token cost
~557 tokens
SKILL.md length
261 words
Files
1
Skills in repo
60
Repo updated
First seen
Licence
CC0-1.0

At a glance

Switch the current Cursor workspace to a different project directory using the cursor-app-control MCP.

  • Works in 3 steps: Ask or infer the target project — if the… → Switch the workspace — call the… → Orient in the new project — after…
  • The user asks to switch projects
  • SKILL.md covers How It Works, Steps, Creating a New Project and Notes
  • Calls git

What it does

Switching Projects is an agent skill from spencerpauly/awesome-cursor-skills. Switch the current Cursor workspace to a different project directory using the cursor-app-control MCP. Use when the user asks to switch projects, open another repo, jump to a different codebase, or move to a worktree.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git worktrees. It works with Model Context Protocol. The repository describes itself as: A curated list of awesome skills for Cursor. The licence is CC0-1.0.

When your agent uses it

  • The user asks to switch projects
  • Open another repo
  • Jump to a different codebase
  • Move to a worktree

Example prompts

  • “/switching-projects”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Ask or infer the target project — if the user says "switch to my-app", search for it. Common project locations
  2. Switch the workspace — call the cursor-app-control MCP tool
  3. Orient in the new project — after switching, briefly describe what you see

What it can do on your machine

Read from SKILL.md and the folder at commit 99cd265. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Switching Projects loads about 557 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 261 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~557

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from spencerpauly/awesome-cursor-skills at commit 99cd265, republished under its CC0-1.0 licence (© spencerpauly). 261 words, ~557 tokens.

Download SKILL.mdSave it as .claude/skills/switching-projects/SKILL.md (or your agent's skills folder).
name
switching-projects
description
Switch the current Cursor workspace to a different project directory using the cursor-app-control MCP. Use when the user asks to switch projects, open another repo, jump to a different codebase, or move to a worktree.

Switch Project

Use this skill when the user wants to switch to a different project, open another codebase, or move the current conversation to a different workspace root.

How It Works

Cursor has a built-in MCP server called cursor-app-control with a tool called move_agent_to_root that changes the agent's active workspace directory. This lets you switch projects mid-conversation without opening a new window.

Steps

  1. Ask or infer the target project — if the user says "switch to my-app", search for it. Common project locations:

    • ~/Documents/development/
    • ~/projects/
    • ~/code/
    • ~/repos/

    List directories in the likely parent folder to find the project:

    bash
    ls ~/Documents/development/

    If ambiguous, ask the user which project they mean.

  2. Switch the workspace — call the cursor-app-control MCP tool:

    Tool: move_agent_to_root
    Arguments: { "rootPath": "/Users/<username>/Documents/development/<project-name>" }

    This updates the visible workspace, file tree, and default working directory for all subsequent commands.

  3. Orient in the new project — after switching, briefly describe what you see:

    • Read the project's package.json, README.md, or equivalent to understand the stack.
    • Run git status to show the current branch and state.
    • List the top-level directory structure.

Creating a New Project

If the user wants to start a new project and switch to it:

  1. Call create_project with the desired path — this creates the directory and initializes a git repo.
  2. Call move_agent_to_root to switch into it.
  3. Begin scaffolding.

Notes

  • This only works if the cursor-app-control MCP server is enabled.
  • The switch happens in the current conversation — no new window is opened.
  • All file paths in subsequent tool calls will resolve relative to the new root.
  • You can switch back to the original project the same way.

© spencerpauly, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in resources/switching-projects of spencerpauly/awesome-cursor-skills.

Open the folder on GitHubat commit 99cd265

Compare with similar skills

Switching Projects next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Switching Projects compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Switching Projects this skillspencerpauly/awesome-cursor-skills843—~557Automated safety check: PassCC0-1.0
Projectatlasstyler-ai/ProjectAtlas441—~9.2kAutomated safety check: PassMIT
Lanes Sessionslanes-sh/app273—~4.3kAutomated safety check: PassNone
Codebase Memory MCPvincentkoc/dotskills107—~3kAutomated safety check: PassMIT
MCP Attribution WorktreeTencentCloudBase/CloudBase-AI-Toolkit1.1k—~3.5kAutomated safety check: PassMIT
Omh Harness Session Inventoryrlaope/oh-my-hermes3.2k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Projectatlas

    styler-ai/ProjectAtlas

    Use ProjectAtlas before broad source reads, preferring the installed short atlas CLI for an exact checkout and MCP for registered worktree routing, compact session briefs, or federated graph evidence.

    441 GitHub stars~9.2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Lanes Sessions

    lanes-sh/app

    A skill your agent uses when managing Lanes issues or driving Claude Code sessions through the lanes MCP tools — creating issues, starting/stopping/inspecting sessions, batch-launching work across…

    273 GitHub stars~4.3k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Codebase Memory MCP

    vincentkoc/dotskills

    Resolve canonical Git checkouts, index and verify codebase-memory-mcp graphs through the guarded CLI, and safely audit duplicate worktree caches.

    107 GitHub stars~3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • MCP Attribution Worktree

    TencentCloudBase/CloudBase-AI-Toolkit

    Triage, repair, and close MCP attribution issues from the local report API with evidence-driven decisions and isolated Worktrunk worktrees.

    1.1k GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check passed
  • [omh] Lost track of agent sessions and worktrees: normalize Codex, Claude Code, Hermes, OpenCode, Cursor, MCP host, worktree, and wrapper session metadata into one drift-aware inventory.

    3.2k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Chain Patterns

    yonatangross/orchestkit

    Chain patterns for multi-phase pipelines: MCP detection, handoff files, checkpoint-resume, worktree agents, CronCreate monitoring.

    290 GitHub stars~5.1k tokensUpdated today
    DevelopmentAuto-check passed

More from spencerpauly/awesome-cursor-skills

All 60 skills in this repo
  • Generating Images

    spencerpauly/awesome-cursor-skills

    Generate or edit images using the OpenAI Image API (gpt-image-2).

    843 GitHub stars~3.7k tokensUpdated 2 mo ago
    Auto-check: notes
  • Babysitting PR

    spencerpauly/awesome-cursor-skills

    Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically.

    843 GitHub stars~930 tokensUpdated 2 mo ago
    Auto-check passed
  • Best Of N Solving

    spencerpauly/awesome-cursor-skills

    Solve a hard problem by trying multiple approaches in parallel using isolated git worktrees.

    843 GitHub stars~698 tokensUpdated 2 mo ago
    Auto-check passed
  • Grinding Until Pass

    spencerpauly/awesome-cursor-skills

    Keep iterating on code changes until the tests pass, the build succeeds, or linting is clean.

    843 GitHub stars~796 tokensUpdated 2 mo ago
    Auto-check passed
  • Parallel CI Triage

    spencerpauly/awesome-cursor-skills

    When GitHub Actions fails, fetch failing job logs and assign each failing job to a separate subagent that fixes its slice of the problem in parallel.

    843 GitHub stars~793 tokensUpdated 2 mo ago
    Auto-check passed
  • Parallel Exploring

    spencerpauly/awesome-cursor-skills

    Explore a large codebase in parallel by launching multiple explore subagents that each investigate a different area simultaneously.

    843 GitHub stars~787 tokensUpdated 2 mo ago
    Auto-check: notes

Categories

Questions about Switching Projects

What does Switching Projects do?

Switch the current Cursor workspace to a different project directory using the cursor-app-control MCP. Switching Projects is an agent skill from spencerpauly/awesome-cursor-skills. Switch the current Cursor workspace to a different project directory using the cursor-app-control MCP.

When should I use Switching Projects?

Switching Projects fits situations like: the user asks to switch projects; open another repo; jump to a different codebase; move to a worktree.

How do I install Switching Projects in Claude Code?

Run `npx skills add spencerpauly/awesome-cursor-skills --skill switching-projects -a claude-code`. Or copy the skill folder (resources/switching-projects in spencerpauly/awesome-cursor-skills) into .claude/skills/switching-projects in your project. Claude Code loads it when a task matches its description.

How do I install Switching Projects in Codex?

Run `npx skills add spencerpauly/awesome-cursor-skills --skill switching-projects -a codex`. Or copy the skill folder (resources/switching-projects in spencerpauly/awesome-cursor-skills) into .agents/skills/switching-projects in your project. Codex loads it when a task matches its description.

Can I use Switching Projects in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add spencerpauly/awesome-cursor-skills --skill switching-projects -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/switching-projects, .gemini/skills/switching-projects, .github/skills/switching-projects and .opencode/skills/switching-projects in your project.

What does Switching Projects need to run?

Going by SKILL.md and its folder, Switching Projects needs the command-line tools its instructions call (git).

Does Switching Projects access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Switching Projects safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Switching Projects use?

Switching Projects is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Switching Projects use?

About 557 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Switching Projects?

Skills that share tags, products or a category with Switching Projects: Projectatlas (styler-ai/ProjectAtlas, 441 stars), Lanes Sessions (lanes-sh/app, 273 stars), Codebase Memory MCP (vincentkoc/dotskills, 107 stars) and MCP Attribution Worktree (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Switching Projects?

spencerpauly (a GitHub user) maintains it in spencerpauly/awesome-cursor-skills, which has 843 GitHub stars. The repository holds 60 skills in this directory. The repository was last updated on August 2, 2026.

Source: spencerpauly/awesome-cursor-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.