The whole hunk
from line 95, old and new numbered
/
lines
from line 95
9595 ```
9696
9797 ```php PHP
98 // The PHP SDK exposes the Skills API under the beta namespace; field names can differ from other SDKs.
9899 // List Anthropic-managed Skills
99100 $skills = $client->beta->skills->list(source: 'anthropic');
100101
from line 301
300301 ```
301302
302303 ```php PHP
304 // The PHP SDK supports container skills only through $client->beta->messages with the skills beta.
303305 // Create a message with the PowerPoint Skill
304306 $response = $client->beta->messages->create(
305307 model: 'claude-opus-5',
from line 353
351353* **`tools`:** Enables code execution (required for Skills)
352354
353355<Note>
354 Skills are generally available on the Claude API and don't require a beta header. This covers the Skills API, the `container.skills` parameter, and the Files API. Requests that still send the `skills-2025-10-02` or `files-api-2025-04-14` header keep working, and the Skills API and Files API return the earlier response format for them. The PHP tabs in this quickstart still call the SDK's `beta` namespace and send those headers, so their printed output shows the earlier response fields.
355
356 The examples use the `code_execution_20260521` tool version, and the Step 3 code parses the result types that current tool versions return. Skills also work with older [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) versions such as `code_execution_20250825`: any current code execution tool version satisfies the Skills requirement without a beta header. If you use a different version, use the tool `type` listed on the code execution tool page.
356 The examples use the `code_execution_20260521` tool version, and the Step 3 code parses the result types that current tool versions return. Skills also work with older [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) versions such as `code_execution_20250825`: any current code execution tool version satisfies the Skills requirement. If you use a different version, use the tool `type` listed on the code execution tool page.
357357</Note>
358358
359359When you make this request, Claude automatically matches your task to the relevant Skill. Because you asked for a presentation, Claude determines the PowerPoint Skill is relevant and loads its full instructions: the second level of progressive disclosure. Then Claude runs the Skill's code to create your presentation.
from line 546
546546 ```
547547
548548 ```php PHP
549 // The PHP SDK exposes the Files API under the beta namespace; field names can differ from other SDKs.
549550 // Extract the file ID. The code execution tool runs the Skill's code through
550551 // its Bash sub-tool, and generated files appear as bash_code_execution_output
551552 // items inside the bash_code_execution_tool_result block.
from line 761
760761 ```
761762
762763 ```php PHP
764 // The PHP SDK supports container skills only through $client->beta->messages with the skills beta.
763765 $response = $client->beta->messages->create(
764766 model: 'claude-opus-5',
765767 maxTokens: 16000,
from line 956
954956 ```
955957
956958 ```php PHP
959 // The PHP SDK supports container skills only through $client->beta->messages with the skills beta.
957960 $response = $client->beta->messages->create(
958961 model: 'claude-opus-5',
959962 maxTokens: 16000,
from line 1151
11481151 ```
11491152
11501153 ```php PHP
1154 // The PHP SDK supports container skills only through $client->beta->messages with the skills beta.
11511155 $response = $client->beta->messages->create(
11521156 model: 'claude-opus-5',
11531157 maxTokens: 16000,