Category: Computer Use
Skill Level: advanced
Stability: stable
Description
Move a verified UI object from a source target to a destination target using controlled drag-and-drop.
When to Use
Use when both source and destination are identifiable and the operation is authorized.
Inputs / Outputs / Failure Modes
| Area | Contract |
|---|---|
| Inputs | Verified UI state, target identity, action parameters, authorization, and expected postcondition. |
| Outputs | Performed action plus verified resulting UI state or an explicit failure. |
| Failure modes | Stale UI, wrong focus/target, coordinate drift, permission failure, or unexpected side effects. |
Procedure
- Establish the active application, target, and expected UI state.
- Verify the target before interaction; prefer semantic accessibility identifiers when available.
- Perform only the requested action within the declared bounds.
- Inspect the resulting UI state and verify the expected postcondition.
- Stop and report ambiguity rather than guessing when the UI differs from the expected state.
Runnable Example
action = {"capability": "drag-drop", "target_verified": True}
assert action["target_verified"]
result = {"status": "postcondition_required", "capability": action["capability"]}
print(result)
Failure Modes
- Target or application identity cannot be verified.
- UI changed between observation and action.
- Focus is ambiguous or lost.
- Action may have destructive or irreversible side effects.
- Postcondition cannot be verified.
Safety Boundary
Coordinate drift, scrolling, or overlays can misroute the object; verify both endpoints and resulting state.
Evidence
Canonical repository skill: this file. Structural conformance is defined by the repository schema, validation workflows, Agent Skills contract, and security gates. Computer-use actions require target verification and postcondition checks.
Related
- ../14-security/input-guardrails.md
- ../14-security/output-guardrails.md