<< All versions

Skill v1.0.1

currentAutomated scan100/100
samotech/skills-tree/computer-use-scroll

+4 new

──Details
PublishedDecember 1, 2026 at 06:40 AM
Content Hashsha256:b994de659b6245b9...
Git SHA2f456eb973cd
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 3.2 KB)
SKILL.md3.2 KBactive
SKILL.md · 73 lines · 3.2 KB

name: computer-use-scroll description: Scroll a verified UI container or viewport by a bounded amount and verify the resulting visible state. metadata: source: skills/10-computer-use/scroll.md category: 10-computer-use version: "v2"


[Image: Dependency Status]

Scroll

Category: computer-use Skill Level: advanced Stability: stable Added: 2025-03

Description

Scroll a verified UI container or viewport by a bounded amount and verify the resulting visible state. Scrolling is hover-dependent and easily misdirected: verify which container receives the scroll, bound the amount, and verify the target content actually became visible.

Inputs / Outputs

DirectionFieldTypeContract
InputcontainerobjectThe verified scrollable container or viewport that must receive the scroll
InputamountobjectThe bounded scroll (lines, pixels, pages) and direction
OutputviewportobjectThe observed scroll position after the action
OutputcheckobjectVerification that the intended content is now visible

Procedure

  1. Verify the scrollable container and ensure the pointer hovers over it (not an inner pane).
  2. Apply the bounded scroll amount in the declared direction.
  3. Wait for scrolling (smooth-scroll or momentum) to settle before observing.
  4. Verify the intended content is visible in the resulting viewport.
  5. Stop and report when the wrong container scrolled or the target content never appears.

Example

python
scroll = {"container": "results-pane", "amount": {"direction": "down", "px": 600},
"pointer_over": "results-pane"}
assert scroll["pointer_over"] == scroll["container"], "scroll would hit the wrong container"
after = {"scroll_top": 1450, "visible_target": "result-row-42"}
assert after["visible_target"] == "result-row-42", "target content not visible after scroll"
print({"scrolled": True, "container": scroll["container"], "target_visible": True})

Related Skills

Failure Modes

  • The scroll lands on an inner or outer pane because the pointer hovered the wrong element.
  • Smooth scrolling or momentum is still in motion when the postcondition is checked.
  • An unbounded feed has no end state and scrolling never terminates.
  • Content virtualization removes rows above the viewport, invalidating element positions.
  • The scroll amount overshoots and the target element leaves the viewport again.

Changelog

  • v2 (2026-11): Structural modernization; added the input/output contract table, a deterministic example, an execution procedure, and corpus-verified related links (replaced the non-corpus input-guardrails/output-guardrails/self-category pointers).
  • v1 (2025-03): Initial entry.

Evidence

  • https://agentskills.io/specification

Evidence status: implementation guidance only; no benchmark claim is made without reproducible evidence.

← v1.0.0All versions