ptc-orchestration

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

16 stars

Best use case

ptc-orchestration is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using ptc-orchestration should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ptc-orchestration/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/cli-automation/ptc-orchestration/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ptc-orchestration/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ptc-orchestration Compares

Feature / Agentptc-orchestrationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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`

Related Skills

beads-orchestration

16
from diegosouzapw/awesome-omni-skill

Multi-agent orchestration for GitHub Issues using BEADS task tracking

apache-airflow-orchestration

16
from diegosouzapw/awesome-omni-skill

Complete guide for Apache Airflow orchestration including DAGs, operators, sensors, XComs, task dependencies, dynamic workflows, and production deployment

agent-orchestration-improve-agent

16
from diegosouzapw/awesome-omni-skill

Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.

workflow-orchestration

16
from diegosouzapw/awesome-omni-skill

Design and implement DAG-based workflows with parallel execution, retries, and error handling. Use when building complex multi-step agent workflows.

ai-orchestration-feedback-loop

16
from diegosouzapw/awesome-omni-skill

Multi-AI engineering loop orchestrating Claude, Codex, and Gemini for comprehensive validation. USE WHEN (1) mission-critical features requiring multi-perspective validation, (2) complex architectural decisions needing diverse AI viewpoints, (3) security-sensitive code requiring deep analysis, (4) user explicitly requests multi-AI review or triple-AI loop. DO NOT USE for simple features or single-file changes. MODES - Triple-AI (full coverage), Dual-AI Codex-Claude (security/logic), Dual-AI Gemini-Claude (UX/creativity).

agentic-orchestration

16
from diegosouzapw/awesome-omni-skill

Patterns for multi-agent coordination, task decomposition, handoffs, and workflow orchestration. Best practices for building and managing agent systems.

agent-orchestration

16
from diegosouzapw/awesome-omni-skill

This skill should be used when the model's ROLE_TYPE is orchestrator and needs to delegate tasks to specialist sub-agents. Provides scientific delegation framework ensuring world-building context (WHERE, WHAT, WHY) while preserving agent autonomy in implementation decisions (HOW). Use when planning task delegation, structuring sub-agent prompts, or coordinating multi-agent workflows.

agent-orchestration-planner

16
from diegosouzapw/awesome-omni-skill

Designs multi-step agent workflows with tool usage, retry logic, state management, and budget controls. Provides orchestration diagrams, tool execution order, fallback strategies, and cost limits. Use for "AI agents", "agentic workflows", "multi-step AI", or "autonomous systems".

agent-orchestration-patterns

16
from diegosouzapw/awesome-omni-skill

Automatically applies when designing multi-agent systems. Ensures proper tool schema design with Pydantic, agent state management, error handling for tool execution, and orchestration patterns.

agent-orchestration-context-manager

16
from diegosouzapw/awesome-omni-skill

Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems. Orchestrates context across multi-agent workflows, enterprise AI systems, and long-running projects with 2024/2025 best practices. Use PROACTIVELY for complex AI orchestration. Use when: the task directly matches context manager responsibilities within plugin agent-orchestration. Do not use when: a more specific framework or task-focused skill is clearly a better match.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

mcp-create-declarative-agent

16
from diegosouzapw/awesome-omni-skill

Skill converted from mcp-create-declarative-agent.prompt.md