The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(skills): word the skill_view plugin form as '<plugin>:<skill>'
Tekniumf7fb481502bd
diff --git a/tests/fixtures/prompt_surface/surfaces.json b/tests/fixtures/prompt_surface/surfaces.jsonindex b0a9b850834..7198487c5ac 100644--- a/tests/fixtures/prompt_surface/surfaces.json+++ b/tests/fixtures/prompt_surface/surfaces.json@@ -5,7 +5,7 @@"stable": 1935,"volatile": 1813},- "tool_tokens": 11489,+ "tool_tokens": 11490,"tools": ["browser_cdp","browser_dialog",@@ -38,7 +38,7 @@"stable": 1445,"volatile": 1813},- "tool_tokens": 11489,+ "tool_tokens": 11490,"tools": ["browser_cdp","browser_dialog",@@ -71,7 +71,7 @@"stable": 1866,"volatile": 1811},- "tool_tokens": 11489,+ "tool_tokens": 11490,"tools": ["browser_cdp","browser_dialog",@@ -104,7 +104,7 @@"stable": 2640,"volatile": 1809},- "tool_tokens": 11644,+ "tool_tokens": 11645,"tools": ["browser_cdp","browser_dialog",@@ -137,7 +137,7 @@"stable": 1445,"volatile": 1813},- "tool_tokens": 11489,+ "tool_tokens": 11490,"tools": ["browser_cdp","browser_dialog",@@ -170,7 +170,7 @@"stable": 1317,"volatile": 1813},- "tool_tokens": 11489,+ "tool_tokens": 11490,"tools": ["browser_cdp","browser_dialog",@@ -203,7 +203,7 @@"stable": 1579,"volatile": 1814},- "tool_tokens": 12154,+ "tool_tokens": 12155,"tools": ["browser_cdp","browser_dialog",@@ -237,7 +237,7 @@"stable": 1349,"volatile": 1814},- "tool_tokens": 11489,+ "tool_tokens": 11490,"tools": ["browser_cdp","browser_dialog",@@ -270,7 +270,7 @@"stable": 1382,"volatile": 1814},- "tool_tokens": 11489,+ "tool_tokens": 11490,"tools": ["browser_cdp","browser_dialog",diff --git a/tests/fixtures/prompt_surface/tools/skill_view.json b/tests/fixtures/prompt_surface/tools/skill_view.jsonindex f80a731806f..659ef9469a3 100644--- a/tests/fixtures/prompt_surface/tools/skill_view.json+++ b/tests/fixtures/prompt_surface/tools/skill_view.json@@ -8,7 +8,7 @@"type": "string"},"name": {- "description": "The skill name (use skills_list to see available skills). For plugin-provided skills, use the qualified form 'plugin:skill' (e.g. 'superpowers:writing-plans').",+ "description": "The skill name (use skills_list to see available skills). For plugin-provided skills, use the qualified form '<plugin>:<skill>' (e.g. 'superpowers:writing-plans').","type": "string"}},diff --git a/tools/skills_tool.py b/tools/skills_tool.pyindex 8b4e6c04e8b..a2e18a97a33 100644--- a/tools/skills_tool.py+++ b/tools/skills_tool.py@@ -613,7 +613,7 @@ def _log_security_warnings(name: str, skill_md: Path, content: str, all_dirs, acdef skill_view(name: str, file_path: str | None = None, task_id: str | None = None, preprocess: bool = True) -> str:"""View a skill (SKILL.md) or a file within its directory, as JSON. ``name`` is a skill name- or path ("axolotl", "03-fine-tuning/axolotl"); "plugin:skill" resolves plugin-provided+ or path ("axolotl", "03-fine-tuning/axolotl"); "<plugin>:<skill>" resolves plugin-providedskills. ``preprocess`` applies the configured SKILL.md template / inline shell rendering;slash/preload callers render the message themselves."""try:@@ -738,7 +738,7 @@ SKILL_VIEW_SCHEMA = {"properties": {"name": {"type": "string",- "description": "The skill name (use skills_list to see available skills). For plugin-provided skills, use the qualified form 'plugin:skill' (e.g. 'superpowers:writing-plans').",+ "description": "The skill name (use skills_list to see available skills). For plugin-provided skills, use the qualified form '<plugin>:<skill>' (e.g. 'superpowers:writing-plans').",},"file_path": {"type": "string",