<!-- generated-markdown-alternate -->
---
title: "OpenCode Recent Folders"
description: "An OpenCode V2 plugin for finding recently used project folders, pinning favorites, and switching directories from the terminal."
url: "https://briansunter.com/projects/opencode-recent-folders"
---

Nov 27, 2026 Launched

# OpenCode Recent Folders

An OpenCode V2 plugin for finding recently used project folders, pinning favorites, and switching directories from the terminal.

[View Source](https://github.com/briansunter/opencode-recent-folders)

TypeScript Developer Tools OpenCode

![Cover image for OpenCode Recent Folders](/_astro/opencode-recent-folders-picker.BIPFbXLg_1z0QSf.webp)

Run `/folders` to jump back into a directory without remembering its full path. The picker groups folders by their last activity, marks the current directory, and lets you search by path, project name, or the title of the last session.

Press `Ctrl+F` to pin a folder above the recency list. Favorites survive restarts. Press Enter to switch to the selected directory, ready to start a new session there. The plugin draws from sessions and projects the connected OpenCode server already knows about, not a scan of your filesystem.

[Source and installation instructions](https://github.com/briansunter/opencode-recent-folders#install). The plugin targets OpenCode V2 and was tested with 2.0.30. The screenshot shows the real picker rendered with synthetic data.

Use [Session Tabs](/projects/opencode-session-tabs) to reopen existing conversations, or [Context Doctor](/projects/opencode-context-doctor) to inspect what’s in a session’s context.

## Related projects

- [OpenCode Context Doctor](/projects/opencode-context-doctor)

  [A read-only OpenCode V2 plugin that shows what fills your model's context window, from system prompts and conversation history to tool schemas and results.](/projects/opencode-context-doctor)
- [OpenCode Session Tabs](/projects/opencode-session-tabs)

  [An OpenCode V2 plugin for finding, previewing, and reopening existing sessions as terminal tabs without restarting their agents.](/projects/opencode-session-tabs)
- [Dust](/projects/dust)

  [A native pixel-art editor for drawing layered sprites, animating frames, and exporting assets for games.](/projects/dust)

## Share this project
