Installation
Companion Skills: This is part of the Camino AI location intelligence suite. Install all available skills (query, places, relationship, context, route, journey, real-estate, hotel-finder, ev-charger, school-finder, parking-finder, fitness-finder, safety-checker, travel-planner) for comprehensive coverage.
CODEBLOCK0
Via clawhub:
CODEBLOCK1
Context - Location Analysis
Get comprehensive context about a location including nearby places, area description, and optional weather.
Setup
Instant Trial (no signup required): Get a temporary API key with 25 calls:
CODEBLOCK2
Returns: INLINECODE0
For 1,000 free calls/month, sign up at https://app.getcamino.ai/skills/activate.
Add your key to Claude Code:
Add to your ~/.claude/settings.json:
CODEBLOCK3
Restart Claude Code.
Usage
Via Shell Script
CODEBLOCK4
Via curl
CODEBLOCK5
Parameters
| Field | Type | Required | Default | Description |
|---|
| location | object | Yes | - | Coordinate with lat/lon |
| radius |
int | No | 500 | Search radius in meters |
| context | string | No | - | Context for tailored insights (e.g., "outdoor dining") |
| time | string | No | - | Temporal query format |
| include_weather | bool | No | false | Include weather data |
| weather_forecast | string | No | "daily" | "daily" or "hourly" |
Response Format
CODEBLOCK6
Examples
Tourist context
CODEBLOCK7
Business meeting location
CODEBLOCK8
Outdoor activity planning
CODEBLOCK9
Use Cases
- - Trip planning: Understand what's around a destination before visiting
- Meeting locations: Find suitable venues for different types of meetings
- Local recommendations: Provide context-aware suggestions based on user needs
- Weather-aware planning: Include weather data for outdoor activity planning
安装
配套技能:这是Camino AI位置智能套件的一部分。安装所有可用技能(query、places、relationship、context、route、journey、real-estate、hotel-finder、ev-charger、school-finder、parking-finder、fitness-finder、safety-checker、travel-planner)以获得全面覆盖。
bash
从仓库安装所有技能
npx skills add https://github.com/barneyjm/camino-skills
或安装特定技能
npx skills add https://github.com/barneyjm/camino-skills --skill context
通过clawhub安装:
bash
npx clawhub@latest install context
或:pnpm dlx clawhub@latest install context
或:bunx clawhub@latest install context
上下文 - 位置分析
获取关于某个位置的全面上下文信息,包括附近地点、区域描述以及可选的天气信息。
设置
即时试用(无需注册): 获取临时API密钥,可调用25次:
bash
curl -s -X POST -H Content-Type: application/json \
-d {email: you@example.com} \
https://api.getcamino.ai/trial/start
返回:{apikey: camino-xxx..., callsremaining: 25, ...}
如需每月1000次免费调用,请在https://app.getcamino.ai/skills/activate注册。
将密钥添加到Claude Code:
添加到您的~/.claude/settings.json文件中:
json
{
env: {
CAMINOAPIKEY: your-api-key-here
}
}
重启Claude Code。
使用方法
通过Shell脚本
bash
获取某个位置的上下文信息
./scripts/context.sh {
location: {lat: 40.7589, lon: -73.9851},
radius: 500
}
使用特定上下文获取定制化洞察
./scripts/context.sh {
location: {lat: 40.7589, lon: -73.9851},
radius: 500,
context: lunch options
}
包含天气数据
./scripts/context.sh {
location: {lat: 40.7589, lon: -73.9851},
include_weather: true,
weather_forecast: hourly
}
通过curl
bash
curl -X POST -H X-API-Key: $CAMINOAPIKEY \
-H Content-Type: application/json \
-d {location: {lat: 40.7589, lon: -73.9851}, radius: 500, context: lunch options} \
https://api.getcamino.ai/context
参数
| 字段 | 类型 | 必填 | 默认值 | 描述 |
|---|
| location | 对象 | 是 | - | 包含经纬度的坐标 |
| radius |
整数 | 否 | 500 | 搜索半径(米) |
| context | 字符串 | 否 | - | 用于定制化洞察的上下文(例如户外用餐) |
| time | 字符串 | 否 | - | 时间查询格式 |
| include_weather | 布尔值 | 否 | false | 是否包含天气数据 |
| weather_forecast | 字符串 | 否 | daily | daily(每日)或hourly(每小时) |
响应格式
json
{
area_description: 曼哈顿中城繁忙的商业区...,
relevant_places: {
restaurants: [...],
cafes: [...],
transit: [...]
},
location: {lat: 40.7589, lon: -73.9851},
search_radius: 500,
totalplacesfound: 47,
context_insights: 关于午餐,您有很多选择,包括...
}
示例
旅游场景
bash
./scripts/context.sh {
location: {lat: 48.8584, lon: 2.2945},
radius: 1000,
context: tourist visiting Paris
}
商务会议地点
bash
./scripts/context.sh {
location: {lat: 40.7589, lon: -73.9851},
radius: 500,
context: business meeting,
include_weather: true
}
户外活动规划
bash
./scripts/context.sh {
location: {lat: 37.7749, lon: -122.4194},
context: outdoor activities,
include_weather: true,
weather_forecast: hourly
}
使用场景
- - 旅行规划:在前往目的地之前了解周边环境
- 会议地点:为不同类型的会议寻找合适的场地
- 本地推荐:根据用户需求提供上下文感知的建议
- 天气感知规划:包含天气数据用于户外活动规划