Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
{}, square brackets [], and key-value pairs. Think of it like a very organized filing cabinet where everything has a specific place.Adventure 1
{}{} containing related data{
"weather": {
"temperature": "22ยฐC",
"condition": "sunny",
"wind": {
"speed": "10 km/h"
}
}
}Adventure 1
curl https://wttr.in/Beijing?format=j1Adventure 1
{} that contains everything: is what you want!Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
which openclaw
cd ~/.openclaw/workspace
mkdir weather
vim weather/SKILL.mdAdventure 1
# Weather Query Skill
## Trigger Words
User mentions "weather", "temperature", "rain", "forecast"
## Steps
1. Get the city name from the user's question
2. Call: curl https://wttr.in/{city}?format=j1
3. Parse the JSON response
4. Tell the user in a friendly way
## Example
User: "What's the weather in Tokyo?"
Response: "It's currently 18ยฐC in Tokyo with partly cloudy skies!"Adventure 1
openclaw gateway restart
openclaw agents
openclaw agent --agent main --message "tell me a joke in english"
openclaw agent --agent main --message "y=x^2+3x+6, x=3,y=?"
openclaw agent --agent main --message "weather in las vegas"
openclaw configure --section web
Brave API Key: BSAdZ3Xo8AjGyuUqIlUmrCd3GU_eA6tAdventure 1
~/clawd/skills/ directory. Use pwd to check your location.openclaw restart.Adventure 1
{} and brackets [] are closed. JSON is picky!Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1
Adventure 1