# Factory reset vscode fork IDE

> Factory reset vscode fork IDE is an open-source agent skill for developer tools. Resets a VSCode-based AI IDE to factory state by removing extensions and user settings. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ruan-cat/monorepo/tree/main/ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide
- **Repository:** https://github.com/ruan-cat/monorepo
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** factory-reset-vscode-fork-ide
- **Collection:** https://github.com/ruan-cat/monorepo
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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 扩展拦截、目录找错时的主动探索方案。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide)
- [License: MIT](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/low-frequency-skill/skills/factory-reset-vscode-fork-ide)

## Features

- **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

## Install

### Claude Code

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):

```sh
/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`:

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Init vscode](https://ai-powered.com/skills/init-vscode): Init vscode is an open-source agent skill for developer tools.
- [Dead code cleanup edho ferdian](https://ai-powered.com/skills/dead-code-cleanup-edho-ferdian): Dead code cleanup edho ferdian is an open-source agent skill for developer tools.
- [Init tsconfig](https://ai-powered.com/skills/init-tsconfig): Init tsconfig is an open-source agent skill for developer tools.
- [Git branch cleanup](https://ai-powered.com/skills/git-branch-cleanup): Git branch cleanup is an open-source agent skill for developer tools.
- [Install skills](https://ai-powered.com/skills/install-skills): Install skills is an open-source agent skill for developer tools.
- [Erase](https://ai-powered.com/skills/erase): Erase is an open-source agent skill for developer tools.
- [Configuration](https://ai-powered.com/skills/configuration-spark-arena): Configuration is an open-source agent skill for developer tools.
- [Env bootstrap](https://ai-powered.com/skills/env-bootstrap): Env bootstrap is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/factory-reset-vscode-fork-ide
