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

@inotives/agent-rig

v0.1.3

Published

Filesystem-first agent workspaces for Claude, Codex, OpenCode, and custom subscription tools.

Readme


What It Is

AgentRig is a TypeScript CLI tool for scaffolding a filesystem-first agent workspace into any project.

It creates a .agent-rig/ directory where agents, shared context, Markdown task files, findings notes, handoff logs, credentials, and launch instructions live as ordinary files. AgentRig does not orchestrate AI APIs; users run subscription tools such as Claude, Codex, OpenCode, or custom tools directly.

Handoff logs are intended for cross-session resume notes when work stops midstream or a session closes after a meaningful milestone. They are not meant to duplicate normal planner, worker, or reviewer task flow, which should already live in phase docs, task files, code review notes, and task status changes.

The first filesystem-only MVP is implemented. AgentRig can scaffold a workspace, manage agents and credentials, install profile-declared skills, create Markdown-backed tasks, run the MVP watch loop, and report live status.

Core Model

AgentRig workspaces are ordinary project files:

.agent-rig/
├── _shared/        # context, task files, session state, profiles, notes, handoff logs
├── .creds/         # gitignored local secrets
├── <agent>/        # agent.toml, instructions.md, context, skills, tools, runs
└── human/          # human approval, unblock, and override helpers

The default agent-rig init --yes workspace is a solo worker agent using codex. Interactive setup can scaffold solo, coder-reviewer, trinity, supervisor-worker, swarm, testing-reviewer, or custom patterns.

Agent instructions start from editable profiles in .agent-rig/_shared/profiles/. Built-in profiles are planner, worker, reviewer, researcher, and writer; custom profiles are plain Markdown files with YAML frontmatter.

In practice, use _shared/handoff_logs/ for session-end operational context such as current branch, active task or phase, unresolved blockers, and the exact next step. Do not add a handoff after every worker or reviewer task unless the task flow itself failed to capture something important.

Use _shared/notes/ for short worker or reviewer findings that are worth carrying forward across sessions: reusable implementation patterns, repo quirks, recurring review findings, or out-of-norm events. Do not use it for routine progress logs.

Dependencies

Required:

node >= 20
npm or npx

AgentRig is packaged as an npm CLI.

Installation

npm install -g @inotives/agent-rig
# or
pnpm add -g @inotives/agent-rig

Verify the CLI is available:

agent-rig --help

You can also run AgentRig without a global install:

npx @inotives/agent-rig --help

Setup

Run AgentRig from inside the project you want to scaffold:

cd path/to/your-project
agent-rig init

agent-rig init starts a setup interview and writes a .agent-rig/ workspace into the current project.

For the non-interactive MVP default, scaffold a solo worker agent using codex:

agent-rig init --yes

Or do the same through npx:

npx @inotives/agent-rig init --yes

After setup, validate the workspace:

agent-rig validate
agent-rig doctor
agent-rig agents
agent-rig status

AgentRig installs default shared skills during setup. To skip network skill installs in automation or tests:

AGENT_RIG_SKIP_SKILLS=1 agent-rig init --yes

Filesystem-only MVP flow:

agent-rig tasks create "Implement X" --assigned-to worker --status ready --type task
agent-rig tasks
agent-rig tasks next --agent worker
agent-rig tasks next --agent worker --claim
agent-rig tasks show task-0001
agent-rig status

Common Commands

| Command | Purpose | |---|---| | agent-rig init | Run the setup-pattern interview and scaffold .agent-rig/. | | agent-rig init --yes | Scaffold a solo worker using codex. | | agent-rig add <agent-name> | Add an agent to an existing workspace. | | agent-rig add <agent-name> --profile worker | Add an agent from an editable profile. | | agent-rig profiles | List available agent profiles. | | agent-rig profiles show worker | Print a profile Markdown template. | | agent-rig doctor | Check local AgentRig environment and workspace health. | | agent-rig agents | List configured agents and tools. | | agent-rig validate | Validate workspace files without mutating them. | | agent-rig creds | Create credential placeholders and .env.example files. | | agent-rig skills | Install and list shared or agent-local skills. | | agent-rig status | Show live session state, task counts, and recent handoffs. | | agent-rig start --agent <agent-name> | Print launch guidance plus relevant resume context for a configured agent. | | agent-rig tasks create "<title>" | Create a shared Markdown task file. | | agent-rig tasks | List shared task files. | | agent-rig tasks show <task-id> | Print the canonical task Markdown. | | agent-rig tasks next --agent <agent-name> | Print the next dependency-ready shared task for an agent. | | agent-rig tasks next --agent <agent-name> --claim | Mark the next dependency-ready shared task as in_progress. | | agent-rig tasks set-status <task-id> <status> | Update task lifecycle status. | | agent-rig tasks assign <task-id> <agent-name> | Assign a shared task to an agent. | | agent-rig tasks block <task-id> --reason <reason> | Mark a task blocked and record the blocker. | | agent-rig tasks done <task-id> | Mark a task done. | | agent-rig watch --once | Process one ready shared task and exit. |

Implementation Phases

The first MVP is split into five completed implementation phases, followed by a pre-release preparation phase:

1. CLI scaffold
2. Workspace model and validation
3. Credentials and agent management
4. Live state and launch
5. First MVP watch loop
6. Pre-release and npm registry preparation

See docs/phases.

Development

Run the local checks:

npm test
npm --cache /tmp/agent-rig-npm-cache pack --dry-run

For future phases, follow the phase workflow in AGENTS.md: grill the phase docs, commit docs first, then implement from a feature branch.

Repository Layout

agent-rig/
├── docs/
│   ├── project_specs.md
│   ├── profiles.md
│   ├── _archived/
│   └── phases/
├── src/
├── templates/
├── test/
├── AGENTS.md
├── README.md
└── LICENSE

License

Apache License 2.0. See LICENSE.