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

agentic-orchestration-control

v0.2.0

Published

Global Codex skill plus TUI/GUI control room and token-aware orchestration CLI for Codex subagents.

Readme

Agentic Orchestration Control

Agentic Orchestration Control is an explicit-only npm control room for Codex orchestration. The global npm package installs the Codex skill into ~/.codex/skills, and the aoc CLI manages local run ledgers, usage reports, Codex session import, and TUI/GUI views.

Start In 10 Seconds

Install the published package globally. This installs both the aoc CLI and the Codex skill at ~/.codex/skills/agent-orchestration-skill:

npm install -g agentic-orchestration-control

Open the control room:

aoc
aoc gui

Start an observable run:

aoc init "Fix checkout flow"

Use the skill only when you want the orchestration workflow:

Use $agent-orchestration-skill for this task.

Prompts without the exact literal $agent-orchestration-skill should run in normal Codex mode.

Short Commands

aoc
aoc gui
aoc init "Fix checkout flow"
aoc sessions
aoc import
aoc current
aoc use <run_id>
aoc search "checkout"
aoc usage
aoc budget 12000
aoc doctor

aoc resolves the repo from --repo, AOC_REPO, the nearest git root, or the current directory when it looks like a project. It resolves the run from --run-id, AOC_RUN_ID, .orchestration/current-run, .orchestration/current.json, or the latest .orchestration/runs/* state, including imported Codex sessions.

Before A Run Exists

aoc and aoc gui should open even before aoc init. In an empty repo they show an empty state and any discoverable Codex sessions. Use aoc import to import local Codex rollout logs into .orchestration/runs/ without creating a native AOC run first.

AOC Runs vs Codex Sessions

An AOC run is a local orchestration ledger created by aoc init "task". It stores state, events, dispatches, handoffs, evidence, gates, memory, and usage under .orchestration/runs/<run_id>/.

An imported Codex session comes from local Codex rollout JSONL files under AOC_CODEX_HOME, CODEX_HOME, ~/.codex, or another configured Codex home. Imported sessions are normalized into .orchestration/runs/codex-*/ with source metadata so the TUI, GUI, sessions list, usage, and search commands can display them beside native AOC runs.

How The Skill Works

The globally installed skill is explicit-only. The root Codex thread remains the orchestrator, and spawned workers are leaf-only. The package provides subagent profiles and validators, but it does not make model calls by itself.

Global skill layout:

~/.codex/skills/agent-orchestration-skill/

Optional repo-local install layout from aoc install .:

skills/agent-orchestration-skill/
subagents/
.orchestration/bin/aoc
AGENTS.md

TUI And GUI

Use the terminal control room for quick status:

aoc
aoc sessions
aoc current

Use the local web GUI for a browser view:

aoc gui
aoc gui --once

The GUI binds to localhost by default. Remote binding requires explicit opt-in and auth:

AOC_GUI_TOKEN="change-me" aoc gui --host 0.0.0.0 --allow-remote --auth-token "$AOC_GUI_TOKEN"

Usage And Budget

Usage reports separate imported or recorded real token data from local estimated orchestration pressure:

aoc usage
aoc budget 12000

Estimated pressure is not provider billing. Treat it as a local signal for prompt size, fan-out, and validation cost.

Codex Session Import

Import local Codex sessions:

aoc import

Use a fake or alternate Codex home when testing:

AOC_CODEX_HOME=/tmp/fake-codex aoc import --json

List and inspect imported sessions:

aoc sessions
aoc use <run_id>
aoc search "checkout"

Safety Model

  • The skill activates only on the exact literal $agent-orchestration-skill.
  • Runtime state stays in .orchestration/.
  • Hidden .skills, .agents, and .codex package payloads are rejected.
  • The GUI is localhost-only unless --allow-remote and an auth token are provided.
  • Imported Codex sessions are local files; review .orchestration/ before sharing or committing it.

Troubleshooting

If aoc is not on PATH, use the installed repo shim:

./.orchestration/bin/aoc

If no sessions appear, run:

aoc import --json
aoc sessions --json

If the wrong repo or run is selected, be explicit:

aoc --repo .
aoc use <run_id>

Development And Publishing

npm install
npm test
npm run test:npm-cli
npm run publish:check
npm pack --dry-run
npm run validate:production

More detail lives in docs/README.md and the command reference in docs/COMMANDS.md.

License

MIT License. See LICENSE.