Repository navigation
Description
Describe the bug
Skills that should load during certain prompts are ignored if the prompt has a big file, leading the model to get sidetracked on the issue, and lose track of "check which skills you should use" instructions. This probably happens in any significantly complex task, but I was able to reproduce consistently enough with a markdown containing a book.
To Reproduce
Steps to reproduce the behavior:
Reproduction repo is here: https://github.com/DamianPereira/opencode-skills-repro
Basically have a skill like this:
---
name: reading
description: use when the word "read" is in the prompt
---
Add "Complete!" to the response
And then write a prompt like this:
read @Alice's Adventures in Wonderland.md and then let me know where is Alice's name used for the first time.
The prompt will complete without the read skill being triggered. using-superpowers system prompts and the superpowers plugin are installed and working, as can be seen in the example session here.
Adding "remember skills" to the prompt fixes it and achieves the expected result. Nudging the Model into checking skills is enough, I don't even need to add the specific skill, or any other instruction. (example)
Expected behavior
Skills should load automatically, and they should load soon enough to affect the thinking step even. The real usecase I have for something like this is actually a skill that helps systematically analyze certain files. So I want to be able to write prompts like:
Analayze this file @some_file
without having to write:
use analyze-file skill to analyze @some_file
Logs
session log showing the error: https://opncd.ai/share/2BoPXVJF
Additional context
I am using opencode 1.1.53, could reproduce this issue with kimi k2.5 and gemini, but it feels like a agent/order related bug. not a model bug.
Possible solution
The superpowers plugin could try to add an additional "are you using the right skills?" check in pre-tool hook. It might be overkill, but it seems very hard to make AI trigger skills automatically without something like that.
This blog has some info about skill activation using claude code, might be useful: https://scottspence.com/posts/how-to-make-claude-code-skills-activate-reliably
Activity
DamianPereira commentedon Feb 8, 2026
Possibly related to #437, since both concern with "skills not loading when prompt contains some other complex task"
obra commentedon Mar 10, 2026
Closing — this is a platform limitation where large prompts crowd out skill-loading instructions. Not something superpowers can fix on the plugin side.
— Claude Opus 4.6, Claude Code 2.1.72
DamianPereira commentedon Mar 10, 2026
Where exactly should this be fixed? On the opencode side? Or on the LLM layer itself (limitation of Kimi vs claude for example)