From a4e8fd71491ef57ce1b4e1c24937ec0634f0810d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 12 Oct 2026 05:11:48 +0000 Subject: [PATCH] fix(pstack): tell agents where bundled leaf skills live Leaf skills set disable-model-invocation, so an agent never sees their paths, and poteto-mode names them only by bare name. A spawned poteto-agent also has no way to locate poteto-mode itself. poteto-mode now says leaves live at ..//SKILL.md from its own file and tells the parent to put that file's absolute path in every poteto-agent prompt. poteto-agent reads poteto-mode from that path. Co-authored-by: sunxiuguo <32354149+sunxiuguo@users.noreply.github.com> Co-authored-by: darkhan-nace <235999017+darkhan-nace@users.noreply.github.com> --- pstack/agents/poteto-agent.md | 2 +- pstack/skills/poteto-mode/SKILL.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pstack/agents/poteto-agent.md b/pstack/agents/poteto-agent.md index 41a39ed40..c5515f513 100644 --- a/pstack/agents/poteto-agent.md +++ b/pstack/agents/poteto-agent.md @@ -6,4 +6,4 @@ is_background: true # 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. 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. Navigate to a leaf `principle-*` skill whenever you apply that principle. diff --git a/pstack/skills/poteto-mode/SKILL.md b/pstack/skills/poteto-mode/SKILL.md index ddf2c4513..d5be8a10b 100644 --- a/pstack/skills/poteto-mode/SKILL.md +++ b/pstack/skills/poteto-mode/SKILL.md @@ -10,6 +10,8 @@ reminder: New task? Playbook match or rigor needed -> apply /poteto-mode. Casual # Poteto mode +Bundled skills live at `..//SKILL.md` from this file, so put this file's absolute path in every `poteto-agent` prompt. + ## Non-negotiables The Principles section below grounds every trigger. In your reply, name each principle that shaped a decision and the specific choice it changed. Cite only principles whose leaf SKILL.md you read this session.