skills-guide changedbuild-with-claude/skills-guide
Nearest release: v2.1.301, published 5 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+8added
Lines−14removed
From line
936
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits21to this page, all time
The whole hunk
from line 936, old and new numbered
/
from line 936
936936
937937The response's `container` object carries the container's `id` and `expires_at` timestamp (see [Container reuse](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#container-reuse) for lifetime details). Reuse the same container across multiple messages by specifying the container ID:
938938
939<CodeGroup>
940 ```bash cURL
941 # Multi-turn container reuse doesn't translate well to a one-off shell
942 # command; one of the SDK options would be a better fit. Capture
943 # container.id from the first response, then pass it in the next request as
944 # "container": {"id": "...", "skills": [...]} with the conversation history.
945 ```
939<CodeGroup exclude="shell:cURL">
940 <CodeGroupItem language="cURL">
941 Multi-turn container reuse needs more logic than a single shell command, so use the Claude SDK for it. To build the requests yourself, capture `container.id` from the first response. Then pass it in the next request as `"container": {"id": "...", "skills": [...]}`, together with the conversation history.
942 </CodeGroupItem>
946943
947944 ```bash CLI
948945 # First request creates container
from line 4466
44694466
44704467Handle Skill-related errors gracefully:
44714468
4472<CodeGroup>
4473 ```bash cURL
4474 # This error-handling flow doesn't translate well to a one-off shell
4475 # command; one of the SDK options would be a better fit. A failing request
4476 # returns HTTP 400 with an error JSON whose .error.message names the
4477 # Skill problem.
4478 ```
4469<CodeGroup exclude="shell:cURL">
4470 <CodeGroupItem language="cURL">
4471 This error-handling flow needs more logic than a single shell command, so use the Claude SDK for it. A request that fails because of a Skill problem returns HTTP 400. The `error.message` field in the JSON response body describes the problem.
4472 </CodeGroupItem>
44794473
44804474 ```bash CLI
44814475 if ! RESULT=$(ant messages create \
No line in this hunk matches that.