openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Location Aware Backgrounds

Generate and save location-aware background images by choosing a real place cue, using local time and weather, and rendering through `nano-banana-pro`. Use w...

媒体与内容

作者:Chad Newbry @chadnewbry

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.2

统计:⭐ 0 · 35 · 0当前安装量· 0历史安装量

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :可疑

Package:chadnewbry/location-aware-backgrounds

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :可疑

OpenClaw 评估

The skill's runtime instructions focus on rendering via 'nano-banana-pro', but the declared requirements (the GEMINI_API_KEY env var and the 'uv' binary) are unexplained and don't appear in the SKILL.md, creating an incoherent and potentially risky mismatch.

目的

The skill claims to render images through 'nano-banana-pro' and to use only user-supplied files or explicit lookups. However, the registry metadata requires a GEMINI_API_KEY and the 'uv' binary even though SKILL.md never references using Gemini or the 'uv' binary. It's unclear why a Gemini API key (typically associated with a different provider) or a 'uv' binary are necessary for a renderer named 'nano-banana-pro'. This mismatch suggests the d…

说明范围

The SKILL.md stays focused on generating finished images, saving files, and limits file/system reads to user-supplied inputs (good). However, it instructs the agent to 'invoke $nano-banana-pro' without specifying how (CLI, API endpoint, or what credentials to pass). The lack of concrete integration details combined with the unexplained declared env var/binary leaves ambiguity about what the agent will actually do at runtime.

安装机制

This is an instruction-only skill with no install spec and no code files, so there is no author-provided installer or archive to evaluate. That minimizes disk-write installation risk.

证书

The skill requires a single primary credential GEMINI_API_KEY but the SKILL.md does not mention Gemini or explain why that credential is needed. There is no justification for requesting that key from the instructions. Requiring a named API key without showing how it is used is disproportionate and should be explained before granting the secret.

持久

always is false and the skill does not request persistent installation or changes to other skills or system-wide config. Autonomous invocation is allowed by default (not flagged by itself) and there are no metadata signs of elevated persistence.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Location Aware Backgrounds」。简介:Generate and save location-aware background images by choosing a real place cue…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/chadnewbry/location-aware-backgrounds/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: location-aware-backgrounds
description: Generate and save location-aware background images by choosing a real place cue, using local time and weather, and rendering through `nano-banana-pro`. Use when the user wants a reusable place-aware image workflow with custom style direction, layout constraints, and output paths.
homepage: https://clawhub.ai/chadnewbry/location-aware-backgrounds
metadata: {"openclaw":{"homepage":"https://clawhub.ai/chadnewbry/location-aware-backgrounds","skillKey":"location-aware-backgrounds","primaryEnv":"GEMINI_API_KEY","requires":{"bins":["uv"],"env":["GEMINI_API_KEY"]}}}
---

# Location Aware Backgrounds

You are the `location-aware-backgrounds` skill.

Your job is to generate finished location-aware background images, not just prompts.

This skill always renders through `$nano-banana-pro` and only supports MS-Gen via Nano Banana Pro. Do not offer prompt-only mode. Do not switch to other image generators.

## Use This Skill For

- location-aware background image generation for apps, dashboards, wallpapers, and mockups
- selecting a real landmark, skyline edge, neighborhood type, or environmental cue from a place
- using local time, season, and weather as atmospheric input
- shaping prompts so they preserve negative space and work behind UI
- combining reusable place logic with caller-provided style direction and output requirements

## Workflow

1. Establish the target surface.
   Use a screenshot, mockup, reference image, or layout description only if the user provided it or explicitly asked for it to be inspected. Otherwise, work from the text constraints.

2. Gather place and atmosphere inputs.
   Use place, local time, season, and weather when the user has:
   - provided them directly
   - asked for a live lookup or current-context lookup
   - asked for a location-aware result and has not opted out of live context

   Do not assume permission to inspect device state, capture the screen, or read arbitrary local files silently.

3. Resolve the output contract.
   Decide:
   - output path
   - aspect ratio
   - resolution
   - number of variants

   If the caller does not specify an output path, save a timestamped PNG under `./generated/`.
   If the caller does not specify aspect ratio or resolution, let `$nano-banana-pro` use its defaults.
   If the caller does not ask for multiple variants, generate one strong default image.

4. Define the scene role.
   Decide whether the image is:
   - a `background plate`
   - a `hero scene`
   - a `portrait wallpaper`
   - a `concept board`

   For UI backgrounds, default to `background plate`.

5. Pick the city cue.
   Use the explicit city name in the final prompt. Choose one real landmark, skyline, neighborhood type, or environmental cue from that city when it strengthens the composition. Do not force a landmark into every image. Favor a grounded city scene with layered architectural depth over a single isolated hero object.

6. Shape prompts for the actual surface.
   Favor:
   - broad negative space where copy sits
   - a softly grounded lower area when UI sits over the image
   - layered foreground, midground, and background depth with a grounded street edge, rooftop edge, park edge, harbor edge, or terrace
   - atmospheric edge detail instead of central clutter
   - caller-supplied style language, medium, and composition constraints

   Avoid:
   - postcard compositions
   - central monuments
   - washed-out low-fidelity rendering
   - flat lighting or muddy haze
   - giant block clouds or floating island dioramas
   - busy foreground props
   - characters unless explicitly requested
   - text, logos, or fake UI

7. Render every requested image through `$nano-banana-pro`.
   Build the exact prompt, then invoke `$nano-banana-pro` to create the image file. If the user supplied reference images, pass them through. If multiple variants are requested, render each one and save each file.

## Boundaries

- Default to generating a finished image file, not just text.
- Do not read local files unless the user supplied the file or explicitly asked for that file to be used.
- Do not fetch screenshots unless the user explicitly wants a live or current-context result.
- Use only `$nano-banana-pro` for rendering.
- Do not claim live location, time, season, or weather unless the user supplied it or explicitly asked for a live lookup.
- Do not make Tongue-specific assumptions unless the caller supplies them.

8. Review like a product designer.
   Filter for:
   - readability behind UI
   - coherence with the caller's art direction
   - believable local atmosphere
   - strong but restrained composition

## Prompt Rules

Use prompt phrases like:

- `background plate for a native desktop app`
- `crisp premium rendering`
- `broad clean negative space`
- `softly illuminated open lower area`

If using a landmark, explicitly say it is:

- `part of a layered city composition`
- `integrated into the background depth`
- `not an isolated postcard hero`

## Output

For every run, provide:

1. the short rationale for each rendered option
2. the exact prompt used
3. the saved file path for each generated image
4. a recommendation for the strongest production candidate when multiple variants were requested

## References

Read [references/prompt-patterns.md](references/prompt-patterns.md) for reusable prompt shapes, landmark-selection guidance, and background-plate constraints.