← 返回 Skills 市场
wu-uk

sampling-and-indexing

作者 wu-uk · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
74
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dynamic-object-aware-egomotion-sampling-and-indexing
功能描述
Standardize video sampling and frame indexing so interval instructions and mask frames stay aligned with a valid key/index scheme.
使用说明 (SKILL.md)

When to use

  • You need to decide a sampling stride/FPS and ensure all downstream outputs (interval instructions, per-frame artifacts, etc.) cover the same frame range with consistent indices.

Core steps

  • Read video metadata: frame count, fps, resolution.
  • Choose a sampling strategy (e.g., every 10 frames or target ~10–15 fps) to produce sample_ids.
  • Only produce instructions and masks for sample_ids; the max index must be \x3C total_frames.
  • Use a strict interval key format such as "{start}->{end}" (integers only). Decide (and document) whether end is inclusive or exclusive, and be consistent.

Pseudocode

import cv2
VIDEO_PATH = "\x3Cpath/to/video>"
cap=cv2.VideoCapture(VIDEO_PATH)
n=int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
fps=cap.get(cv2.CAP_PROP_FPS)
step=10  # example
sample_ids=list(range(0, n, step))
if sample_ids[-1] != n-1:
    sample_ids.append(n-1)
# Generate all downstream outputs only for sample_ids

Self-check list

  • sample_ids strictly increasing, all \x3C total frame count.
  • Output coverage max index matches sample_ids[-1] (or matches your documented sampling policy).
  • JSON keys are plain start->end, no extra text.
  • Any per-frame artifact store (e.g., NPZ) contains exactly the sampled frames and no extras.
安全使用建议
This skill is narrowly focused and coherent, but note a few practical points before installing or letting an agent run it: (1) the pseudocode uses Python/OpenCV (cv2) — ensure the runtime where the agent runs has a video-reading library available if you expect it to execute the steps; (2) the instructions require the agent to read video files from local paths, so confirm the agent's file-access policy and limit which directories it may read to avoid accidental exposure of sensitive files; (3) the SKILL.md asks you to choose and document whether interval end indices are inclusive or exclusive — decide this up front to avoid downstream mismatches; (4) because this is instruction-only, there is no binary/install risk, but if you or the agent implementers add execution code, review that code (and any third-party packages) for supply-chain concerns.
功能分析
Type: OpenClaw Skill Name: dynamic-object-aware-egomotion-sampling-and-indexing Version: 0.1.0 The skill bundle provides standard instructions and pseudocode for video frame sampling and indexing using OpenCV. There are no indicators of malicious intent, data exfiltration, or unauthorized execution in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The name/description align with the SKILL.md content (video sampling and index/key hygiene). The pseudocode references Python/OpenCV (cv2) but the skill declares no required binaries or runtime — that's an operational omission (you will need OpenCV or another video reader to run this), not a security red flag.
Instruction Scope
Instructions are narrowly scoped to reading video metadata, choosing sample IDs, and ensuring downstream outputs match those IDs. They only reference local video files and per-frame artifact stores; there are no steps that transmit data externally or access unrelated system config.
Install Mechanism
Instruction-only skill with no install spec and no code files. Nothing is written to disk by the skill itself and there are no external downloads.
Credentials
No environment variables, credentials, or config paths are requested. The skill's needs (access to video files and a video-reading library at runtime) are proportional to its stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent system modifications or elevated privileges. Autonomous invocation is allowed (platform default) but not combined with other risky requests.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dynamic-object-aware-egomotion-sampling-and-indexing
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dynamic-object-aware-egomotion-sampling-and-indexing 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Bulk publish from all-task-skills-dedup
元数据
Slug dynamic-object-aware-egomotion-sampling-and-indexing
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

sampling-and-indexing 是什么?

Standardize video sampling and frame indexing so interval instructions and mask frames stay aligned with a valid key/index scheme. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。

如何安装 sampling-and-indexing?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dynamic-object-aware-egomotion-sampling-and-indexing」即可一键安装,无需额外配置。

sampling-and-indexing 是免费的吗?

是的,sampling-and-indexing 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

sampling-and-indexing 支持哪些平台?

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

谁开发了 sampling-and-indexing?

由 wu-uk(@wu-uk)开发并维护,当前版本 v0.1.0。

💬 留言讨论