# Codex project recency sort recovery

> Codex project recency sort recovery is an open-source agent skill for developer tools. Fixes Codex Desktop project sidebar ordering so recently active projects move to the top. It is available on Codex.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Codex
- **Website:** https://github.com/JinNing6/Noosphere/tree/main/shared_skills/active/codex-project-recency-sort-recovery
- **Repository:** https://github.com/jinning6/noosphere
- **GitHub stars:** 18
- **License:** Apache-2.0
- **Skill name:** codex-project-recency-sort-recovery
- **Collection:** https://github.com/JinNing6/Noosphere
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill targets a specific Codex Desktop problem on Windows: when the sidebar is grouped by project and sorted by last updated, a project with fresh activity can stay in an old position even after restarting the app. The skill explains the cause as a persisted top-level project-order list that overrides the recency sort, so changing the menu setting alone does not help.

The fix is a manual edit of Codex's global state file. The agent is instructed to fully close Codex, back up the state file, clear the project-order field to an empty list, confirm the sidebar preferences are set to project mode with updated-at sorting, write the result through a temporary file that is validated as JSON before replacing the original, and then restart. Other saved workspace roots, project lists and thread assignments are meant to be left untouched.

The skill includes a PowerShell check that confirms the project-order list is empty and the sort settings are correct, plus guidance on verifying the fix by sending a message in a test project rather than just opening an old task. It does not apply when Codex is still running, when manual sorting is wanted, in flat list mode, or when the order list is already empty.

## When your agent uses it

> Diagnose and resolve codex project recency sort failures. Use when Use only when Codex Desktop is grouped by project, Last updated is selected, a recently updated project remains in a stale position after restart, and the persisted top-level project-order array is non-empty..

## What it can access

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

- [Instructions only, no scripts](https://github.com/JinNing6/Noosphere/tree/HEAD/shared_skills/active/codex-project-recency-sort-recovery)
- [License: Apache-2.0](https://github.com/JinNing6/Noosphere/tree/HEAD/shared_skills/active/codex-project-recency-sort-recovery)

## Features

- **Sidebar sort diagnosis:** Explains why a recency-sorted project list is overridden by a persisted project order array.
- **Safe state file edit:** Describes backing up and editing the Codex global state JSON with validation before replacement.
- **Preference verification:** Provides a PowerShell command that checks the project order is empty and sort settings are correct.
- **Preservation of unrelated state:** Keeps workspace roots, local projects and thread assignments intact during the fix.
- **Real activity test:** Recommends confirming the fix by updating content in a test project rather than opening old tasks.
- **Clear applicability limits:** Lists conditions where the fix should not be applied, such as manual sorting or flat mode.

## Good for

- Fix a recently active project that stays low in the Codex sidebar after restart
- Reset the persisted project order so Codex sorts projects by last update
- Check whether Codex sidebar sort settings are correct on Windows
- Verify the sidebar recency fix by sending a message in a test project

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/codex-project-recency-sort-recovery` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/codex-project-recency-sort-recovery &&
cp -R "$tmp/shared_skills/active/codex-project-recency-sort-recovery" ~/.claude/skills/codex-project-recency-sort-recovery &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/codex-project-recency-sort-recovery` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/codex-project-recency-sort-recovery` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/codex-project-recency-sort-recovery &&
cp -R "$tmp/shared_skills/active/codex-project-recency-sort-recovery" ~/.agents/skills/codex-project-recency-sort-recovery &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/codex-project-recency-sort-recovery` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/codex-project-recency-sort-recovery` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/codex-project-recency-sort-recovery &&
cp -R "$tmp/shared_skills/active/codex-project-recency-sort-recovery" ~/.cursor/skills/codex-project-recency-sort-recovery &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/codex-project-recency-sort-recovery` 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/JinNing6/Noosphere.git --path shared_skills/active/codex-project-recency-sort-recovery
```

Or copy the folder to `~/.gemini/skills/codex-project-recency-sort-recovery` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/codex-project-recency-sort-recovery`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/codex-project-recency-sort-recovery &&
cp -R "$tmp/shared_skills/active/codex-project-recency-sort-recovery" ~/.copilot/skills/codex-project-recency-sort-recovery &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/codex-project-recency-sort-recovery` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/JinNing6/Noosphere.git
```

Then copy `Noosphere/shared_skills/active/codex-project-recency-sort-recovery` into your agent's skills folder as `codex-project-recency-sort-recovery`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Codex project recency sort recovery need to run?

The skill's compatibility note says it requires the Noosphere MCP tools and network access. It is meant for Codex Desktop on Windows, and the verification step uses PowerShell.

### What does Codex project recency sort recovery change on my machine?

It edits the top-level project-order field in the Codex global state JSON file, after backing it up, and sets the sidebar preferences to project mode with updated-at sorting. Other state is meant to be preserved.

### When should I not use Codex project recency sort recovery?

Do not use it while Codex is running, without a verified backup, when manual sorting is wanted, in flat one-list mode, or when the project order is already empty.

### Does Codex project recency sort recovery include scripts?

No. The skill folder contains one file, the SKILL.md, and the verification is a single PowerShell command given in the instructions.

### How do I install Codex project recency sort recovery in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/codex-project-recency-sort-recovery to use it in all your projects, or to .claude/skills/codex-project-recency-sort-recovery in one project.

### Does Codex project recency sort recovery 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 Codex project recency sort recovery?

Codex. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Codex project recency sort recovery?

The closest alternatives to Codex project recency sort recovery are Codex review, Self improving skills review, Skill installer, Codex skill curator and CLI creator.

## Where this comes from

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

## Alternatives

- [Codex review](https://ai-powered.com/skills/codex-review): Codex review is an open-source agent skill for developer tools.
- [Self improving skills review](https://ai-powered.com/skills/self-improving-skills-review): Self improving skills review is an open-source agent skill for developer tools.
- [Skill installer](https://ai-powered.com/skills/skill-installer): Skill installer is an agent skill for developer tools.
- [Codex skill curator](https://ai-powered.com/skills/codex-skill-curator): Codex skill curator is an open-source agent skill for developer tools.
- [CLI creator](https://ai-powered.com/skills/cli-creator): CLI creator is a free agent skill for developer tools.
- [Conventions codex](https://ai-powered.com/skills/conventions-codex-xiaolai): Conventions codex is an open-source agent skill for developer tools.
- [Sync CLI skill](https://ai-powered.com/skills/sync-cli-skill): Sync CLI skill is an open-source agent skill for developer tools.
- [Migrate to codex](https://ai-powered.com/skills/migrate-to-codex): Migrate to codex is a free agent skill for developer tools.

---
Source: https://ai-powered.com/skills/codex-project-recency-sort-recovery
