<< All versions
Skill v1.0.1
currentAutomated scan100/100ilude/claude-code-config/ptc-orchestration
2 files
──Details
PublishedNovember 5, 2026 at 06:07 PM
Content Hashsha256:c293be7f2ebcdfb4...
Git SHA35874660219d
Bump Typepatch
──Files
Files (1 file, 2.2 KB)
SKILL.md2.2 KBactive
SKILL.md · 76 lines · 2.2 KB
name: ptc-orchestration description: Activate when user needs multi-URL scraping, browser automation pipelines, or efficient tool orchestration to reduce API round-trips and context usage. metadata: version: "1.0.1"
PTC Orchestration Skill
Use Programmatic Tool Calling (PTC) for efficient multi-tool workflows. PTC allows Claude to write Python code that orchestrates multiple tool calls, reducing:
- API round-trips (60% fewer calls)
- Context token usage (65% reduction)
- Execution time (53% faster)
When to Use
Activate this skill when the user needs:
- Multi-URL scraping: Fetch and compare multiple web pages
- Browser automation: Chain multiple browser actions (navigate → snapshot → click → extract)
- Tool orchestration: Any workflow with 3+ sequential tool calls
Available Commands
CLI Usage
bash
# Multi-URL scraping with summarizationpython -m ptc_wrapper.cli scrape https://url1.com https://url2.com# Browser automation pipelinepython -m ptc_wrapper.cli browser "Navigate to X, extract Y" --url https://start.com# Custom PTC promptpython -m ptc_wrapper.cli run "Your complex multi-tool task" --servers flaresolverr,browsermcp# List available toolspython -m ptc_wrapper.cli list --tools
Python API
python
from ptc_wrapper import PTCClientasync with PTCClient() as client:await client.load_mcp_servers(["flaresolverr"])result = await client.scrape_urls(urls, summarize=True)
Setup
Ensure the wrapper is installed:
bash
cd ~/.claude/tools/ptc-wrapperuv pip install -e .
Key Features
- MCP Integration: Works with existing MCP servers (flaresolverr, browsermcp)
- Tool Search: Uses
allowed_callersto enable code execution - Input Examples: Auto-generates examples for better parameter accuracy
- Agentic Loop: Handles multi-turn tool execution automatically
Architecture
PTCClient → Anthropic API (with code_execution)↓MCPClient → MCP Servers (flaresolverr, browsermcp via stdio)
The wrapper adds:
code_execution_20250825tool to enable PTCallowed_callers: ["code_execution_20250825"]to each toolinput_examplesfor parameter accuracy- Beta header:
advanced-tool-use-2025-11-20