{"version":"2.1.312","anchor":"artifact-tool-prompt-requires-loading-the-skill-before-writi","canonical_anchor":"artifact-tool-prompt-requires-loading-the-skill-before-writi","heading":"Claude is told to load the artifact skill before writing an artifact file","tier":"notice","area":"Artifacts","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312\/e\/artifact-tool-prompt-requires-loading-the-skill-before-writi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312","markdown":"### Claude is told to load the artifact skill before writing an artifact file\n\nInstructions for publishing artifacts now say Claude must load the artifact skill before writing the file, even a .md file a skill asked for\n\n**Unclear.** It is not clear whether this text is part of the Artifact tool's live instructions or only stored in the program.\n\n**What**\n\nAn artifact is a page Claude Code publishes from a file. A skill is a set of instructions Claude can load. Changed instructions in Claude Code tell Claude to load the artifact skill before it writes the file, because that skill describes what the page must contain. This applies even when another skill told Claude to write a `.md` file. Claude then writes the content with its Write or Edit tool and calls the Artifact tool with the file's path. If a scratchpad directory is listed, the file goes there. A scratchpad directory is a temporary folder for working files.\n\n**Why**\n\nThe change shapes how Claude prepares artifacts. Loading the skill first should help the published page match what the artifact format expects.\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}