diff --git a/ai-hub/app/core/services/tool.py b/ai-hub/app/core/services/tool.py index 14736f5..bdd6276 100644 --- a/ai-hub/app/core/services/tool.py +++ b/ai-hub/app/core/services/tool.py @@ -91,9 +91,8 @@ exec_cmd = f"bash .skills/{ds.name}/{exec_file}" if exec_file.endswith(".sh") else f"python3 .skills/{ds.name}/{exec_file}" if exec_file.endswith(".py") else f".skills/{ds.name}/{exec_file}" description += ( - f"\n\n[VFS Skill] This skill is natively mapped to your workspace.\n" - f"You can execute it directly on the node via: `{exec_cmd}`.\n" - f"[Instructions]\n{skill_md_file.content}" + f"\n\n[Native VFS Skill - Execute via: `{exec_cmd}`]\n" + f"{skill_md_file.content}" ) # Parse YAML frontmatter to get the tool schema parameters @@ -128,9 +127,8 @@ if desc_match: extracted_desc = desc_match.group(1).strip() description = ( - f"{extracted_desc}\n\n[VFS Skill] This skill is natively mapped to your workspace.\n" - f"You can execute it directly on the node via: `{exec_cmd}`.\n" - f"[Instructions]\n{skill_md_file.content}" + f"{extracted_desc}\n\n[Native VFS Skill - Execute via: `{exec_cmd}`]\n" + f"{skill_md_file.content}" ) # Parse Parameters Table