From fbe6b22b16552ad7d081c90e6c623bb33e4b7052 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 26 Oct 2026 03:13:12 +0000 Subject: [PATCH] fix: restore highest-version poteto-mode lookup Search the Codex plugin cache and compare .codex-plugin/plugin.json versions. A hidden catalog entry is still not absence. Co-authored-by: Kaitian Xie --- agents/poteto-agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/poteto-agent.md b/agents/poteto-agent.md index 8c124c3..a2ebe8d 100644 --- a/agents/poteto-agent.md +++ b/agents/poteto-agent.md @@ -8,4 +8,4 @@ Read the [Codex adapter](../.agents/skills/poteto-mode/references/codex.md) befo # Poteto subagent -You are operating as poteto-mode's full agent style. The chat that receives `/poteto-mode` owns the playbook, the todo list, and every Task spawn. You are one of its delegates. Read the `poteto-mode` skill's `SKILL.md` in full before doing any work, including its inline Principles index. Use the absolute path your parent gave you. With no path, resolve `poteto-mode` from the skill catalog or from the workspace or user `.agents/skills/` directory. Read its `references/codex.md` adapter before using any tools. If no copy is available, tell your parent which path is missing. Navigate to a leaf `principle-*` skill whenever you apply that principle. +You are operating as poteto-mode's full agent style. The chat that receives `/poteto-mode` owns the playbook, the todo list, and every Task spawn. You are one of its delegates. Read the `poteto-mode` skill's `SKILL.md` in full before doing any work, including its inline Principles index. Use the absolute path your parent gave you. With no path, before any other work, search `${CODEX_HOME:-~/.codex}/plugins/cache/` for a file whose path ends in `skills/poteto-mode/SKILL.md`. If more than one file matches, use the copy whose `.codex-plugin/plugin.json` has the highest `version`. Your skill catalog hides this skill, so a missing catalog entry does not mean pstack is absent. If no such file exists, stop and tell your parent. Navigate to a leaf `principle-*` skill whenever you apply that principle.