extracting-structure

extracting-structure is a skill for Claude Code, Codex from oxbshw/watch-skill. It costs 81 tokens per session (438 once invoked), scanned A, original, MIT.

A guide for turning an indexed video into structured information. It can produce timestamped chapters, a bug report from a screen recording, or an analysis of the opening hook.

In plain words
What is it for?
Use it to divide tutorials or lectures into chapters, locate an error and its preceding steps in a screen recording, or assess the opening seconds of a creator video.
Why use it?
It removes the need to manually search through a long video and rewrite what happened. The results come from the saved index and report when no error was found.

Skill for Claude CodeCodex

Part of the watch-skill plugin — 10 skills, 1 command, 27 agents, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/oxbshw/watch-skill/extracting-structure
Any agent
npx skills add oxbshw/watch-skill --skill extracting-structure
Clone the repo
git clone --depth 1 https://github.com/oxbshw/watch-skill

Made for: Claude Code, Codex.

Or install watch-skill, the plugin that ships this one along with the rest of its 10 skills, 1 command, 27 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for extracting-structure

README.md
[![agentmods](https://agentmods.dev/badge/skills/oxbshw/watch-skill/extracting-structure.svg)](https://agentmods.dev/skills/oxbshw/watch-skill/extracting-structure)
Your own site
<a href="https://agentmods.dev/skills/oxbshw/watch-skill/extracting-structure"><img src="https://agentmods.dev/badge/skills/oxbshw/watch-skill/extracting-structure.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00081 $0.00438
Opus 5 $0.00041 $0.00219
Sonnet 5 $0.00016 $0.00088
Haiku 4.5 $0.00008 $0.00044

Measured 5d ago against content hash 9df8eb733cc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

extracting-structure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/extracting-structure/SKILL.md · 51 lines

What it actually says

Extracting structure

Three extractors turn an already-watched video into something structured. All of them answer straight from the persistent index — deterministic, no extra model calls. The video must be watched first (see watching-videos).

Chapters

watch-skill extract chapters <video_id-or-source>

Titled chapters with start/end timestamps, built from scene changes plus transcript topic shifts. Good for long tutorials, lectures, meetings — give the user the chapter list with timestamps, not a prose summary.

Bug report from a screen recording

watch-skill extract bug-report <video_id-or-source>

Pinpoints where an error appears: timestamp, the exact frame, the on-screen error text as OCR read it, and the steps that led up to it (from the transcript/actions preceding the failure). Returns found: false honestly when no error signal exists — report that as "no error found in the recording", not as an error.

Paste the output into the user's issue tracker format when they ask for a fileable report; the frame path is the attachment.

Hook analysis (creators)

watch-skill extract hook <video_id-or-source> [--seconds 15]

Scores the opening seconds on four measured axes — attention trigger in the opening line, speech pacing, visual change rate, on-screen text — each with an actionable critique, plus a 0–100 score and verdict. Give the user the per-axis critiques; the number alone helps nobody.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 51 lines · 81 tokens per session scan A 9df8eb733cc9

Subscribe to this mod's changes

extracting-structure is a skill published in the GitHub repository oxbshw/watch-skill (333 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 438 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-vision

Visually verify rendered output before claiming a UI/visual task is done. Use whenever you generate or edit a visual artifact — frontend HTML/CSS/JSX, a generated chart or plot, an SVG/diagram, a PDF, or an exported image. AgentVision renders the artifact, "sees" it, and returns a machine-graded report (pass/warn/fail…

amitpatole/agent-vision · 101 tokens

pr-to-video

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR…

heygen-com/hyperframes · 104 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

motion-graphics

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…

heygen-com/hyperframes · 139 tokens

captions-overlay

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether…

heygen-com/hyperframes · 136 tokens

skill-release-gate

Evaluate an Agent Skill bundle for structural integrity, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity, and target-host portability before release.

rohitg00/ai-engineering-from-scratch · 36 tokens