pushbag
Agents and tools

Share a Codex report with pushbag

Codex can upload a report from its workspace and return a versioned URL. Give its shell access to the pushbag CLI, the API, and a key with the permissions the job needs.

Last updated:

Configure the workspace that runs the commands

Install the CLI with npm and copy the reporting guide into the repository. From the workspace root, run:

npm install -g @pushbag/cli
pushbag guide pbg-plan --install
pushbag auth login

Visit the printed page, create a Both key with Personal as an allowed destination, and run pushbag auth set YOUR_KEY with its value. For a disposable workspace, inject the value as PUSHBAG_API_KEY. Check identity from the environment that actually executes Codex commands. Installing on your laptop does not put the executable or credentials in a remote workspace.

In the project’s AGENTS.md, add a standing instruction if this is a recurring review: “When asked for a review report, read .agents/skills/pbg-plan/SKILL.md. Include the tested revision, commands and results. Save the HTML outside the tracked source tree. Return the pinned URL and retain the artifact ID for revisions.” A one-off request can carry the same instruction without modifying the repository.

Hand off a finished report

Ask Codex to write the findings to report.html, including the checks it ran and any failures. In the same environment, configure a Both key allowed to publish to your personal channel.

pushbag whoami
pushbag upload report.html --private --notify --title "Codex review" --json

Ask Codex to return the versionUrl in its final response. The phone notification opens the same revision. Keep the artifact ID if the next run should update the original link.

Check the first handoff and revise it

For a concrete review, ask Codex to inspect a proposed schema change and identify which queries would need updating. Put findings first, followed by a table of query locations, then the checks actually performed. Ask it to distinguish a check that passed from a check it could not run. Once the file exists, run the upload example from the directory containing it. Look for an array containing the new report’s ID and two different URLs.

Open the notification as the owner in the mobile app. Record the version URL alongside the reviewed commit. If Codex updates the findings after you answer a question, send the original ID back with the request and add --artifact "$REPORT_ID" to the next upload. You can omit the notification for an intermediate draft and send one when there is another decision to make.

A private report is an owner review surface. Someone reading your Codex transcript will still need appropriate access to open the link. For a public review, prepare a copy cleared for that audience and choose public visibility explicitly.

Frequently asked questions

Can Codex just notify me when a task finishes?

Give Codex a Notifications key and ask it to run pushbag notify after the final check. Include the task result in the message so the phone alert tells you what happened.

Where does the Codex report guide live?

A project install writes .agents/skills/pbg-plan at the repository root. It includes the guide and the plan template that Codex can read before writing a report.

Will installing a skill allow network requests?

A skill supplies instructions. The execution environment still needs access to the API and permission to run the uploader.

Can I read a private report from the command line?

An authorized owner can run pushbag open with the report ID. Fetch the temporary grant URL it prints while the grant is valid.