npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

codex-agent-view

v0.5.6

Published

A read-only Codex plugin for monitoring live tasks and subagents in your browser. Open each view with one lightweight @codex-agent-view invocation. Once open, live monitoring runs locally with no additional model calls.

Downloads

3,685

Readme

Codex Agent View

Read in Korean

Codex Agent View is a lightweight, unofficial, read-only companion plugin for monitoring live Codex tasks and subagent activity locally in your browser. It shows the work Codex is handling, the participating agents, their assigned work when it can be verified, and their latest observable activity. Hook data stays on this device in bounded process memory, and one @codex-agent-view invocation opens the live view in the operating system's default browser.

Open each view with one lightweight @codex-agent-view invocation. Once open, live monitoring runs locally with no additional model calls. The Codex tasks and subagents being monitored continue their normal model and token usage.

It does not replace Codex, control tasks or agents, run a hosted service, send telemetry, or keep a persistent event history.

Quick start

Install the current release from a regular terminal:

codex --version

If the codex executable on your PATH was installed through npm, update it and verify the selected version again:

npm install --global @openai/codex@latest
codex --version

If Codex came from another install channel, update it through that channel instead. Then install the plugin package:

npm install --global [email protected]
codex-agent-view install

The 0.5.6 installer copies the bundled plugin into a strict marketplace subdirectory before registration, avoiding the marketplace-root discovery failure in 0.5.5.

The npm command installs the package. codex-agent-view install copies and explicitly registers its bundled local Codex plugin. npm install alone does not modify Codex settings, and this package has no postinstall script that does so.

Then:

  1. In the Codex app's Plugins screen, confirm that Codex Agent View is installed and enabled.
  2. In its Hooks section, choose Review, inspect hooks/hooks.json and the node "${PLUGIN_ROOT}/scripts/send-hook.mjs" command, then choose Trust all for the current definitions. Only if the app has no hook-review UI, use /hooks in the interactive Codex CLI.
  3. Quit Codex completely and reopen it.
  4. Create a new Codex task. Events from before installation are not replayed.

Persisted hook trust is not exposed by the current programmatic plugin status, so the browser and doctor cannot confirm that approval; verify it in the Codex app or interactive /hooks UI.

Use

In a Codex app task, select and send:

@codex-agent-view

That is the whole normal-use command. The plugin prepares or reuses its local monitor and opens an authenticated live view in your operating system's default browser.

  • Do not select a separate $show-agents skill.
  • Do not start the monitor in a terminal.
  • Do not copy or manage a localhost URL.
  • Closing the browser tab does not stop Codex work. Invoke @codex-agent-view again when you want a new authenticated tab.
  • The task used to open the viewer is hidden from the view itself, so use a separate viewer task to monitor the work you care about.

The public Codex plugin API does not provide a reliable automatic app sidebar or in-app panel for this workflow, so the default browser is the supported display surface.

What the view shows

The live view defaults to English and also supports Korean and Spanish. It refreshes every two seconds without collapsing agent details. The Work status filter matches each parent work item's current status only; nested agent statuses and recent activity history do not cause a card to match a different status.

Each work item can include a short, redacted request summary. Each agent card can show:

  • Assigned work — no exact upstream correlation ID has been observed for this mapping. A bounded summary is therefore matched on a best-effort basis only when one verified spawn candidate and one newly observed agent are the sole candidates in the bounded window. In the currently observed official-app payload, the protected spawn message is opaque, so a safely humanized task label is the primary usable source. When several agents are spawned concurrently and the mapping is ambiguous, assignment details intentionally remain unavailable instead of being guessed; expired or protected values are likewise not displayed.
  • Current activity — a human-readable description such as a file edit in progress or a recently completed terminal action. It is shown only when the observed tool lifecycle has the exact turn_id of one and only one agent.

These fields describe observable assignment and tool lifecycle signals, not an agent's internal reasoning. The monitor does not retain or display raw spawn messages, full prompts, full tool input, or full tool output. Missing or ambiguous information remains unavailable instead of being inferred from timing.

Reconnect and recovery

The opened tab refreshes its short-lived read-only access only within one fixed credential-family lifetime.

  • For a temporary connection or access error in the same previously authenticated tab, use Reconnect.
  • A new tab has no inherited credential because recovery is stored in tab-scoped sessionStorage, not localStorage.
  • If the tab was closed, the credential family expired, or the monitor restarted before the one-use grant was exchanged, invoke @codex-agent-view again.

The private target and credentials are passed directly to the browser launcher. They are not printed for users to copy.

Privacy and trust boundary

  • The monitor binds only to IPv4 loopback (127.0.0.1) and has no external telemetry, hosted backend, SQLite database, or remote event store.
  • Live operational state exists only in bounded process memory and resets when the monitor restarts.
  • The sender minimizes hook payloads before delivery. A short task summary is locally redacted and bounded; raw prompt and tool content are not retained by the normal monitor path.
  • The plugin is read-only. It cannot stop tasks, send messages, answer permission requests, or approve actions.
  • Hook commands execute locally with your user account's permissions. Review and explicitly trust the exact hook definition before use.

See Privacy, Security, and Terms for the complete boundaries.

Uninstall

Use the explicit lifecycle command from a terminal:

codex-agent-view uninstall

It authenticates and stops only an owned Codex Agent View monitor, then removes the plugin and copied marketplace registration. If ownership cannot be verified, it fails without deleting uncertain files or stopping another loopback service.

To also remove only recognized owned runtime data when safe:

codex-agent-view uninstall --purge

--purge preserves unrecognized files, unrelated services, non-empty directories, and separately stored opt-in diagnostic captures. Inspect and remove any such capture by its exact path; never delete a broad Codex or home directory as a cleanup shortcut.

Release and project documentation

Release publication and verification evidence is recorded outside the immutable npm package README in Distribution, including registry digests, this-device compatible-CLI reinstall checks, CI, tags, and GitHub Releases. Those checks did not verify a clean cross-device first install; the compatibility failure above is now recorded separately.

npm publication is separate from submission to the Universal Plugins Directory. Directory validator compatibility, portal/reviewer acceptance, search exposure, and promptless plugin-card Quick start behavior remain unverified and are not claimed here.

Copyright 2026 Junho Yoon. Licensed under the Apache License 2.0; see LICENSE and NOTICE.