← 返回 Skills 市场
Clawshorts Pkg
作者
cindulasai
· GitHub ↗
· v1.0.4
· MIT-0
91
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install clawshorts-pkg
功能描述
Block YouTube Shorts on Fire TV. Use when asked to check, manage, or configure YouTube Shorts limiting on Buck's Fire TV devices. Triggers on requests like "...
使用说明 (SKILL.md)
ClawShorts
YouTube Shorts limiter for Fire TV. Monitors watch time per device and auto-blocks when daily limit is reached.
Invocation
Primary entry point:
~/.openclaw/workspace/skills/clawshorts/scripts/clawshorts.sh \x3Ccommand>
Commands
| Command | When to use |
|---|---|
status |
Check today's usage, remaining quota, daemon health |
reset [IP] |
Reset today's counter (all devices or specific IP) |
start |
Start the daemon if not running |
stop |
Stop the daemon |
history [days] |
Show watch history (default 30 days) |
logs [N] |
Show last N daemon log lines (default 50) |
list |
List all configured devices |
setup \x3CIP> [NAME] |
First-time setup for a new device |
add \x3CIP> [NAME] |
Add another Fire TV |
connect \x3CIP> |
Connect ADB to device |
enable \x3CIP> / disable \x3CIP> |
Enable/disable a device |
Detection Logic
- Poll interval: 3 seconds via ADB
- Shorts: ~45% screen width (portrait aspect)
- Regular video: ~100% screen width
- Home/browse: no video active
- Only actual Shorts playback counts toward limit
Data Locations
- Device config + history:
~/.clawshorts/clawshorts.db(SQLite) - Daemon log:
~/.clawshorts/daemon.log - LaunchAgent:
~/Library/LaunchAgents/com.fink.clawshorts.plist
Requirements
adb(Android platform tools)- Python 3
- Fire TV with ADB debugging enabled
shortssymlink at/opt/homebrew/bin/shorts
安全使用建议
This package appears to implement the advertised YouTube-Shorts limiting functionality (it uses adb to inspect the Fire TV UI, tracks usage in ~/.clawshorts/clawshorts.db, and force-stops the YouTube app when limits are reached). Important things to consider before installing:
- Metadata mismatch: the registry lists no required binaries, but the SKILL.md and scripts require Python 3 and adb (Android platform tools). The package will also attempt to create a symlink at /opt/homebrew/bin/shorts and install a LaunchAgent/systemd service — these actions may require elevated permissions or modify your login services.
- Persistence: the install path writes files under your home directory and configures autostart (~/Library/LaunchAgents or ~/.config/systemd/user). If you later uninstall, verify those files are removed.
- ADB risks: enabling ADB on a Fire TV grants remote control of that device. Only enable ADB on trusted networks and understand that adb connect will open a network-accessible control channel to the device.
- Review before running: because the package includes executable scripts that call adb, launchctl/systemctl, and pkill, you should inspect the files locally (they are present in the bundle) and run them in a controlled environment first. If you prefer least privilege, run the daemon manually without installing the auto-start components, or run in an account/container you can easily roll back.
- If you want to proceed: ensure adb and Python are installed, read the install/uninstall steps in README/TROUBLESHOOTING, and confirm the created symlink and LaunchAgent are acceptable. If unsure, ask the publisher for a formal install spec and clarification of why registry metadata omitted runtime binary requirements.
能力评估
Purpose & Capability
The name/description (block YouTube Shorts on Fire TV) aligns with the included code: ADB-based daemon, detection logic, and SQLite state. However the registry metadata claims no required binaries/env but the SKILL.md and scripts clearly require adb and Python and expect a symlink /opt/homebrew/bin/shorts — this metadata omission is inconsistent and surprising.
Instruction Scope
The SKILL.md and scripts instruct the agent/user to run local scripts that: connect to devices over ADB, dump UI XML, force-stop apps, create a symlink in /opt/homebrew/bin, write a LaunchAgent plist (~/Library/LaunchAgents) or systemd unit, and manage a local SQLite DB under ~/.clawshorts. All of these actions are coherent with the stated purpose but they give the skill broad control of local system files and persistent startup behavior and require enabling ADB on target devices (which the docs warn about).
Install Mechanism
There is no formal install spec in the registry, yet the package includes many code files and provides manual install steps that write files, create symlinks (potentially requiring sudo), and register LaunchAgents/systemd units. The absence of a declared install mechanism in metadata vs. presence of executable scripts is a packaging/integrity concern — users may be surprised that files will be created and autostart configured.
Credentials
The skill requests no cloud credentials or unrelated environment variables. All data it uses is local (ADB to on‑network Fire TV IPs, local SQLite under ~/.clawshorts). This is proportionate to its functionality. Note: enabling ADB gives the host machine powerful control of the TV device (expected for this use case).
Persistence & Privilege
The skill/installation will create persistent components: a daemon, optional LaunchAgent or systemd unit, and a healthcheck sidecar that can kill/restart the daemon. always:false is set, but installing the skill (via its provided install actions) grants it persistent autostart on the user's account. Users should be aware this will run continuously and can restart/kill processes on the machine.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawshorts-pkg - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawshorts-pkg触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
ClawShorts v1.0.4 Changelog
- Introduced SKILL.md with concise description, invocation details, and supported commands.
- Documented command-line usage for managing, monitoring, and configuring YouTube Shorts limits on Fire TV devices.
- Added device setup, usage tracking, history, and connectivity instructions.
- Outlined detection logic and required dependencies.
元数据
常见问题
Clawshorts Pkg 是什么?
Block YouTube Shorts on Fire TV. Use when asked to check, manage, or configure YouTube Shorts limiting on Buck's Fire TV devices. Triggers on requests like "... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 91 次。
如何安装 Clawshorts Pkg?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawshorts-pkg」即可一键安装,无需额外配置。
Clawshorts Pkg 是免费的吗?
是的,Clawshorts Pkg 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Clawshorts Pkg 支持哪些平台?
Clawshorts Pkg 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawshorts Pkg?
由 cindulasai(@cindulasai)开发并维护,当前版本 v1.0.4。
推荐 Skills