graykode / graykode/abtop

Monitor Claude Code Web usage

Open
#32 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
3.6k
Forks
322
Avg merge
7d 22h
Merged PRs (30d)
3

Description

**Describe the feature**

It would be *great* (but I am not really sure if it's possible) if we could monitor Claude Code Web session as well. I assume this will need a hook config that the remote session could respect and therefore - likely - some sort of remote target that would be reachable.

This could be made conditional on the user providing such an address, e.g. via tailscale funnel or similar products.

Example: if the user configures / provides such an endpoint, `abtop` could provide a _local_ Claude Code config change (to make it stick for CCW) with appropriate hooks and listen on some port for appropriate inputs. The listener on the hook would be `abtop` itself in a different mode, where it parses the hook metadata and sends appropriate commands (via the user provided tunnel). The locally running `abtop` would listen on the corresponding local port and parse the incoming packets and merge them.

For additional security this setup should introduce a shared secret and some appropriate crypto. The hooks should also fast fail as a noop if the tunnel url is not reachable.

**Use case**

CC Web is pretty convenient for a lot of tasks. Covering it with `abtop` would close to loop on token usage.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.