diff --git a/astrbot/core/skills/skill_manager.py b/astrbot/core/skills/skill_manager.py index d996dd7a070..c2fa83d74d3 100644 --- a/astrbot/core/skills/skill_manager.py +++ b/astrbot/core/skills/skill_manager.py @@ -268,9 +268,10 @@ def build_skills_prompt(skills: list[SkillInfo]) -> str: "*Never silently skip a matching skill* — either use it or briefly " "explain why you chose not to.\n" "3. **Mandatory grounding** — Before executing any skill you MUST " - "first read its `SKILL.md` by running a shell command compatible " - "with the current runtime shell and using the **absolute path** " - f"shown above (e.g. `{example_command}`). " + "first read its `SKILL.md` in full using the **absolute path** " + "shown above. Use an available, permitted file-reading tool first, " + "or an available, permitted shell command compatible with the " + f"current runtime shell (e.g. `{example_command}`). " "Never rely on memory or assumptions about a skill's content.\n" "4. **Progressive disclosure** — Load only what is directly " "referenced from `SKILL.md`:\n"