← 返回 Skills 市场
kapishdima

DTEK Light

作者 kapishdima · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
854
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dtek-light
功能描述
Проверка наличия электроэнергии через сайт ДТЭК Одесские электросети (Одеса, вул. Чикаленка Євгена, 43)
使用说明 (SKILL.md)

Проверка света (ДТЭК Одесские электросети)

Проверяет текущее наличие электроэнергии по адресу Одеса, вул. Чикаленка Євгена, 43 через сайт dtek-oem.com.ua.

When to use

Используй этот скилл когда пользователь спрашивает:

  • "что по свету?"
  • "есть свет?"
  • "когда включат свет?"
  • "/light"

Prerequisites

Для работы нужен Playwright с установленным Chromium:

npm install playwright
npx playwright install chromium

Instructions

  1. Запусти скрипт проверки. Скрипт находится рядом с этим SKILL.md:
node "$(dirname "$(find ~/.claude/skills -name 'check-light.js' -path '*dtek-light*' | head -1)")/check-light.js"
  1. Скрипт вернет JSON с полем status. Интерпретируй результат:

Если status = no_light:

Ответь:

Света нет. Выключили в [start_time].
Скорее всего эти бляди включат в [restore_time].

Где [start_time] и [restore_time] - значения из JSON.

Если status = light_on:

Ответь:

Свет вроде как есть, но кто этих пиздюков знает.

Если status = error или unknown:

Ответь:

Не удалось проверить, сайт ДТЭК опять чудит. Попробуй позже.

И покажи ошибку если есть.

安全使用建议
This skill appears to do what it says: it runs a headless Chromium via Playwright to scrape the DTEK outage page and returns a small JSON describing the result. Before installing or running: (1) be aware you must install Playwright and Chromium (these downloads are sizeable and will run a local headless browser); (2) the SKILL.md run command assumes a Unix-like home directory layout and may not work on Windows as-is; (3) the script briefly reads a Playwright cache directory in your home to locate a Chromium binary (it does not read other personal files or request credentials); (4) its output messages contain profane language if you care about tone — you may want to edit response templates. If you want extra caution, review the included check-light.js file yourself and run it in a controlled environment before allowing autonomous invocation.
功能分析
Type: OpenClaw Skill Name: dtek-light Version: 1.0.0 The skill is designed to check power outage status from dtek-oem.com.ua using Playwright. The `SKILL.md` instructs the agent to execute a local Node.js script (`check-light.js`) and interpret its JSON output. The `check-light.js` script uses Playwright to navigate and scrape data from the specified DTEK website. File system access in `check-light.js` is limited to locating the Playwright Chromium executable, and the `find` command in `SKILL.md` is used to locate the skill's own script. There is no evidence of data exfiltration, malicious execution, persistence, or prompt injection aiming for harmful behavior. All actions are aligned with the stated purpose.
能力评估
Purpose & Capability
Name/description say it will check power availability on the DTEK Odessa site; the package depends on Playwright and the script uses Playwright to open https://www.dtek-oem.com.ua/ua/shutdowns, interact with the form, and extract outage text — this is proportionate and expected.
Instruction Scope
SKILL.md instructs running the included Node script and interpreting its JSON output; the run command uses a find under ~/.claude/skills (Unix-like path) and the script reads page content and a couple of page element innerText values for debugging. The instructions do not request unrelated files or credentials, but they assume a Unix/macOS environment and require installing Playwright/Chromium.
Install Mechanism
There is no embedded download URL or remote installer; SKILL.md tells the user to npm install playwright and run npx playwright install chromium. package.json lists playwright as a dependency and provides a setup script — standard, traceable packages.
Credentials
The skill requests no environment variables or credentials. The script reads a Playwright cache path in the user's home (~/.cache/ms-playwright on mac-specific path) to try to find an existing Chromium binary — this is reasonable for browser-launch optimization and does not expose secrets.
Persistence & Privilege
always:false and the skill is user-invocable; it does not modify other skills or system-wide settings. It runs locally and does not request persistent elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dtek-light
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dtek-light 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of dtek-ligh (dtek-light-check) skill. - Checks power availability for Odessa, vul. Chikalenka Yevhena, 43 via dtek-oem.com.ua. - Responds to user queries about local electricity status. - Requires Playwright with Chromium for operation. - Returns status and suggests responses based on current power situation. - Provides troubleshooting instructions for error cases.
元数据
Slug dtek-light
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

DTEK Light 是什么?

Проверка наличия электроэнергии через сайт ДТЭК Одесские электросети (Одеса, вул. Чикаленка Євгена, 43). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 854 次。

如何安装 DTEK Light?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dtek-light」即可一键安装,无需额外配置。

DTEK Light 是免费的吗?

是的,DTEK Light 完全免费(开源免费),可自由下载、安装和使用。

DTEK Light 支持哪些平台?

DTEK Light 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 DTEK Light?

由 kapishdima(@kapishdima)开发并维护,当前版本 v1.0.0。

💬 留言讨论