Communitygithub.com

aiagentwithdhruv/skills

ローカルでClaudeオーケストレーターを起動し、Cloudflareトンネルで外部公開します。ユーザーがローカル実行、ローカルサーバーの起動、またはWebhookのテストを要求したときに使用します。

skills とは?

このスキルは、Claudeオーケストレーターをローカル環境で実行し、Cloudflareトンネルを使用して外部からWebhookにアクセスできるようにするためのものです。FastAPIサーバーをポート8000で起動し、`/directive`、`/list-webhooks`、`/general-agent`のエンドポイントを提供します。Modalデプロイと比較して、ローカルファイルや認証情報へのフルアクセス、リアルタイムデバッグが可能で、開発の反復が高速です。Cloudflareトンネルを有効にすると、外部サービスからのWebhookを受け取れるようになります。コストは無料で、ローカルの`.env`ファイルを直接使用します。入力としてポート番号を指定でき、出力としてローカルサーバーのURLとトンネルURLを返します。`add-webhook`スキルと組み合わせて使用するのに適しています。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aiagentwithdhruv/skills/tree/HEAD/local-server

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ローカルサーバー実行

目標

Claudeオーケストレーターをローカルで実行し、Cloudflareトンネルを使用して外部Webhookアクセスを可能にします。

サーバー起動

python3 execution/local_server.py

ポート8000でFastAPIサーバーが起動します。

Cloudflareトンネル

外部アクセス(Webhook)には、Cloudflareトンネルを使用します:

cloudflared tunnel --url http://localhost:8000

エンドポイント

Modalデプロイと同じ:

  • /directive?slug={slug} - ディレクティブを実行
  • /list-webhooks - Webhook一覧表示
  • /general-agent - 汎用エージェントタスク

開発用途

  • Modalデプロイより高速な反復
  • ローカルファイルと認証情報への完全なアクセス
  • print文によるリアルタイムデバッグ

環境

Modal(シークレットを使用)とは異なり、ローカルの.envファイルを直接使用します。


スキーマ

入力

名前型必須説明
portintegerいいえサーバーポート(デフォルト:8000)

出力

名前型説明
server_urlstringローカルサーバーのURL(http://localhost:8000)
tunnel_urlstringCloudflareトンネルのURL(有効な場合)

組み合わせ可能なスキル

このスキルと連携して使用するのに適したスキル:add-webhook

コスト

無料(ローカル実行)

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

aiagentwithdhruv/skills

Add new Modal webhooks for event-driven execution. Use when user asks to create a webhook, add an endpoint, or set up event triggers.

aiagentwithdhruv/skills

Answer Euron Gen AI Bootcamp doubts instantly. Covers Euri API setup across all frameworks (Python, LangChain, OpenAI SDK, TypeScript, n8n, curl), MCP server setup, common errors, model recommendations, and token limits. Use when someone in the bootcamp asks a question.

aiagentwithdhruv/skills

Manage emails across multiple Gmail accounts with unified tooling. Use when user asks to check email, read inbox, label emails, archive messages, or manage Gmail across accounts.

aiagentwithdhruv/skills

Auto-label Gmail emails into Action Required, Waiting On, and Reference categories. Use when user asks to label emails, triage inbox, categorize emails, or organize Gmail.

aiagentwithdhruv/skills

Scrape Google Maps for B2B leads with deep website enrichment and contact extraction. Use when user asks to find local businesses, scrape Google Maps, generate contractor lists, or build local service business databases.

aiagentwithdhruv/skills

MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard

aiagentwithdhruv/skills

Deploy execution scripts to Modal cloud. Use when user asks to deploy to Modal, push code to cloud, or update Modal functions.

aiagentwithdhruv/skills

Scrape and verify business leads using Apify, classify with LLM, enrich emails, and save to Google Sheets. Use when user asks to find leads, scrape businesses, generate prospect lists, or build lead databases for any industry or location.

aiagentwithdhruv/skills

Query Skool community content using RAG pipeline with vector search. Use when user asks to search Skool knowledge, find community answers, or query Skool content.

aiagentwithdhruv/skills

Scrape Upwork jobs and generate personalized proposals with cover letters. Use when user asks to find Upwork jobs, create Upwork proposals, or apply to Upwork listings.

関連スキル