Google Mapsのロゴ

Google Maps

組織
aiagenta2z
google-maps

Google Maps tools via OneKey Gateway (geocode, places, distance matrix, elevation, directions).

概要

公開者aiagenta2z
リポジトリonekey-gateway
スキル名google-maps
スター
52
フォーク
11
同梱ファイル
8
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 8個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    aiagenta2zがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルGoogle MapsをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/aiagenta2z/onekey-gateway/tree/main/skills/google-maps
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aiagenta2z/onekey-gateway.git /tmp/onekey-gateway
mkdir -p .claude/skills
cp -r /tmp/onekey-gateway/skills/google-maps .claude/skills/google-maps
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGoogle Mapsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にGoogle Mapsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Google Mapsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

OneKey Gateway

Use One Access Key to connect to various commercial APIs. Please visit the OneKey Gateway Keys and read the docs OneKey MCP Router Doc and OneKey Gateway Doc.

Dependencies

CLI Dependency

Install onekey-gateway from npm

npm install @aiagenta2z/onekey-gateway

Script Dependency

Install the required Python package before running any scripts.

bash
pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

bash
pip install -r requirements.txt

If the package is already installed, skip installation.

Agent rule

Before executing command lines or running any script in the scripts/ directory, ensure the dependencies are installed. And please use the command line "onekey" as the preferred method to run the skills.

Google Maps Skill

Use the OneKey Gateway to access Google Maps APIs through a unified access key.

Quick Start

Set your OneKey Access Key

In the .env file

shell
DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY

or alternatively set via export.

bash
export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY

If no key is provided, the scripts fall back to the demo key BETA_TEST_KEY_MARCH_2026.

Common settings:

  • unique_id: google-maps/google-maps
  • api_id: one of the tools listed below

Tools

maps_geocode

Convert an address into geographic coordinates.

Parameters:

  • address (string, required): The address to geocode.

maps_reverse_geocode

Convert coordinates into an address.

Parameters:

  • latitude (number, required): Latitude coordinate.
  • longitude (number, required): Longitude coordinate.

maps_search_places

Search for places using Google Places API.

Parameters:

  • query (string, required): Search query.
  • location (object, optional): Optional center point for the search.
  • location.latitude (number, optional): Latitude for the center point.
  • location.longitude (number, optional): Longitude for the center point.
  • radius (number, optional): Search radius in meters (max 50000).

maps_place_details

Get detailed information about a specific place.

Parameters:

  • place_id (string, required): The place ID to get details for.

maps_distance_matrix

Calculate travel distance and time for multiple origins and destinations.

Parameters:

  • origins (array of string, required): Array of origin addresses or coordinates.
  • destinations (array of string, required): Array of destination addresses or coordinates.
  • mode (string, optional): Travel mode (driving, walking, bicycling, transit).

maps_elevation

Get elevation data for locations on the earth.

Parameters:

  • locations (array of object, required): Array of locations to get elevation for.
  • locations[].latitude (number, required): Latitude coordinate.
  • locations[].longitude (number, required): Longitude coordinate.

maps_directions

Get directions between two points.

Parameters:

  • origin (string, required): Starting point address or coordinates.
  • destination (string, required): Ending point address or coordinates.
  • mode (string, optional): Travel mode (driving, walking, bicycling, transit).

Usage

CLI

maps_geocode

shell
npx onekey agent google-maps/google-maps maps_geocode '{"address": "Times Square, New York"}'

maps_reverse_geocode

shell
npx onekey agent google-maps/google-maps maps_reverse_geocode '{"latitude": 40.758, "longitude": -73.9855}'

maps_search_places

shell
npx onekey agent google-maps/google-maps maps_search_places '{"query": "Italian restaurants", "location": {"latitude": 40.758, "longitude": -73.9855}, "radius": 500}'

maps_place_details

shell
npx onekey agent google-maps/google-maps maps_place_details '{"place_id": "ChIJmQJIxlVYwokRLgeuocVOGVU"}'

maps_distance_matrix

shell
npx onekey agent google-maps/google-maps maps_distance_matrix '{"origins": ["Times Square, NY"], "destinations": ["Central Park, NY"], "mode": "driving"}'

maps_elevation

shell
npx onekey agent google-maps/google-maps maps_elevation '{"locations": [{"latitude": 36.057944, "longitude": -112.125168}]}'

maps_directions

shell
npx onekey agent google-maps/google-maps maps_directions '{"origin": "Golden Gate Bridge", "destination": "Ferry Building San Francisco", "mode": "driving"}'

Scripts

Each tool has a dedicated script in skills/google-maps/scripts/:

  • skills/google-maps/scripts/maps_geocode.py
  • skills/google-maps/scripts/maps_reverse_geocode.py
  • skills/google-maps/scripts/maps_search_places.py
  • skills/google-maps/scripts/maps_place_details.py
  • skills/google-maps/scripts/maps_distance_matrix.py
  • skills/google-maps/scripts/maps_elevation.py
  • skills/google-maps/scripts/maps_directions.py

Examples

bash
python3 skills/google-maps/scripts/maps_geocode.py --address "1600 Amphitheatre Parkway, Mountain View, CA"
bash
python3 skills/google-maps/scripts/maps_reverse_geocode.py --latitude 37.422 --longitude -122.084
bash
python3 skills/google-maps/scripts/maps_search_places.py --query "coffee" --location 37.422,-122.084 --radius 1500
bash
python3 skills/google-maps/scripts/maps_place_details.py --place-id "ChIJ2eUgeAK6j4ARbn5u_wAGqWA"
bash
python3 skills/google-maps/scripts/maps_distance_matrix.py --origins "Boston, MA" --destinations "New York, NY" --mode driving
bash
python3 skills/google-maps/scripts/maps_elevation.py --locations "37.422,-122.084;37.427,-122.085"
bash
python3 skills/google-maps/scripts/maps_directions.py --origin "Boston, MA" --destination "New York, NY" --mode driving

Related DeepNLP OneKey Gateway Documents

AI Agent Marketplace
Skills Marketplace AI Agent A2Z Deployment
PH AI Agent A2Z Infra
GitHub AI Agent Marketplace

Dependencies

CLI Dependency

Install onekey-gateway from npm

npm install @aiagenta2z/onekey-gateway

Script Dependency

Install the required Python package before running any scripts.

bash
pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

bash
pip install -r requirements.txt

If the package is already installed, skip installation.

Agent rule

Before executing command lines or running any script in the scripts/ directory, ensure the dependencies are installed. Use the npx onekey CLI as the preferred method to run the skills.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Google Maps」では何ができますか?

Google Maps tools via OneKey Gateway (geocode, places, distance matrix, elevation, directions).

TypingMindでGoogle Mapsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Google Mapsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGoogle Mapsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/aiagenta2z/onekey-gateway/tree/main/skills/google-mapsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Google Mapsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Google Mapsは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGoogle Mapsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Google Maps」は無料ですか?

aiagenta2zがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇