Category: Computer Use
Skill Level: advanced
Stability: stable
Description
Write explicitly supplied content to the clipboard for a subsequent authorized computer-use step.
When to Use
Use when clipboard transfer is required between UI actions.
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": "clipboard-write", "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
Do not overwrite user clipboard data without authorization; avoid placing secrets in the clipboard unless required.
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
- 10-computer-use
- input-guardrails
- output-guardrails