The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(skills): one row per one-skill category, word-boundary clips, enforced 60-char descriptions
Teknium3a3bf5648e90
diff --git a/agent/curator.py b/agent/curator.pyindex a890fd3fb69..439d1d83484 100644--- a/agent/curator.py+++ b/agent/curator.py@@ -295,9 +295,9 @@ CURATOR_REVIEW_PROMPT = ("INSTRUCTIONS AND EXPERIENTIAL KNOWLEDGE. A collection of hundreds of ""narrow skills where each one captures one session's specific bug is ""a FAILURE of the library — not a feature. An agent searching skills "- "matches on descriptions, not on exact names (note: long descriptions "- "are truncated to 57 chars in the system prompt skill index — keep the "- "trigger class in that window). One broad umbrella "+ "matches on descriptions, not on exact names (note: the system prompt "+ "skill index shows 60 chars of a description — keep the trigger class "+ "in that window). One broad umbrella ""skill with labeled subsections beats five narrow siblings for ""discoverability, not the other way around.\n\n""The right target shape is CLASS-LEVEL skills whose SKILL.md carries the "diff --git a/agent/prompt_builder.py b/agent/prompt_builder.pyindex 4c4650412a2..064428ecb9f 100644--- a/agent/prompt_builder.py+++ b/agent/prompt_builder.py@@ -23,7 +23,8 @@ from agent.model_metadata import CHARS_PER_TOKENfrom agent.runtime_cwd import resolve_agent_cwdfrom agent.skill_utils import (EXCLUDED_SKILL_DIRS, SKILL_SUPPORT_DIRS,- TIER_LOCAL, extract_skill_conditions, extract_skill_description, get_disabled_skill_names, get_skill_search_roots,+ TIER_LOCAL, clip_skill_description, extract_skill_conditions, extract_skill_description,+ get_disabled_skill_names, get_skill_search_roots,iter_skill_index_files, parse_frontmatter, skill_matches_apps, skill_matches_environment,skill_matches_platform, skill_matches_platform_list,)@@ -1089,8 +1090,8 @@ _SKILLS_PROMPT_CACHE_MAX = 32_SKILLS_PROMPT_CACHE: OrderedDict[tuple, str] = OrderedDict()_SKILLS_PROMPT_CACHE_LOCK = threading.Lock()# v2 added org provenance fields (org_id/org_author); v4 adds ``rel`` (SKILL.md path relative to its root) for-# duplicate-name resolution. Older snapshots are rebuilt.-_SKILLS_SNAPSHOT_VERSION = 4+# duplicate-name resolution; v5 stores descriptions clipped at a word boundary. Older snapshots are rebuilt.+_SKILLS_SNAPSHOT_VERSION = 5def _skills_prompt_snapshot_path() -> Path:@@ -1222,7 +1223,7 @@ def _plugin_skill_prompt_rows(if not _skill_should_show(extract_skill_conditions(frontmatter), available_tools,available_toolsets, session_platform):continue- desc = str(meta.get("description") or "").strip() or extract_skill_description(frontmatter)+ desc = clip_skill_description(str(meta.get("description") or "").strip()) or extract_skill_description(frontmatter)rows.append((name, desc))except Exception:logger.debug("Plugin skill prompt rows unavailable", exc_info=True)@@ -1331,12 +1332,15 @@ def _render_skills_index(if category in demoted:index_lines.append(f" {category} [names only]: {', '.join(sorted({n for n, _ in entries}))}")continue- index_lines.append(f" {category}:")- seen = set()+ rows: dict[str, str] = {}for name, desc in sorted(entries, key=lambda x: x[0]): # stable: first entry per name wins- if name not in seen:- seen.add(name)- index_lines.append(f" - {name}: {desc}" if desc else f" - {name}")+ rows.setdefault(name, desc)+ # A one-skill category is a single top-level row: its header would only repeat what the row+ # says (a skill at the top of the tree is its own category, so the name printed twice).+ indent = " " if len(rows) == 1 else " "+ if len(rows) > 1:+ index_lines.append(f" {category}:")+ index_lines.extend(f"{indent}- {name}: {desc}" if desc else f"{indent}- {name}" for name, desc in rows.items())from agent.oneshot_footprint import ONESHOT_SKILLS_LOAD_GUIDANCE, is_single_query_sessionif is_single_query_session():return (diff --git a/agent/skill_utils.py b/agent/skill_utils.pyindex e885a5304bc..c12ed03c174 100644--- a/agent/skill_utils.py+++ b/agent/skill_utils.py@@ -836,6 +836,9 @@ def resolve_skill_config_values(config_vars: list[dict[str, Any]]) -> dict[str,return resolved+# Max description chars shown per row of the system-prompt skill index. skill_manage rejects a new or changed+# description over it and tests/skills/test_authoring_standards.py holds shipped skills to it, so only legacy or+# hand-edited skills ever reach clip_skill_description().SKILL_PROMPT_DESC_LIMIT = 60@@ -845,10 +848,20 @@ def _normalize_skill_description(frontmatter: dict[str, Any]) -> str:return str(raw_desc).strip().strip("'\"") if raw_desc else ""+def clip_skill_description(desc: str) -> str:+ """*desc* fitted to SKILL_PROMPT_DESC_LIMIT, cut at a word boundary so the index never shows a half word."""+ if len(desc) <= SKILL_PROMPT_DESC_LIMIT:+ return desc+ head = desc[:SKILL_PROMPT_DESC_LIMIT - 2] # one char past the budget: a space there means the last word is whole+ cut = head.rfind(" ")+ if cut <= 0: # a single word longer than the budget has no boundary to cut at+ return desc[:SKILL_PROMPT_DESC_LIMIT - 3] + "..."+ return head[:cut].rstrip(" .,;:-\u2013\u2014(/") + "..."++def extract_skill_description(frontmatter: dict[str, Any]) -> str:"""Extract a system-prompt-length description from parsed frontmatter."""- desc = _normalize_skill_description(frontmatter)- return desc[:SKILL_PROMPT_DESC_LIMIT - 3] + "..." if len(desc) > SKILL_PROMPT_DESC_LIMIT else desc+ return clip_skill_description(_normalize_skill_description(frontmatter))def is_skill_description_truncated_for_prompt(frontmatter: dict[str, Any]) -> bool:diff --git a/agent/skills_index_delta.py b/agent/skills_index_delta.pyindex a2c35056113..87526d4d948 100644--- a/agent/skills_index_delta.py+++ b/agent/skills_index_delta.py@@ -60,7 +60,9 @@ def _render(added: dict[str, str], removed: set[str]) -> str:return f"{_NOTE_PREFIX}{_ACCURATE_AGAIN}]"parts = [_NOTE_PREFIX]if added:- parts += [_ADDED_HEAD, *(added[name] or f"{_ROW}{name}" for name in sorted(added))]+ # Rows re-indented to _ROW: a one-skill category's row sits at category depth in the index,+ # and _parse reads names back only from _ROW lines.+ parts += [_ADDED_HEAD, *(_ROW + (added[name].lstrip() or f"- {name}")[2:] for name in sorted(added))]if removed:parts.append(f"{_REMOVED_HEAD} {', '.join(sorted(removed))}")return "\n".join(parts) + "]"diff --git a/hermes_cli/prompt_size.py b/hermes_cli/prompt_size.pyindex 66b1c02f729..4bbda5cb6b2 100644--- a/hermes_cli/prompt_size.py+++ b/hermes_cli/prompt_size.py@@ -14,9 +14,9 @@ from typing import Any, Dict, List, Optional, Tuple_SKILLS_BLOCK_RE = re.compile(r"<available_skills>.*?</available_skills>", re.DOTALL)-# A rendered skill entry is `` - name: desc`` (or `` - name``); category headers use two-# leading spaces, so the four-space + ``- `` prefix isolates skill lines.-_SKILL_LINE_PREFIX = " - "+# A rendered skill entry is ``- name: desc`` (or ``- name``) indented four spaces under its category+# header, or two when it is a one-skill category's only row; headers never start with ``- ``.+_SKILL_LINE_PREFIX = "- "# Posture-demoted categories render all visible skill names on one shared line._NAMES_ONLY_LINE_RE = re.compile(r"^ .+ \[names only\]: (?P<names>.+)$")@@ -120,9 +120,9 @@ def _compute_skills_breakdown(skills_block: str) -> list[dict[str, Any]]:shared = shared_base + (1 if index < shared_remainder else 0)append_entry(name, index_line_bytes=name_bytes[index] + shared, index_line_total_bytes=line_bytes,index_line_shared_bytes=shared, index_line_skill_count=len(names))- elif line.startswith(_SKILL_LINE_PREFIX):+ elif (row := line.lstrip()).startswith(_SKILL_LINE_PREFIX):# Partition on ``": "`` (not ``:``) so namespaced names like ``codex:rescue`` stay intact.- name = line[len(_SKILL_LINE_PREFIX):].partition(": ")[0].strip()+ name = row[len(_SKILL_LINE_PREFIX):].partition(": ")[0].strip()if name:append_entry(name, index_line_bytes=line_bytes, index_line_total_bytes=line_bytes,index_line_shared_bytes=0, index_line_skill_count=1)diff --git a/skills/AGENTS.md b/skills/AGENTS.mdindex 0664eeb3317..3b6568dd326 100644--- a/skills/AGENTS.md+++ b/skills/AGENTS.md@@ -27,8 +27,10 @@ Every new or modernised skill — bundled, optional, or contributed — meets al1. **`description` ≤ 60 chars, one sentence, ends with a period.** Long descriptions bloat listingsand dilute attention when many skills load. State the capability, not the implementation; no- marketing words ("powerful", "comprehensive", "seamless", "advanced"); don't repeat the name.- Check: `len(re.search(r'^description: (.*)$', text, re.M).group(1)) <= 60`.+ marketing words ("powerful", "comprehensive", "seamless", "advanced"); don't repeat the name or+ the category name (the skill index already prints the category above the skill). 60 is the width+ the index shows (`SKILL_PROMPT_DESC_LIMIT`); `skill_manage` rejects a new or changed description+ over it.2. **Prose references native Hermes tools or the MCP servers the skill expects, in backticks**(`terminal`, `web_extract`, `read_file`, `patch`, `search_files`, `vision_analyze`,`browser_exec`, `delegate_task`). Never name shell utilities the agent has wrapped: `grep` →diff --git a/skills/software-development/hermes-agent-skill-authoring/SKILL.md b/skills/software-development/hermes-agent-skill-authoring/SKILL.mdindex 51a4ff4ab03..b58f1180927 100644--- a/skills/software-development/hermes-agent-skill-authoring/SKILL.md+++ b/skills/software-development/hermes-agent-skill-authoring/SKILL.md@@ -71,9 +71,9 @@ metadata:### `description` rules (HARDLINE — the validator's 1024 is NOT the standard)- **≤ 60 characters.** One sentence. Ends with a period.-- State the capability, not the implementation, and don't repeat the skill name.+- State the capability, not the implementation, and don't repeat the skill name or its category name (the index prints the category above the skill).- No marketing words ("powerful", "comprehensive", "seamless", "advanced").-- The system prompt skill index truncates at 57 chars + "..." — the trigger/capability must be self-contained in that window.+- 60 is the width the system prompt skill index shows; `skill_manage` rejects a new or changed description over it, and the index clips a longer legacy one at a word boundary.- If the description contains a `:`, wrap it in double quotes or YAML parses it as a mapping and the docs generator crashes. Quotes don't count toward the 60.Good: `Track named companies for material news with cited digests.`diff --git a/tests/agent/test_skill_commands.py b/tests/agent/test_skill_commands.pyindex 3dd79964506..cd611dd0c65 100644--- a/tests/agent/test_skill_commands.py+++ b/tests/agent/test_skill_commands.py@@ -575,7 +575,7 @@ class TestDuplicateNamesAgreeAcrossSurfaces:ambiguous = "Ambiguous skill name dup-demo: use one of a/one, b/two"assert sorted(s["name"] for s in json.loads(skills_list())["skills"]) == ["a/one", "b/two", "xdup"]- index = [ln.strip() for ln in pb.build_skills_system_prompt().splitlines() if ln.startswith(" - ")]+ index = [ln.strip() for ln in pb.build_skills_system_prompt().splitlines() if ln.lstrip().startswith("- ")]assert index == ["- a/one: Description for dup-demo.", "- b/two: Description for dup-demo.","- xdup: Description for xdup."]assert sorted(scan_skill_commands()) == ["/xdup"]@@ -603,7 +603,7 @@ class TestDuplicateNamesAgreeAcrossSurfaces:monkeypatch.setattr(skills_tool_module, "_SKILLS_CACHE", {})pb.clear_skills_system_prompt_cache()assert sorted(s["name"] for s in json.loads(skills_list())["skills"]) == ["b/two", "other", "xdup"]- index = [ln.strip() for ln in pb.build_skills_system_prompt().splitlines() if ln.startswith(" - ")]+ index = [ln.strip() for ln in pb.build_skills_system_prompt().splitlines() if ln.lstrip().startswith("- ")]assert index == ["- other: Description for other.", "- b/two: Description for dup-demo.","- xdup: Description for xdup."]for ident in ("a/one", "one"): # refused by any alias, as list/index hide itdiff --git a/tests/agent/test_skills_index_format.py b/tests/agent/test_skills_index_format.pynew file mode 100644index 00000000000..9e35e8d5014--- /dev/null+++ b/tests/agent/test_skills_index_format.py@@ -0,0 +1,49 @@+"""Shape of the <available_skills> index rows (single-skill categories, headers, clipped descriptions)."""+import re++import pytest++from agent.prompt_builder import build_skills_system_prompt, clear_skills_system_prompt_cache+from agent.skill_utils import SKILL_PROMPT_DESC_LIMIT+from agent.skills_index_delta import index_entries++LONG = "Use when cutting, publishing, or abandoning a hermes-agent release and its notes."++[email protected](autouse=True)+def _fresh_cache():+ clear_skills_system_prompt_cache(clear_snapshot=True)+ yield+ clear_skills_system_prompt_cache(clear_snapshot=True)+++def _skill(root, rel, desc):+ d = root / rel+ d.mkdir(parents=True)+ (d / "SKILL.md").write_text(f"---\nname: {d.name}\ndescription: {desc}\n---\n\nBody.\n", encoding="utf-8")+++def test_index_rows_carry_each_name_once_and_never_a_half_word(monkeypatch, tmp_path):+ monkeypatch.setenv("HERMES_HOME", str(tmp_path))+ skills = tmp_path / "skills"+ _skill(skills, "creative/ascii-art", "ASCII art banners.")+ _skill(skills, "creative/pixel-art", "Pixel art sprites.")+ (skills / "creative" / "DESCRIPTION.md").write_text(+ "---\ndescription: Creative content generation and visual design tools.\n---\n", encoding="utf-8")+ _skill(skills, "computer-use", "Drive the desktop.") # a top-level skill is its own category+ _skill(skills, "github/hermes-release", LONG)++ prompt = build_skills_system_prompt()+ block = re.search(r"<available_skills>\n(.*?)\n</available_skills>", prompt, re.DOTALL).group(1)+ lines = block.splitlines()++ assert " creative:" in lines and "Creative content generation" not in block+ assert " - computer-use: Drive the desktop." in lines and " computer-use:" not in lines+ release = next(line for line in lines if "hermes-release" in line)+ assert release.startswith(" - hermes-release: ")+ shown = release.split(": ", 1)[1]+ assert len(shown) <= SKILL_PROMPT_DESC_LIMIT and shown.endswith("...")+ kept = shown[:-3]+ assert LONG.startswith(kept) and LONG[len(kept)] in " ," # cut lands between words+ # The turn-delta parser reads flattened rows like nested ones.+ assert set(index_entries(prompt)) == {"ascii-art", "pixel-art", "computer-use", "hermes-release"}diff --git a/tests/fixtures/prompt_surface/prompts/cli-code.claude.txt b/tests/fixtures/prompt_surface/prompts/cli-code.claude.txtindex ff29215d49b..80918efba24 100644--- a/tests/fixtures/prompt_surface/prompts/cli-code.claude.txt+++ b/tests/fixtures/prompt_surface/prompts/cli-code.claude.txt@@ -59,13 +59,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -76,16 +76,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -100,13 +99,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -120,8 +118,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/prompts/cli.claude.txt b/tests/fixtures/prompt_surface/prompts/cli.claude.txtindex 0652db36dc3..35570a9b0bc 100644--- a/tests/fixtures/prompt_surface/prompts/cli.claude.txt+++ b/tests/fixtures/prompt_surface/prompts/cli.claude.txt@@ -35,13 +35,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -52,16 +52,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -76,13 +75,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -96,8 +94,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/prompts/cli.gemini.txt b/tests/fixtures/prompt_surface/prompts/cli.gemini.txtindex 61736401bd0..c86e510098b 100644--- a/tests/fixtures/prompt_surface/prompts/cli.gemini.txt+++ b/tests/fixtures/prompt_surface/prompts/cli.gemini.txt@@ -49,13 +49,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -66,16 +66,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -90,13 +89,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -110,8 +108,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/prompts/cli.gpt.txt b/tests/fixtures/prompt_surface/prompts/cli.gpt.txtindex 62d9c0b7475..11176c44aeb 100644--- a/tests/fixtures/prompt_surface/prompts/cli.gpt.txt+++ b/tests/fixtures/prompt_surface/prompts/cli.gpt.txt@@ -100,13 +100,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -117,16 +117,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -141,13 +140,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -161,8 +159,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/prompts/cli.hermes.txt b/tests/fixtures/prompt_surface/prompts/cli.hermes.txtindex d0f6f4356d3..b895b3e4ede 100644--- a/tests/fixtures/prompt_surface/prompts/cli.hermes.txt+++ b/tests/fixtures/prompt_surface/prompts/cli.hermes.txt@@ -35,13 +35,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -52,16 +52,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -76,13 +75,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -96,8 +94,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/prompts/cron.claude.txt b/tests/fixtures/prompt_surface/prompts/cron.claude.txtindex 59296829be1..f8927d4eb17 100644--- a/tests/fixtures/prompt_surface/prompts/cron.claude.txt+++ b/tests/fixtures/prompt_surface/prompts/cron.claude.txt@@ -35,13 +35,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -52,16 +52,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -76,13 +75,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -96,8 +94,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/prompts/desktop.claude.txt b/tests/fixtures/prompt_surface/prompts/desktop.claude.txtindex 564fe2bd93e..5808b3f1db0 100644--- a/tests/fixtures/prompt_surface/prompts/desktop.claude.txt+++ b/tests/fixtures/prompt_surface/prompts/desktop.claude.txt@@ -35,13 +35,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -52,16 +52,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -76,13 +75,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -96,8 +94,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/prompts/discord.claude.txt b/tests/fixtures/prompt_surface/prompts/discord.claude.txtindex 44b57bca763..94885d6eb1e 100644--- a/tests/fixtures/prompt_surface/prompts/discord.claude.txt+++ b/tests/fixtures/prompt_surface/prompts/discord.claude.txt@@ -35,13 +35,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -52,16 +52,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -76,13 +75,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -96,8 +94,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/prompts/telegram.claude.txt b/tests/fixtures/prompt_surface/prompts/telegram.claude.txtindex 66686ec0c96..f1f37270ee1 100644--- a/tests/fixtures/prompt_surface/prompts/telegram.claude.txt+++ b/tests/fixtures/prompt_surface/prompts/telegram.claude.txt@@ -35,13 +35,13 @@ If a skill has issues, fix it with skill_manage(action='patch').After difficult/iterative tasks, offer to save as a skill. If a skill you loaded was missing steps, had wrong commands, or needed pitfalls you discovered, update it before finishing.<available_skills>- autonomous-ai-agents: Skills for spawning and orchestrating autonomous AI coding agents and multi-agent workflows — running independent agent processes, delegating tasks, and coordinating parallel workstreams.+ autonomous-ai-agents:- claude-code: Delegate coding to Claude Code CLI (features, PRs).- codex: Delegate coding to OpenAI Codex CLI (features, PRs).- computer-use: Drive the desktop background-first; escalate on signal.- hermes-agent: Use, configure, theme, extend, and orchestrate Hermes Agent.- opencode: Delegate coding to OpenCode CLI (features, PR review).- creative: Creative content generation — ASCII art, hand-drawn style diagrams, and visual design tools.+ creative:- architecture-diagram: Dark-themed SVG architecture/cloud/infra diagrams as HTML.- ascii-video: ASCII video: convert video/audio to colored ASCII MP4/GIF.- baoyu-infographic: Infographics: 21 layouts x 21 styles (信息图, 可视化).@@ -52,16 +52,15 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- p5js: p5.js sketches: gen art, shaders, interactive, 3D.- popular-web-designs: 54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.- songwriting-and-ai-music: Songwriting craft and Suno AI music prompts.- email: Skills for sending, receiving, searching, and managing email from the terminal.+ email:- email-inbox-triage: Triage an inbox: prioritize threads, draft replies safely.- himalaya: Himalaya CLI: IMAP/SMTP email from terminal.- media: Skills for working with media content — YouTube transcripts, GIF search, music generation, and audio visualization.+ media:- gif-search: Search/download GIFs from Tenor via curl + jq.- songsee: Audio spectrograms/features (mel, chroma, MFCC) via CLI.- youtube-content: YouTube transcripts to summaries, threads, blogs.- note-taking: Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.- - obsidian: Read, search, create, and edit notes in the Obsidian vault.- productivity: Skills for document creation, presentations, spreadsheets, and other productivity workflows.+ - obsidian: Read, search, create, and edit notes in the Obsidian vault.+ productivity:- airtable: Airtable REST API via curl. Records CRUD, filters, upserts.- box: Box manages cloud files, sharing, search, and metadata.- document-to-action-items: Extract cited obligations, deadlines, tasks from documents.@@ -76,13 +75,12 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- teams-meeting-pipeline: Teams meeting summaries, job replay, Graph subscriptions.- weekly-review-planning: Weekly reset: commitments, stalled work, next-week plan.- xlsx: Create, read, edit Excel .xlsx workbooks and CSVs.- research: Skills for academic research, paper discovery, literature review, domain reconnaissance, market data, content monitoring, and scientific knowledge retrieval.+ research:- arxiv: Search arXiv papers by keyword, author, category, or ID.- competitor-news-monitor: Watch named companies for material news; cited digests.- grounded-citations: Ground answers and documents in cited, verifiable sources.- llm-wiki: Karpathy's LLM Wiki: build/query interlinked markdown KB.- social-media: Skills for interacting with social platforms and social-media workflows — posting, reading, monitoring, and account operations.- - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.+ - xurl: X/Twitter via xurl CLI: raw post search, posting, DM, media.software-development:- codebase-inspection: Inspect codebases w/ pygount: LOC, languages, ratios.- dogfood: Exploratory QA of web apps: find bugs, evidence, reports.@@ -96,8 +94,7 @@ After difficult/iterative tasks, offer to save as a skill. If a skill you loaded- spike: Throwaway experiments to validate an idea before build.- systematic-debugging: 4-phase root cause debugging: understand bugs before fixing.- test-driven-development: TDD: enforce RED-GREEN-REFACTOR, tests before code.- web: Skills for reaching web content when direct access fails — blocked, paywalled, rate-limited, or bot-walled pages.- - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.+ - blocked-page-recovery: Use when a fetch fails: 403/429, paywall, WAF, bot wall.</available_skills>Only proceed without loading a skill if genuinely none are relevant to the task.diff --git a/tests/fixtures/prompt_surface/surfaces.json b/tests/fixtures/prompt_surface/surfaces.jsonindex 7198487c5ac..0f70286fe57 100644--- a/tests/fixtures/prompt_surface/surfaces.json+++ b/tests/fixtures/prompt_surface/surfaces.json@@ -3,7 +3,7 @@"prompt_tokens": {"context": 249,"stable": 1935,- "volatile": 1813+ "volatile": 1528},"tool_tokens": 11490,"tools": [@@ -36,7 +36,7 @@"prompt_tokens": {"context": 0,"stable": 1445,- "volatile": 1813+ "volatile": 1528},"tool_tokens": 11490,"tools": [@@ -69,7 +69,7 @@"prompt_tokens": {"context": 0,"stable": 1866,- "volatile": 1811+ "volatile": 1527},"tool_tokens": 11490,"tools": [@@ -102,9 +102,9 @@"prompt_tokens": {"context": 0,"stable": 2640,- "volatile": 1809+ "volatile": 1524},- "tool_tokens": 11645,+ "tool_tokens": 11646,"tools": ["browser_cdp","browser_dialog",@@ -135,7 +135,7 @@"prompt_tokens": {"context": 0,"stable": 1445,- "volatile": 1813+ "volatile": 1528},"tool_tokens": 11490,"tools": [@@ -168,7 +168,7 @@"prompt_tokens": {"context": 0,"stable": 1317,- "volatile": 1813+ "volatile": 1528},"tool_tokens": 11490,"tools": [@@ -201,9 +201,9 @@"prompt_tokens": {"context": 0,"stable": 1579,- "volatile": 1814+ "volatile": 1529},- "tool_tokens": 12155,+ "tool_tokens": 12156,"tools": ["browser_cdp","browser_dialog",@@ -235,7 +235,7 @@"prompt_tokens": {"context": 0,"stable": 1349,- "volatile": 1814+ "volatile": 1529},"tool_tokens": 11490,"tools": [@@ -268,7 +268,7 @@"prompt_tokens": {"context": 0,"stable": 1382,- "volatile": 1814+ "volatile": 1529},"tool_tokens": 11490,"tools": [diff --git a/tests/fixtures/prompt_surface/tools/skill_manage.json b/tests/fixtures/prompt_surface/tools/skill_manage.jsonindex a2df0d65826..64dc59a1ed3 100644--- a/tests/fixtures/prompt_surface/tools/skill_manage.json+++ b/tests/fixtures/prompt_surface/tools/skill_manage.json@@ -1,5 +1,5 @@{- "description": "Create, update or delete skills: your procedural memory for recurring tasks. The call is an operations array (a single edit is a list of one); it applies atomically — any failure rolls every touched skill back. Ops: create (full SKILL.md; lands in the profile's skills directory or configured skills.create_dir; must precede that skill's other ops), patch (targeted old_string/new_string fix — preferred; content alone REPLACES the whole file, read it via skill_view() first), write_file/remove_file (supporting files), delete (sole op only). Existing skills are modified wherever they live. Keep the description's first 57 chars a self-contained trigger: 'Use when <trigger>. <one-line behavior>.' Write lessons, not logs: imperative rule + why, no PR numbers/dates/incident narration, one rule per lesson, references/ named by topic (extend before adding). skill_view() shows format conventions.",+ "description": "Create, update or delete skills: your procedural memory for recurring tasks. The call is an operations array (a single edit is a list of one); it applies atomically — any failure rolls every touched skill back. Ops: create (full SKILL.md; lands in the profile's skills directory or configured skills.create_dir; must precede that skill's other ops), patch (targeted old_string/new_string fix — preferred; content alone REPLACES the whole file, read it via skill_view() first), write_file/remove_file (supporting files), delete (sole op only). Existing skills are modified wherever they live. Description: max 60 chars, 'Use when <trigger>. <behavior>.', never the category name (the index shows it). Write lessons, not logs: imperative rule + why, no PR numbers/dates/incident narration, one rule per lesson, references/ named by topic (extend before adding). skill_view() shows format conventions.","name": "skill_manage","parameters": {"properties": {diff --git a/tests/skills/test_authoring_standards.py b/tests/skills/test_authoring_standards.pyindex 94fa1ed3655..d066af1b457 100644--- a/tests/skills/test_authoring_standards.py+++ b/tests/skills/test_authoring_standards.py@@ -15,6 +15,8 @@ from pathlib import Pathimport pytestimport hermes_yaml as yaml+from agent.skill_utils import SKILL_PROMPT_DESC_LIMIT+REPO = Path(__file__).resolve().parents[2]MARKETING = re.compile(r"\b(powerful|comprehensive|seamless|revolutionary|cutting-edge|state-of-the-art)\b",@@ -103,7 +105,9 @@ def test_description_hardline(p):desc = str(fm.get("description") or "")if _grandfathered(p, "description"):return- assert len(desc) <= 60, f"{_rel(p)}: description {len(desc)} chars (hardline 60)"+ # The index's clip width: a shipped description over it would reach the prompt clipped.+ assert len(desc) <= SKILL_PROMPT_DESC_LIMIT, (+ f"{_rel(p)}: description {len(desc)} chars (hardline {SKILL_PROMPT_DESC_LIMIT})")assert desc.rstrip().endswith("."), f"{_rel(p)}: description must end with a period"m = MARKETING.search(desc)assert not m, f"{_rel(p)}: marketing word in description: {m.group(0)!r}"diff --git a/tests/tools/test_skill_manager_tool.py b/tests/tools/test_skill_manager_tool.pyindex 254e197ead5..8b074d8ebf3 100644--- a/tests/tools/test_skill_manager_tool.py+++ b/tests/tools/test_skill_manager_tool.py@@ -265,16 +265,24 @@ class TestCreateSkill:assert empty_result["success"] is Trueassert (empty / "SKILL.md").exists()- def test_edit_long_desc_still_allowed_with_preview(self, tmp_path):- """Edit/patch paths stay permissive so existing over-limit skills- remain maintainable — they warn via system_prompt_preview instead."""+ def test_written_long_desc_rejected_but_legacy_one_stays_editable(self, tmp_path):+ """A description an edit/patch WRITES must fit the index width; a legacy over-limit+ description the call leaves alone never blocks a body change (preview instead)."""with _skill_dir(tmp_path):_create_skill("my-skill", VALID_SKILL_CONTENT)- result = _edit_skill("my-skill", LONG_DESC_CONTENT)- assert result["success"] is True- assert "system_prompt_preview" in result+ edit = _edit_skill("my-skill", LONG_DESC_CONTENT)+ patched = _patch_skill("my-skill", "A test skill for unit testing.",+ "Use when deploying multi-region clusters with custom CNI plugins.")+ legacy = tmp_path / "legacy"+ legacy.mkdir()+ (legacy / "SKILL.md").write_text(LONG_DESC_CONTENT.replace("long-desc", "legacy"))+ body = _edit_skill("legacy", LONG_DESC_CONTENT.replace("long-desc", "legacy") + "\nMore.\n")+ assert edit["success"] is False and "60" in edit["error"]+ assert patched["success"] is False and "60" in patched["error"]+ assert "A test skill for unit testing." in (tmp_path / "my-skill" / "SKILL.md").read_text()+ assert body["success"] is Truefm, _ = parse_frontmatter(LONG_DESC_CONTENT)- assert extract_skill_description(fm) in result["system_prompt_preview"]+ assert extract_skill_description(fm) in body["system_prompt_preview"]class TestEditSkill:diff --git a/tools/skill_linter.py b/tools/skill_linter.pyindex 6344682c8b8..2ba1868debb 100644--- a/tools/skill_linter.py+++ b/tools/skill_linter.py@@ -93,8 +93,8 @@ def _check_frontmatter(frontmatter: dict[str, Any], skill_dir: Optional[Path]) -desc = str(frontmatter.get("description", "")).strip().strip("'\"")if len(desc) > SKILL_PROMPT_DESC_LIMIT:yield _warn("description-length",- f"description is {len(desc)} chars; the skill index truncates past "- f"{SKILL_PROMPT_DESC_LIMIT} chars + '...', losing routing "+ f"description is {len(desc)} chars; the skill index shows "+ f"{SKILL_PROMPT_DESC_LIMIT} and clips the rest, losing routing "f"signal. Keep it to one sentence.")hits = [w for w in _MARKETING_WORDS if re.search(rf"\b{re.escape(w)}\b", desc.lower())]if hits:diff --git a/tools/skill_manager_tool.py b/tools/skill_manager_tool.pyindex 560e28bd85a..61eea9b6c18 100644--- a/tools/skill_manager_tool.py+++ b/tools/skill_manager_tool.py@@ -143,10 +143,8 @@ def _validate_category(category: Optional[str]) -> Optional[str]:return _check_identifier(category, "Category", invalid)-def _validate_frontmatter(content: str, *, new_skill: bool = False) -> Optional[str]:- """Validate frontmatter (name + description) and a non-empty body. ``new_skill`` (create- only) also enforces SKILL_PROMPT_DESC_LIMIT so new skills never lose routing signal to- index truncation; edit/patch skip it so existing over-limit skills stay maintainable."""+def _validate_frontmatter(content: str) -> Optional[str]:+ """Validate frontmatter (name + description) and a non-empty body."""if not content.strip():return "Content cannot be empty."content = content.lstrip("\ufeff") # tolerate a Windows UTF-8 BOM@@ -167,18 +165,25 @@ def _validate_frontmatter(content: str, *, new_skill: bool = False) -> Optional[desc = str(parsed["description"])if len(desc) > MAX_DESCRIPTION_LENGTH:return f"Description exceeds {MAX_DESCRIPTION_LENGTH} characters."- if new_skill and len(desc.strip().strip("'\"")) > SKILL_PROMPT_DESC_LIMIT:- return (- f"Description is {len(desc.strip())} chars — new skills must fit the "- f"{SKILL_PROMPT_DESC_LIMIT}-char system-prompt budget (one sentence, trigger first, "- f"ends with a period). The skill index truncates longer descriptions to "- f"{SKILL_PROMPT_DESC_LIMIT - 3} chars + '...', destroying the routing signal. "- f"Move detail into the skill body.")if not content[end_match.end() + 3:].strip():return "SKILL.md must have content after the frontmatter (instructions, procedures, etc.)."return None+def _description_budget_error(content: str, before: Optional[str] = None) -> Optional[str]:+ """A description written by this call (a create, or an edit/patch that changes it from the one in+ ``before``) must fit SKILL_PROMPT_DESC_LIMIT, the width the skill index shows. An unchanged legacy+ over-limit description stays editable: a body patch must not be blocked by an old frontmatter."""+ desc = _description_of(content) or ""+ if len(desc) <= SKILL_PROMPT_DESC_LIMIT or (before is not None and desc == _description_of(before)):+ return None+ return (+ f"Description is {len(desc)} chars; a skill description must fit the "+ f"{SKILL_PROMPT_DESC_LIMIT}-char skill index (one sentence, trigger first, ends with a "+ f"period, without repeating the category name). The index clips anything longer. "+ f"Move detail into the skill body.")++def _validate_content_size(content: str, label: str = "SKILL.md") -> Optional[str]:if len(content) > MAX_SKILL_CONTENT_CHARS:return (@@ -188,6 +193,13 @@ def _validate_content_size(content: str, label: str = "SKILL.md") -> Optional[streturn None+def _description_of(content: Optional[str]) -> Optional[str]:+ """Normalized frontmatter description of a SKILL.md text; None when absent or unparseable."""+ with suppress(Exception):+ return str(_parse_frontmatter(content or "")[0]["description"]).strip().strip("'\"")+ return None++def _description_preview(content: str) -> str:"""First 120 chars of the frontmatter description; '' on any failure."""with suppress(Exception):@@ -418,8 +430,8 @@ def _add_description_prompt_preview(result: dict[str, Any], content: str) -> dicfm, _ = _parse_frontmatter(content)if is_skill_description_truncated_for_prompt(fm):result["system_prompt_preview"] = (- f"System prompt will show: \"{extract_skill_description(fm)}\" — keep the trigger "- f"self-contained in the first {SKILL_PROMPT_DESC_LIMIT - 3} chars.")+ f"System prompt will show: \"{extract_skill_description(fm)}\" — shorten the "+ f"description to {SKILL_PROMPT_DESC_LIMIT} chars so the index shows all of it.")return result@@ -452,7 +464,8 @@ def _clip(text: str, n: int, ellipsis: str) -> str:def _create_skill(name: str, content: str, category: str | None = None) -> dict[str, Any]:if err := (_validate_name(name) or _validate_category(category)- or _validate_frontmatter(content, new_skill=True) or _validate_content_size(content)):+ or _validate_frontmatter(content) or _description_budget_error(content)+ or _validate_content_size(content)):return _err(err)if existing := _find_skill(name):return _err(f"A skill named '{name}' already exists at {existing['path']}.")@@ -496,6 +509,9 @@ def _edit_skill(name: str, content: str) -> dict[str, Any]:if err := _validate_frontmatter(content) or _validate_content_size(content):return _err(err)skill_dir, guard = _locate_for_write(name, "edit")+ if not guard and (err := _description_budget_error(+ content, before=(skill_dir / "SKILL.md").read_text(encoding="utf-8-sig"))):+ return _err(err)# SKILL.md always exists here (_find_skill requires it), so a blocked scan restores it.if guard := guard or _guarded_write(name, skill_dir, skill_dir / "SKILL.md", "edit", "SKILL.md", content):return guard@@ -544,6 +560,8 @@ def _patch_skill(name: str, old_string: str, new_string: str, file_path: str | Nreturn _err(err)if not file_path and (err := _validate_frontmatter(new_content)):return _err(f"Patch would break SKILL.md structure: {err}")+ if not file_path and (err := _description_budget_error(new_content, before=content)):+ return _err(err)if guard := _guarded_write(name, skill_dir, target, "patch", target_label, new_content):return guardresult = {@@ -829,9 +847,9 @@ def _skill_manage_description() -> str:"ops), patch (targeted old_string/new_string fix — preferred; ""content alone REPLACES the whole file, read it via skill_view() ""first), write_file/remove_file (supporting files), delete (sole "- "op only). Existing skills are modified wherever they live. Keep "- "the description's first 57 chars a self-contained trigger: 'Use "- "when <trigger>. <one-line behavior>.' Write lessons, not logs: "+ "op only). Existing skills are modified wherever they live. "+ f"Description: max {SKILL_PROMPT_DESC_LIMIT} chars, 'Use when <trigger>. <behavior>.', never "+ "the category name (the index shows it). Write lessons, not logs: ""imperative rule + why, no PR numbers/dates/incident narration, one ""rule per lesson, references/ named by topic (extend before adding). ""skill_view() shows format conventions."diff --git a/website/docs/user-guide/skills/bundled/software-development/software-development-hermes-agent-skill-authoring.md b/website/docs/user-guide/skills/bundled/software-development/software-development-hermes-agent-skill-authoring.mdindex b76b4813239..cc363d7d7df 100644--- a/website/docs/user-guide/skills/bundled/software-development/software-development-hermes-agent-skill-authoring.md+++ b/website/docs/user-guide/skills/bundled/software-development/software-development-hermes-agent-skill-authoring.md@@ -89,9 +89,9 @@ metadata:### `description` rules (HARDLINE — the validator's 1024 is NOT the standard)- **≤ 60 characters.** One sentence. Ends with a period.-- State the capability, not the implementation, and don't repeat the skill name.+- State the capability, not the implementation, and don't repeat the skill name or its category name (the index prints the category above the skill).- No marketing words ("powerful", "comprehensive", "seamless", "advanced").-- The system prompt skill index truncates at 57 chars + "..." — the trigger/capability must be self-contained in that window.+- 60 is the width the system prompt skill index shows; `skill_manage` rejects a new or changed description over it, and the index clips a longer legacy one at a word boundary.- If the description contains a `:`, wrap it in double quotes or YAML parses it as a mapping and the docs generator crashes. Quotes don't count toward the 60.Good: `Track named companies for material news with cited digests.`