2424SANDBOX_SKILLS_CACHE_FILENAME = "sandbox_skills_cache.json"
2525DEFAULT_SKILLS_CONFIG : dict [str , dict ] = {"skills" : {}}
2626SANDBOX_SKILLS_ROOT = "skills"
27- SANDBOX_WORKSPACE_ROOT = "/workspace"
2827_SANDBOX_SKILLS_CACHE_VERSION = 1
2928
3029_SKILL_NAME_RE = re .compile (r"^[\w.-]+$" )
@@ -36,7 +35,7 @@ def _normalize_skill_name(name: str | None) -> str:
3635
3736
3837def _default_sandbox_skill_path (name : str ) -> str :
39- return f"{ SANDBOX_WORKSPACE_ROOT } / { SANDBOX_SKILLS_ROOT } /{ name } /SKILL.md"
38+ return f"{ SANDBOX_SKILLS_ROOT } /{ name } /SKILL.md"
4039
4140
4241def _normalize_cached_sandbox_skill_path (name : str , path : str ) -> str :
@@ -253,8 +252,8 @@ def build_skills_prompt(skills: list[SkillInfo]) -> str:
253252 "explain why you chose not to.\n "
254253 "3. **Mandatory grounding** — Before executing any skill you MUST "
255254 "first read its `SKILL.md` by running a shell command compatible "
256- "with the current runtime shell and using the **absolute path** "
257- f"shown above (e.g. `{ example_command } `). "
255+ "with the current runtime shell and using the path shown above "
256+ f"(e.g. `{ example_command } `). "
258257 "Never rely on memory or assumptions about a skill's content.\n "
259258 "4. **Progressive disclosure** — Load only what is directly "
260259 "referenced from `SKILL.md`:\n "
0 commit comments