← Back to Skills Marketplace
pedrohenrique202525

Local Life

cross-platform ⚠ suspicious
717
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install local-life
Description
Fornece informações locais em tempo real sobre clima, qualidade do ar, cotações e feriados para uma cidade específica em formato de dashboard.
README (SKILL.md)

name: local-life description: Fornece um dashboard visual com informações locais em tempo real. Ative esta skill quando o usuário perguntar sobre o clima, temperatura, cotação de moedas, ou pedir um resumo geral do dia para uma cidade específica. Gatilhos comuns incluem: "como está o dia em Goiânia?", "resumo do dia", "status local", "local-life", "qual a previsão do tempo para hoje?".

Skill: L

ocal Life

Esta skill transforma o agente em um assistente de contexto local, compilando dados de múltiplas fontes gratuitas em um dashboard formatado e de fácil leitura.

📋 Instruções para o Agente

  1. 📍 Localização

• Identifique a cidade do usuário. Se a cidade não for informada, use Goiânia como padrão.

• Armazene o nome da cidade em uma variável (ex: CIDADE) para usar nas APIs.

  1. ☁️ Coleta de Dados

• Clima, Astronomia e Fase da Lua:

• Use curl "https://wttr.in/{CIDADE}?format=j1".

• Extraia os seguintes dados:

• current_condition: temp_C, FeelsLikeC, windspeedKmph, humidity, uvIndex.

• weather -> hourly: chanceofrain.

• weather -> astronomy: sunrise, sunset, moon_phase.

• Cotações de Moedas:

• Use curl "https://economia.awesomeapi.com.br/last/USD-BRL,EUR-BRL,BTC-BRL".

• Feriados Nacionais:

• Use curl "https://date.nager.at/api/v3/PublicHolidays/2026/BR".

• Verifique se há algum feriado para a data atual.

  1. 🔎 Pesquisa Adicional (Fallback )

• Qualidade do Ar (AQI): A API wttr.in não fornece este dado. Use uma ferramenta de pesquisa (como a API da Brave) para buscar "qualidade do ar em {CIDADE} hoje" e extraia o status (ex: "Boa", "Moderada", "Ruim").

  1. 💡 Lógica de Dicas Contextuais

• Com base nos dados coletados, gere uma dica contextual (DICA_CONTEXTUAL):

• Se a chance de chuva for > 30%: "Leve guarda-chuva se sair!"

• Se o índice UV for > 6: "Use protetor solar hoje."

• Se a qualidade do ar for "Ruim" ou "Muito Ruim": "Evite exercícios ao ar livre hoje."

• Se a variação do dólar for > 1%: "O mercado está volátil hoje."

• Se nenhuma das condições acima for atendida, não exiba a dica.

  1. ⚙️ Regras de Formatação

• Bloco de Código: O output final DEVE ser gerado dentro de um bloco de código (usando ```) para preservar o alinhamento e a formatação ASCII.

• Tradução: Traduza os nomes das fases da lua (ex: "New Moon" -> "Lua Nova") e as descrições do clima para o Português.

• Template: Siga rigorosamente o template de saída abaixo, preenchendo as variáveis com os dados coletados.

💻 Template de Saída

O agente deve preencher as variáveis e manter este layout:

Plain Text

🏠 local-life - Tudo sobre onde você mora

📍 [CIDADE] - [DATA ATUAL], [HORA]

☀️ CLIMA AGORA 🌡️ [TEMP]°C (sensação [FEEL]°C) 💨 Vento: [VENTO] km/h 💧 Umidade: [UMIDADE]% 🌦️ Previsão: [PREVISÃO_TEXTO]

📊 ÍNDICES DO DIA ☀️ UV: [UV_INDEX] ([RISCO]) - [DICA_UV]! 🌬️ Qualidade do ar: [AQI_STATUS] 🌅 Sol nasce: [SUNRISE] | põe: [SUNSET]

💰 COTAÇÕES 💵 Dólar: R$ [USD] ([USD_VAR]%) 💶 Euro: R$ [EUR] ([EUR_VAR]%) ₿ Bitcoin: R$ [BTC] ([BTC_VAR]%)

🗓️ HOJE

  • [FERIADO_STATUS]
  • Lua: [LUA_NOME] [LUA_EMOJI]

💡 DICA: [DICA_CONTEXTUAL]

Usage Guidance
This skill is instruction-only and uses public APIs (wttr.in, economia.awesomeapi.com.br, date.nager.at) to build a local dashboard, and it requests no secrets — that is generally safe and coherent with its description. Before installing, consider: 1) The skill will make outbound network requests containing the city name (and current date/time) to public endpoints — if you need to avoid any outbound calls or logging of query data, do not enable it. 2) The AQI step is vague: it instructs the agent to use a 'search tool (e.g., Brave API)'; confirm which browsing/search tool the agent will actually use and whether you trust it to perform web queries. 3) If you expect a different default city than Goiânia, note the skill defaults to Goiânia when no city is provided. 4) The skill has no rate-limit or error-handling guidance — expect possible failures if upstream APIs change or become rate-limited. If those behaviors are acceptable, the skill is consistent and proportionate to its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: local-life Version: 1.0.0 The `SKILL.md` file instructs the OpenClaw agent to execute `curl` commands, specifically `curl "https://wttr.in/{CIDADE}?format=j1"`. The `{CIDADE}` variable is user-controlled input. If the agent directly interpolates this variable into a shell command without proper sanitization or escaping, it creates a significant shell injection vulnerability, potentially allowing arbitrary command execution on the host system. While the stated purpose of fetching weather data is benign, the method introduces a critical security risk, classifying it as suspicious due to this vulnerability.
Capability Assessment
Purpose & Capability
The name/description (local dashboard for weather, AQI, currency, holidays) matches the runtime instructions: it calls wttr.in for weather/astronomy, economia.awesomeapi.com.br for exchange rates, and date.nager.at for holidays. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
Instructions are narrowly scoped to collecting public data for a city and formatting a dashboard. One minor vagueness: the AQI fallback directs the agent to use a 'tool de pesquisa (como a API da Brave)' to query 'qualidade do ar em {CIDADE} hoje' — this is ambiguous about which search/browsing tool will be used and could result in arbitrary outbound web requests depending on the agent's available tools. Otherwise the curl calls and JSON fields targeted are appropriate and proportional.
Install Mechanism
No install spec and no code files — instruction-only skill. This is low-risk since nothing is written to disk by the skill bundle itself.
Credentials
The skill requires no environment variables, credentials, or config paths. All external requests use public unauthenticated APIs appropriate for the stated functionality.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills/config. Autonomous invocation is permitted by default but is not combined with broad credential access.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install local-life
  3. After installation, invoke the skill by name or use /local-life
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
local-life 1.0.0 - Lança uma nova skill para fornecer um dashboard visual com informações locais em tempo real para uma cidade específica. - Inclui dados de clima, temperatura, previsão, cotação de moedas, feriados nacionais, fase da lua e qualidade do ar. - Oferece dicas contextuais automáticas baseadas nas condições do dia (chuva, UV, dólar, ar). - Apresenta todas as informações em um layout organizado, traduzido e formatado em bloco de código ASCII. - Utiliza Goiânia como cidade padrão se outra não for informada.
Metadata
Slug local-life
Version 1.0.0
License
All-time Installs 3
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Local Life?

Fornece informações locais em tempo real sobre clima, qualidade do ar, cotações e feriados para uma cidade específica em formato de dashboard. It is an AI Agent Skill for Claude Code / OpenClaw, with 717 downloads so far.

How do I install Local Life?

Run "/install local-life" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Local Life free?

Yes, Local Life is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Local Life support?

Local Life is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Local Life?

It is built and maintained by PEDROHENRIQUE202525 (@pedrohenrique202525); the current version is v1.0.0.

💬 Comments