Account-synced skills no longer have file attachments pulled out, except on remote or Cowork runs.
What's wrong with this entry?
Skills that arrive through skill syncing now skip file-attachment extraction from their content, matching how skills from MCP servers and the memory store already behaved. The exception is remote or cowork runs, where extraction still happens.
- The remote check is
CLAUDE_CODE_REMOTEorCLAUDE_CODE_IS_COWORK; either being set restores extraction for synced skills. - The previous rule was a per-source list that skipped extraction only for
mcpandmemoryStoreskills.
if (e.loadedFrom === "syncedSkills") return !Jy_();
Strings lifted out of the shipped bundle, so the claim above can be checked against them.