Skip to content
Skill

Factory reset vscode fork IDE

Resets a VSCode-based AI IDE to factory state by removing extensions and user settings

Factory reset vscode fork IDE is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Factory reset vscode fork IDE

This skill guides an agent through wiping a VSCode fork, such as Qoder CN, Trae, Cursor or Windsurf, back to a clean state. It covers force-uninstalling every imported or built-in extension, sending leftover extension folders to the Recycle Bin, and resetting the user-level settings.json, keybindings.json and snippets. Work is scoped to the target product's own data folder, identified from its product.json, so sibling products on the same machine are left alone.

The workflow starts with a preflight: it checks that the IDE is closed, finds a working extension-management CLI among the bin commands, confirms the install is real rather than an empty shell, and lists neighbouring directories before deleting anything. It then uninstalls extensions in a loop, falls back to editing the extension registry directly when the CLI uninstall path is broken, and verifies the result with four checks. The skill also notes that some built-in extensions are re-deployed on the next launch and can be ignored.

It is written for Windows and expects Git Bash and PowerShell. Deletions use Recycle Bin sends rather than permanent removal, and no backups are created by default.

When your agent uses it

将基于 VSCode 二次开发的 IDE(如 Qoder CN IDE、Trae、Cursor、Windsurf、Cline 类)还原到出厂状态:强制卸载全部导入/内置的 vscode 插件、删除扩展残留文件夹、重置用户级 settings.json / keybindings.json / snippets。当用户提到「还原出厂」「清空插件」「删除导入的 vscode 扩展」「重置 IDE 配置」「二次开发 IDE 清理」「factory reset」「uninstall all extensions」,或给出某个 IDE 安装目录要求删光其插件与个人配置时使用。内置 CLI 选错入口、built-in 扩展拦截、目录找错时的主动探索方案。

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (32 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the low-frequency-skill plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ruan-cat/monorepo
/plugin install low-frequency-skill@ruan-cat-tools

Or copy only this skill to ~/.claude/skills/factory-reset-vscode-fork-ide:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/factory-reset-vscode-fork-ide &&
cp -R "$tmp/ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide" ~/.claude/skills/factory-reset-vscode-fork-ide &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/factory-reset-vscode-fork-ide inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/factory-reset-vscode-fork-ide to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/factory-reset-vscode-fork-ide &&
cp -R "$tmp/ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide" ~/.agents/skills/factory-reset-vscode-fork-ide &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/factory-reset-vscode-fork-ide inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/factory-reset-vscode-fork-ide to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/factory-reset-vscode-fork-ide &&
cp -R "$tmp/ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide" ~/.cursor/skills/factory-reset-vscode-fork-ide &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/factory-reset-vscode-fork-ide inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide

Or copy the folder to ~/.gemini/skills/factory-reset-vscode-fork-ide yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/factory-reset-vscode-fork-ide:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/factory-reset-vscode-fork-ide &&
cp -R "$tmp/ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide" ~/.copilot/skills/factory-reset-vscode-fork-ide &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/factory-reset-vscode-fork-ide inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ruan-cat/monorepo.git

Then copy monorepo/ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide into your agent's skills folder as factory-reset-vscode-fork-ide. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Extension uninstall loop
Lists installed extensions through the IDE CLI and force-removes each one, including built-in entries.
Data folder detection
Reads product.json to find the correct data directory instead of guessing among similar folders.
Registry fallback
Resets the extension registry and clears leftover folders when the CLI uninstall path is broken.
Config reset
Moves settings.json, keybindings.json and snippets to a blank state via the Recycle Bin.
Preflight safety checks
Confirms the IDE is closed, the install is genuine and neighbouring products are untouched before acting.
Verification checklist
Confirms success with the empty extension list, registry count, and reset config files.

Good for

  • Reset my Trae install to factory defaults and remove all imported extensions
  • Uninstall every extension from my Qoder IDE and clear its user settings
  • Clean up a VSCode-based AI editor I customised, keeping its login state
  • Find the correct data folder for a forked IDE before removing its plugins

Factory reset vscode fork IDE FAQ

What does the skill need before Factory reset vscode fork IDE runs?

The target IDE must be fully closed, and the agent needs the install directory. It is written for Windows and uses Git Bash and PowerShell.

Does Factory reset vscode fork IDE delete files permanently?

No. Deletions go to the Recycle Bin, and the skill creates no backup files by default.

What is left untouched?

Login state and workspace data such as globalStorage and workspaceStorage are kept unless the user asks for a full clean, and sibling product folders are not modified.

Will removed built-in extensions come back?

Some built-in extensions are re-deployed when the IDE starts again. The skill treats these as expected and does not count them as cleanup failures.

How do I install Factory reset vscode fork IDE in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/factory-reset-vscode-fork-ide to use it in all your projects, or to .claude/skills/factory-reset-vscode-fork-ide in one project. Or install the low-frequency-skill plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install low-frequency-skill@ruan-cat-tools.

Does Factory reset vscode fork IDE run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Factory reset vscode fork IDE?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Factory reset vscode fork IDE?

The closest alternatives to Factory reset vscode fork IDE are Init vscode, Dead code cleanup edho ferdian, Init tsconfig, Git branch cleanup and Install skills.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ruan-cat/monorepo

  1. Works through an OpenSpec change's task list, implementing and checking off each task

    • Open source
    • 5 GitHub stars
    • Developer tools
  2. Finalizes a completed OpenSpec change, syncing its specs and moving it to the archive

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Generates all OpenSpec planning artifacts for a change in one pass

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Starts a new OpenSpec change and shows its first artifact template for review

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Checks and normalizes package.json, tsup and tsconfig setup for monorepo Node packages

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Turns incident reports and repeated failures into durable, verifiable agent skill rules

    • Open source
    • 5 GitHub stars
    • Developer tools