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.
npx agentmods add commands/openclaw/peekaboo/set-valuegit clone --depth 1 https://github.com/openclaw/PeekabooWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00617 |
| Opus 5 | $0.00000 | $0.00309 |
| Sonnet 5 | $0.00000 | $0.00123 |
| Haiku 4.5 | $0.00000 | $0.00062 |
Grade A, and why
set-value 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
peekaboo set-value
set-value writes an accessibility value directly to a settable element. It is the CLI equivalent of the MCP set_value tool and avoids keyboard synthesis, cursor movement, input-method timing, and autocomplete side effects when replacement semantics are intended.
Options
| Option | Description |
|---|---|
<value> |
String value to write. |
--on <id-or-query> |
Element ID from peekaboo see, or a query used by the automation service. Required. |
--snapshot <id> |
Snapshot ID from peekaboo see; uses the latest unmodified UI snapshot when omitted. |
| Target flags | --app, --pid, --window-id, --window-title, and --window-index scope the mutation without activating the app. |
--foreground |
Explicitly focus the target before mutation and allow web-content discovery to focus the page when required. |
Notes
- The target element must expose a settable accessibility value.
- Every mutation requires a current snapshot. App/PID/window target flags capture one automatically; without target
flags, run
peekaboo seefirst. A missing snapshot is refused instead of falling through to the frontmost app. Exact process/window receipts and the final resolved Accessibility element PID are revalidated before the value is written. - Remote value mutation requires Bridge protocol 1.37 and
processGenerationBoundElementMutations; older or receiptless hosts are refused before the request is sent. - A result with
requires_fresh_observation: true, or no canonical outcome, makes that snapshot mutation-ineligible. The old evidence stays readable, but another mutation must use a newpeekaboo seesnapshot and otherwise fails before dispatch. - If the Accessibility write is accepted but its readback cannot be verified, Peekaboo reports an indeterminate, retry-unsafe result with the exact target receipt. Observe the target again before deciding whether to retry; never replay the write against the old snapshot.
- Secure/password fields are rejected; use explicit typing flows for those contexts.
- This is not a replacement for
peekaboo typewhen the app needs observable keystrokes, IME handling, autocomplete, or undo grouping. - JSON and MCP output includes the canonical process-generation
target_identityandtarget_receiptalongsidetarget,actionName,oldValue,newValue, andexecutionTime.
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.
- 3d ago First seen · 49 lines · 0 tokens per session scan A b923e3816aaa
set-value is a command published in the GitHub repository openclaw/Peekaboo (5,098 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 617 tokens. 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.
Other commands, from other repositories
upload
Archive, upload, and submit to external TestFlight (full loop with monitor).
release
Create a new Remarc release using the automated GitHub Actions workflow.
imark-review
Open a markdown document in Imark for review and wait for the reviewer's notes.
imark-notes
Read the Imark comments out of a markdown file.
archive
Create xcarchive for TestFlight.
build
Build debug and launch HomeClaw.