pstack: in Claude Code, poteto-mode cites principles without reading their SKILL.md files
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 65/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- developer-experience
Línea de trabajo
Empieza por las instrucciones de poteto-mode SKILL.md descritas en el issue, especialmente las secciones Non-negotiables y Principles, y compáralas con la redacción propuesta. Actualiza las instrucciones para que exijan explícitamente leer el adaptador y el leaf skill pertinente antes de la primera respuesta. Comprueba que la lectura del adaptador siga estando limitada a Claude Code y que la lectura del leaf skill se aplique en Cursor; el trabajo estará terminado cuando las instrucciones exijan estos pasos y conserven la regla de citación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
In Claude Code, /pstack:poteto-mode runs almost never read the files that the skill tells the agent to read. SKILL.md line 11 says to read docs/harness/claude-code.md once per session. Line 17 says to cite only principles whose leaf SKILL.md the agent read this session. The agent skips both reads. It then does one of two things:
- It names principles from the inline index without reading them. That breaks the "cite only what you read" rule.
- It names no principles at all, so the Principles section has no visible effect.
From the user's side, poteto-mode follows its principles on some days and ignores them on others.
Evidence
I audited 18 poteto-mode runs across 4 Claude Code sessions (pstack 0.15.25 and 0.15.27, Claude Code 2.1.304, Opus 5.5):
- Every run injected the full skill body, so the skill loaded correctly.
- The agent read
docs/harness/claude-code.mdin 1 run. - The agent read a
principle-*/SKILL.mdfile in 0 runs and a playbook file in 0 runs. - One session named principles in its replies anyway. The other three named none.
- One run spawned
general-purposewhere the adapter maps delegates topstack:poteto-agent.
poteto-mode, poteto-agent, and the principle-* skills are identical in 0.15.25 and 0.15.27, so the version change did not cause this.
All 24 principle-* skills set disable-model-invocation: true, so the Skill tool refuses them. The only way to load a principle file is to Read it by path. The current wording states the citation rule but never makes the read a step, so the agent treats the inline index as enough.
Proposed fix
Make the reads an explicit first step in the 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.
+The Principles section below grounds every trigger. Before your first reply in a run, `Read` the adapter above if you have not this session, then `Read` `../principle-<name>/SKILL.md` for each principle you expect to shape a decision. The index below is a pointer, not a substitute. 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.
The adapter clause applies only in Claude Code, because line 11 scopes the adapter to Claude Code. In Cursor the change adds only the leaf read, which line 17 already requires.
Test
I applied the patch locally to 0.15.27 and ran:
claude -p "/pstack:poteto-mode avg() in stats.py crashes on an empty list. Propose a fix, don't edit files."
The agent read docs/harness/claude-code.md, then principle-fix-root-causes/SKILL.md and principle-boundary-discipline/SKILL.md. Its reply named both principles and said what each one changed. That is one run, not a benchmark.
Related
- #629 adds Claude Code support but does not change line 17.
- I haven't tested whether
poteto-agentdelegates have the same gap. Their fallback search forSKILL.mdlooks only in~/.cursor/plugins/.
- Lenguaje dominante
- TypeScript
- Estrellas
- 12.5k
- Forks
- 1.2k
- Merge medio
- 10 h 48 min
- PR fusionados (30 d)
- 128
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cursor/plugins
-
Poteto Mode Claude CodeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cursor/plugins#701 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
create-plugin README documents a /create-plugin command that does not existPosiblemente ocupada @lab1207 la tomó hace 19 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
cursor/plugins#475 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
principle-test-behavior-not-implementation: listed matchers do not all pass when imports return undefinedPosiblemente ocupada @Yi-111-a la tomó hace 20 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
cursor/plugins#474 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
cursor-sdk auth.md: non-null assertion described as a runtime missing-variable checkPosiblemente ocupada @lab1207 la tomó hace 19 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
cursor/plugins#473 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
check-agent-compatibility: SKILL.md description has an unquoted colon, YAML parse failsPosiblemente ocupada @rufushsu9987 la tomó hace 33 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
cursor/plugins#381 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de cursor/plugins
Issues similares
-
Area/Cloud Needs Triage Type/Bug
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
wso2/product-integrator#2847 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
bluesky-social/social-app#12118 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
heygen-com/hyperframes#6021 ·
Los mantenedores suelen responder en 1 día
-
Edit: Tele Posadas HDAbiertocheck:passed streams:edit
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día