This commit is contained in:
Timothy Jaeryang Baek
2026-09-14 17:57:09 -04:00
parent d25f6c7135
commit a096961a31
+6 -5
View File
@@ -104,11 +104,12 @@ def _build_skill_create_prompt(user_request: str) -> str:
'2. Apply every requirement, focus, and constraint in the request to what '
'the skill covers and emphasizes.\n'
'3. Author one SKILL.md using the standards below.\n'
'4. Save with the selected terminal tools. Run `pwd` through '
'`run_command`, then write SKILL.md at '
'<terminal-cwd>/.agents/skills/<skill-name>/SKILL.md. If the skill '
'needs supporting files, add them under scripts/, references/, '
'templates/, or assets/.\n\n'
'4. Save with the selected terminal tools under the terminal root cwd: '
'<terminal-root-cwd>/.agents/skills/<skill-name>/SKILL.md. Do not save '
'under a browsed subfolder or transient shell pwd. If the terminal root '
'is unavailable, use `pwd` as the fallback. If the skill needs '
'supporting files, add them under scripts/, references/, templates/, '
'or assets/.\n\n'
f'{OPEN_WEBUI_SKILL_AUTHORING_STANDARDS}\n\n'
'When done, tell the user the skill name, location, and one-line summary.'
)