pub fn skills_index_text(skills: &[AgentSkill], provider_id: &str) -> StringExpand description
The startup file’s skills index, each skill by its /<trigger>; empty when
it lists none. Claude Code lists the skills it has a file for
(.claude/commands, .claude/skills) by itself, so for it the index carries
only those without one (LC3, §4.4). By the resolved provider, so an alias
(claude-code) counts as Claude. Shared with memory:launchcost.
Any other provider has no skill loader, so for it an Agent Skill’s line names the SKILL.md that
build_config_files wrote for it (.claude/skills/<slug>/SKILL.md, written for every provider) and
the heading’s sentence tells the agent to read that file before it acts (Skills B6). Claude’s index
keeps the sentence an older AgentMux wrote, which is_legacy_agentmux_claude_md still matches.