name: action-execution-scroll description: Scroll a verified interface container by a bounded amount and verify the resulting viewport state. metadata: source: skills/04-action-execution/scroll.md category: 04-action-execution version: "v1"
Scroll (Interface Container)
Description
Scroll a verified interface container by a bounded amount and verify the resulting viewport state.
When to Use
- Execute an explicitly approved action.
- Use when the target and scope can be verified.
- Verify the resulting state when the action is consequential.
Inputs / outputs / failure modes
| Input | Output | Failure mode | |
|---|
| Target and action | Execution result | Invalid target | |
| Scope/authorization | Allowed action | Unauthorized action | |
| Timeout/bounds | Controlled execution | Resource exhaustion | |
| Postcondition | Verified state | Silent failure | |
Runnable Example
python
def scroll_verified(page, pixels=600):
if not 1 <= pixels <= 2000: raise ValueError("out of bounds")
page.mouse.wheel(0, pixels)
print("scroll completed")
Failure Modes
Wrong container; unbounded loop; assumed viewport change; bypassing authorization.
Related
mouse-input.mdscreen-reading.mdassertion.md
Evidence
- AI_CONSTITUTION.md
- AGENTS.md
- Repository security and validation workflows
Changelog
| Version | Date | Change | |
|---|
v1 | 2026-11 | Title disambiguated per DECISION-2026-11-26-TITLE-UNIQUENESS; capability contract unchanged. | |