agentleFS
mphaxisemphaxise/gstack-port-for-codex/skills/gstack-upgrade/SKILL.md

gstack-upgrade

Skill4 starsChanged 4 months agoMITView on GitHub

Update workflow for this Codex port package. Use when the repo or local skill install should be refreshed and revalidated.

31 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the local Codex port package should be updated, reinstalled, or checked against upstream changes.

    line 8
  2. Distinctive:

    Check the installed Codex version and refresh the current official Codex manual before deciding whether a fallback is still needed:

    line 16
  3. Distinctive:

    Read the manual sections relevant to the port, usually skills, plugins, MCP, AGENTS.md, sandboxing and approvals, hooks, memories, …

    line 19
  4. Distinctive:

    Run validation and summarize what changed, including the Codex version and any documentation-driven decisions.

    line 23
  5. Distinctive:

    When upstream changed since the last port, explicitly decide which parts are:

    line 42
  6. Very specific:

    Prefer current Codex install behavior over older Claude Code fallbacks when Codex has a direct equivalent.

    line 48
  7. Distinctive:

    Do not claim an upgrade succeeded without revalidating the install.

    line 54
  8. Very specific:

    Do not move baseline source pins forward if only a subset of upstream changes was ported.

    line 56
  9. Distinctive:

    Do not rely on remembered Codex behavior when the current docs can be checked during the port.

    line 57

“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GStack Upgrade

Use this skill when the local Codex port package should be updated, reinstalled, or checked against upstream changes.

This port was reconciled against garrytan/gstack at commit 76535826f5d50c721f95820f300037a3efe833a9.

Workflow

  1. Identify whether the request is about the repo, the local skill install, or both.
  2. Check the installed Codex version and refresh the current official Codex manual before deciding whether a fallback is still needed:
    • codex --version
    • node "${CODEX_HOME:-$HOME/.codex}/skills/.system/openai-docs/scripts/fetch-codex-manual.mjs"
  3. Read the manual sections relevant to the port, usually skills, plugins, MCP, AGENTS.md, sandboxing and approvals, hooks, memories, automations, browser behavior, and local/cloud environments.
  4. Refresh upstream refs for both garrytan/gstack and garrytan/gbrain when parity is in scope.
  5. Port upstream changes into Codex-native skill files instead of copying Claude-specific preambles.
  6. Reinstall or re-link local skills if needed.
  7. Run validation and summarize what changed, including the Codex version and any documentation-driven decisions.

Select the installed channel and host

Resolve the skill path and its backing repository. An upstream checkout can follow stable releases or main. Inspect its configured channel and version. An install ahead of stable waits for stable to catch up. Preserve local edits and use a separate checkout for comparison. The Codex port keeps its own registry, installer and checks.

Upstream provides a Codex host and model-specific instruction sets called loadouts. Unknown models use the full set. The measured lite exception for Opus 5.5 applies only to that model and upstream workflow. Test any smaller Codex prompt on the same tasks before changing its default.

Release channels · Loadouts

Codex Host Audit

When upstream changed since the last port, explicitly decide which parts are:

  • clean to port into skills/, data/, docs/, or tests/
  • useful locally but not publishable, such as generated brain/ corpus pages
  • blocked on upstream runtime, database, MCP, browser daemon, or Claude-specific behavior

Prefer current Codex install behavior over older Claude Code fallbacks when Codex has a direct equivalent. Keep fallbacks only for host-variable runtimes such as browser automation, upstream gbrain CLI availability, and remote credentials.

Record Codex documentation refresh results in docs/codex-documentation-refresh.md or the specific runtime/audit doc changed by the upgrade.

Guardrails

  • Do not claim an upgrade succeeded without revalidating the install.
  • Be explicit about what was updated and what was left alone.
  • Do not move baseline source pins forward if only a subset of upstream changes was ported; use per-skill source_commit metadata instead.
  • Do not rely on remembered Codex behavior when the current docs can be checked during the port.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.