Token导航 LogoToken导航

Agent Skill · 效率

sun-path(太阳路径)

sun-path 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

sun-path 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 2,911。

总安装 21,024周安装 876GitHub Stars 公开资料未说明下载 7,008核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.4.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sun-path(太阳路径)
来源仓库:https://github.com/qrost/sun-path
安装命令:
openclaw skills install sun-path
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sun-path

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

sun-path 用于辅助前端页面、组件和样式开发。适合维护前端项目、生成组件或检查界面实现。通过 clawhub 安装并使用 CLI 生成太阳路径图、计算位置和分析热舒适度。使用前需确认权限范围、维护状态及是否触发文件读写或网络请求。sun-path 属于效率类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install sun-path;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

sun-path 怎么安装?

在终端执行 openclaw skills install sun-path。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sun-path 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

sun-path 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install sun-path 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

sun-path 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

sun-path 用的人多吗?

公开数据是累计安装 21,024 次,近一周安装 876 次,下载 7,008 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

sun-path 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
sun-path

太阳路径 · 本页

21,024—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
sun-path
version
1.4.1
description
Generates a sun path diagram, calculates solar position, performs building shadow analysis, and analyzes thermal comfort.
author
qrost
permissions

Sun Path & Environmental Analysis

This skill provides comprehensive environmental analysis tools for architects and designers.

Dependencies

This skill requires Python and the following libraries:

  • pysolar (solar calculations)
  • matplotlib (plotting)
  • pytz (timezone handling)
  • shapely (geometry calculations for shadows)
  • numpy (math)
  • rasterio (for terrain/DEM shadow; optional for DEM features)

Setup: OpenClaw does not install Python packages automatically. After installing this skill (e.g. via clawhub install sun-path), run once from the skill folder or with the path to it: pip install -r requirements.txt. If a script fails with ModuleNotFoundError, install the missing package from the list above or from requirements.txt.

Sending images to Telegram

Used from the OpenClaw Telegram conversation. Scripts that produce images (plot_sunpath.py, shadow_calc.py, comfort_calc.py, annual_sun_hours.py --output, terrain_shadow.py --plot) write PNG/JPG to the path you pass. Run the script with an --output (or --plot and use the script’s default image path), then send that image file to the user via the OpenClaw message/media tool so they see it in chat.

OpenClaw allowed paths: The message tool only sends files from allowed dirs (~/.openclaw/media/, ~/.openclaw/agents/, or /tmp). Always pass an output path under one of these (e.g. --output ~/.openclaw/media/sunpath.png or /tmp/shadow.png); do not use the skill install directory or sending will fail.

Agent behavior: When the user asks for sun position, sun path diagram, shadow, annual sun hours chart, comfort chart, or terrain shadow, run the corresponding script directly with exec and pass an image output path under an allowed dir; then send the generated PNG/JPG to the user. Do not ask for confirmation; execute and return the image and a short summary.

Usage

1. Calculate Sun Position

Get the current azimuth and altitude for a specific location.

python3 scripts/sun_calc.py --lat 34.05 --lon -118.24 --timezone "America/Los_Angeles"

2. Generate Sun Path Diagram

Create a polar chart showing the sun's path throughout the year.

python3 scripts/plot_sunpath.py --lat 34.05 --lon -118.24 --output sunpath.png

3. Shadow Analysis (2D)

Simulate the shadow cast by a simple building (cuboid) at a specific time.

Parameters:

  • --lat, --lon: Location coordinates.
  • --time: Date/Time in ISO format (e.g., "2024-06-21T12:00:00") or "now".
  • --width, --depth: Building footprint dimensions (meters).
  • --height: Building height (meters).
  • --rotation: Rotation in degrees clockwise from North.
  • --output: Output image filename.
python3 scripts/shadow_calc.py --lat 34.05 --lon -118.24 --time "2024-06-21T15:00:00" --width 15 --depth 10 --height 20 --rotation 45 --output shadow_analysis.png

4. Annual Sun / Shadow Hours at a Point

Compute how many hours per year a given point is in direct sun, in building shadow, or night (sun below horizon). Uses the same building cuboid and 2D shadow model as Shadow Analysis; point is given in meters from building center.

Parameters:

  • --lat, --lon: Location coordinates.
  • --width, --depth, --height, --rotation: Building dimensions and rotation (same as shadow analysis).
  • --point-x, --point-y: Point to evaluate (meters from building center; e.g. North = positive X if rotation 0).
  • --year: Year (default: current year).
  • --interval: Sample interval in minutes (default 60; smaller = more accurate, slower).
  • --timezone: Timezone for the year (e.g. Asia/Shanghai).
  • --output: Optional; save a monthly bar chart (sun / shadow / night hours) to this file.
# Example: point 15 m north of building center, Shanghai, 2024
python3 scripts/annual_sun_hours.py --lat 31.23 --lon 121.47 --width 10 --depth 10 --height 20 --point-x 15 --point-y 0 --year 2024 --timezone Asia/Shanghai

# With monthly chart
python3 scripts/annual_sun_hours.py --lat 31.23 --lon 121.47 --width 10 --depth 10 --height 20 --point-x 15 --point-y 0 --year 2024 --timezone Asia/Shanghai --output annual_hours.png

Output: total hours in sun, in shadow, and at night, plus optional monthly breakdown chart.

5. Terrain Shadow (DEM)

Compute binary shadow (sun vs shadow) on terrain from a GeoTIFF DEM at a given time. Uses sun position and ray casting; suitable for modest DEM sizes (for 1GB RAM, keep grid under ~2000×2000 or process smaller crops).

Parameters:

  • dem: Path to GeoTIFF DEM.
  • --lat, --lon: Latitude/longitude for sun position.
  • --time: Time in ISO format or "now" (interpreted in --timezone then converted to UTC).
  • --timezone: Timezone name (e.g. Asia/Shanghai).
  • --output: Output GeoTIFF path (default: terrain_shadow.tif).
  • --plot: Also save a PNG visualization.
  • --step: Ray step in pixels (default 1; larger = faster, less accurate).
# Example: shadow at noon local time
python3 scripts/terrain_shadow.py /path/to/dem.tif --lat 31.23 --lon 121.47 --time "2024-06-21T12:00:00" --timezone Asia/Shanghai --output shadow.tif --plot

6. Comfort Analysis (Psychrometric Chart)

Visualize current temperature and humidity on a psychrometric chart to assess thermal comfort.

Parameters:

  • --temp: Dry bulb temperature (°C).
  • --rh: Relative humidity (%).
  • --output: Output image filename.
python3 scripts/comfort_calc.py --temp 28 --rh 60 --output comfort_chart.png

Examples

User: "What is the sun position in Los Angeles right now?" Action:

  1. Identify coordinates for Los Angeles (Lat: 34.05, Lon: -118.24).
  2. Run sun_calc.py.
  3. Return azimuth and altitude.

User: "Show me the shadow of a 20m tall, 10x10m building in Shanghai on winter solstice at 2 PM." Action:

  1. Identify coordinates (Shanghai: 31.23, 121.47).
  2. Identify time (Winter Solstice: 2024-12-21 14:00).
  3. Run shadow_calc.py:
   python3 scripts/shadow_calc.py --lat 31.23 --lon 121.47 --time "2024-12-21T14:00:00" --width 10 --depth 10 --height 20 --output shanghai_shadow.png
  1. Return the image.

User: "Is it comfortable in Singapore right now? Temp is 32C, Humidity 80%." Action:

  1. Run comfort_calc.py:
   python3 scripts/comfort_calc.py --temp 32 --rh 80 --output singapore_comfort.png
  1. Return the image and analysis.

User: "How many hours per year is this point in sun vs shadow? Building 10×10×20m, point 15m north." Action:

  1. Run annual_sun_hours.py with site lat/lon, building dimensions, and --point-x 15 --point-y 0.
  2. Return the printed summary (direct sun / shadow / night hours) and optionally the monthly chart if --output was used.

User: "Where is the terrain in shadow at this site at 2 PM? I have a DEM." Action:

  1. Run terrain_shadow.py with the DEM path, site --lat/--lon, and --time (e.g. 14:00 local), --timezone, and --output/--plot.
  2. Return the shadow raster and/or PNG and a short summary.

平台分布

OpenClaw

87.12%
按下载量换算6,105

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install sun-path 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills