Skip to content
Back to skills

Ptc Orchestration

ASecurity

Activate when user needs multi-URL scraping, browser automation pipelines, or efficient tool orchestration to reduce API round-trips and context usage.

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
ai-agentspythonbashapi

Works with

  • cli
  • api
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill ptc-orchestration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ptc Orchestration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ptc Orchestration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-ptc-orchestration/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-ptc-orchestration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.
---

# 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 summarization
python -m ptc_wrapper.cli scrape https://url1.com https://url2.com

# Browser automation pipeline
python -m ptc_wrapper.cli browser "Navigate to X, extract Y" --url https://start.com

# Custom PTC prompt
python -m ptc_wrapper.cli run "Your complex multi-tool task" --servers flaresolverr,browsermcp

# List available tools
python -m ptc_wrapper.cli list --tools
```

### Python API
```python
from ptc_wrapper import PTCClient

async 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-wrapper
uv pip install -e .
```

## Key Features

1. **MCP Integration**: Works with existing MCP servers (flaresolverr, browsermcp)
2. **Tool Search**: Uses `allowed_callers` to enable code execution
3. **Input Examples**: Auto-generates examples for better parameter accuracy
4. **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_20250825` tool to enable PTC
- `allowed_callers: ["code_execution_20250825"]` to each tool
- `input_examples` for parameter accuracy
- Beta header: `advanced-tool-use-2025-11-20`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.