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

@caseyharalson/orrery

v0.10.0

Published

Workflow planning and orchestration CLI for AI agents

Readme

Orrery

Workflow planning and orchestration CLI for AI agents

Orrery is a CLI tool designed to transform high-level development goals into executable, traceable, and engineered workflows. It turns high-level goals ("Add a user login system") into executable, step-by-step plans that agents follow autonomously, ensuring consistent and high-quality results.

When to Use Orrery

Good fit:

  • Multi-step features requiring coordinated changes across many files
  • You want to review a plan before letting it run autonomously
  • Tasks with clear dependencies between implementation steps

Use your AI agent directly when:

  • Quick fixes or small changes
  • Exploratory development where you're discovering as you go
  • You want to stay interactive with every decision

See Comparison for a detailed analysis.

Installation

Prerequisites:

  • Node.js
  • Git
  • Initialized Git repository (your project where you want work done)
  • Access to LLM agent tools (Claude Code, Codex cli, or Gemini cli)

Global Installation

To install Orrery globally on your system:

npm install -g @caseyharalson/orrery

Quick Start

Follow this workflow to go from a high-level goal to finished code.

1. Initialize Orrery

Install the necessary "Skills" into your global agent configuration directories (e.g., ~/.claude/skills). Orrery will auto-detect which agents you have installed.

orrery init

2. Create a Plan

Navigate to your project directory and use your AI agent (now equipped with the discovery skill) to generate a plan.

# Using the skill shorthand
/discovery I want to [goal]

# Or prompt your agent
"I want to [goal]. Please activate the discovery skill and create a plan."

3. Execute

Back in the terminal, run the orrery orchestrator to execute the plan steps. Orrery will create a dedicated work branch and manage agent interactions.

orrery exec

Important: Autonomous Execution

When you run orrery exec, agents execute plan steps autonomously without step-by-step confirmation. This enables fully automated workflows but means agents can modify files and run commands without asking.

Built-in safeguards:

  • All work happens on an isolated branch (not your main branch)

For additional isolation, run Orrery inside a devcontainer. This provides a sandboxed environment where agent actions are contained. See Devcontainer Setup in Advanced Workflows.

Advanced Workflows

For power users, Orrery offers additional capabilities:

  • Plan Refinement & Simulation - Analyze, improve, and explore plans before execution
  • Devcontainer Setup - Isolated, reproducible development environments
  • External Plan Creation - Import plans from other tools or LLMs
  • Review Loop - Iterative code review after each step with automatic fixes
  • Parallel Execution - Run independent steps concurrently with git worktree isolation
  • Handling Blocked Plans - Recovery workflows when steps cannot complete

See Advanced Workflows for details.


Core Concepts

Skills

Skills are modular instruction sets that teach an agent how to perform specific phases of work.

  • Discovery: Analyze requirements and generate plans.
  • Refine-Plan: Analyze and improve an existing plan by fixing oversights, improving context quality, and strengthening acceptance criteria.
  • Simulate-Plan: Conversational dialogue to explore plans, identify risks, and verify approaches before execution.

Plans

Plans are YAML files that define the "contract" for the work. They break down complex goals into ordered steps with:

  • Dependencies: Pre-requisites for execution.
  • Acceptance Criteria: explicit conditions for success.
  • Context: Instructions and file paths relevant to the step.

The Orchestrator

The Orchestrator (orrery exec) is the engine that drives the process. It loads plans, resolves dependencies, invokes the appropriate agents, and manages the lifecycle of the task, including reporting and archiving.


Command Reference

| Command | Description | | :------------------- | :------------------------------------------------------------------------------------------------------------ | | orrery | Command reference. | | orrery init | Initialize Orrery: install skills to detected agents. | | orrery orchestrate | Executes the active plan. Use --review for review loop, --parallel for parallel execution. Alias: exec. | | orrery status | Shows the progress of current plans. |

Directory Structure

Orrery maintains its state in the .agent-work/ directory (configurable via ORRERY_WORK_DIR).

  • .agent-work/plans/: Active Plans. New and in-progress plan files.
  • .agent-work/reports/: Reports. Step-level execution logs and outcomes.
  • .agent-work/completed/: Archive. Successfully executed plans are moved here.

Happy Building! ❤️