Skip to content
Agentmart
Submit a tool

aohp-event-stream

Register, drain, and stop AOHP Toast/notification event streams via the aohp CLI.

Skill by aohp-os

IndexedApache-2.0★ 156
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aohp-os-aohp-event-stream

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Register, drain, and stop AOHP Toast/notification event streams via the aohp CLI.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/aohp-event-stream

What's inside

Skill name
aohp-event-stream
Description
Register, drain, and stop AOHP Toast/notification event streams via the aohp CLI.
License
Apache-2.0
Instructions
58 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# AOHP event stream

Use this skill when transient Android UI feedback matters: Toasts, notification posts/removals, and heads-up notification visibility. The stream is opt-in and buffered by AOHP only after registration.

## Workflow

1. Register before the actions that may trigger transient feedback:

```bash
aohp event register --client openclaw --max 200
```

Save the returned `sessionId`.

2. After an action, drain recent events:

```bash
aohp event drain --session <sessionId> --format text
```

Use JSON when you need structured fields:

```bash
aohp event drain --session <sessionId> --format json -p
```

3. Ask for screenshots only when visual evidence matters. This may produce large output:

```bash
aohp event drain --session <sessionId> --screenshots --inline --format json
```

4. Always unregister when the task no longer needs events:

```bash
aohp event unregister --session <sessionId>
```

## Event fields

Events include `type`, `timeRealtimeMs`, `packageName`, `displayId`, `displayRole`, `activity`, `text`, and optional `notification` / `screenshots`.

Common `type` values:

- `toast`
- `notification_posted`
- `notification_removed`
- `heads_up_shown`
- `heads_up_hidden`

## Notes

- Register before triggering a Toast; Toasts disappear quickly and cannot be recovered later.
- Custom app-rendered Toasts may not expose text. AOHP still reports package, display, activity, and screenshots when available.
- Notification display attribution is best effort because Android notifications do not inherently belong to a display.
- `aohp event status` shows active sessions and buffer state.

From aohp-os/aohp, Apache-2.0.

More from aohp-os/aohp

Signals

Stars
156
Forks
18
Open issues
1
Last commit (this folder)
Jun 21, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from aohp-os

Cite this page

aohp-event-stream skill. Agent Mart. https://agentmart.dev/skills/aohp-os-aohp-event-stream (last updated 2026-10-24)