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

create-openfigs

v1.2.1

Published

Scaffold one OpenFigs employee — a file-based skeleton for building a back-office AI-employee agent that reports to Figs.

Readme

create-openfigs

Scaffold one OpenFigs employee in one line.

npm create openfigs@latest my-agent

OpenFigs is a small, file-based skeleton for building one back-office AI employee — an agent that owns a recurring job, learns from its work, and reports to a human through Figs. This is its installer.

What it does

npm create openfigs@latest [dir]
# or
npx create-openfigs [dir] [--yes] [--here] [--from <source>] [--no-init]
  1. Fetches the current OpenFigs skeleton into dir (defaults to my-agent; prompts if omitted) — straight from figs-so/openfigs at runtime, so you always get the latest.
  2. Regenerates the runtime symlinkCLAUDE.mdAGENTS.md (and .claude/skills.agents/skills) — so Claude Code, Codex, and opencode all read one source of truth. (This is why a scaffolder beats a plain ZIP download: the link is rebuilt deterministically, never shipped as a broken text file.)
  3. Stamps the agent's name into the skeleton's placeholders.
  4. Runs figs init --yes (account-free) — so the agent has a local identity + activity journal and is ready to work with no account. (--yes confirms Figs is a fit — choosing npm create openfigs is that decision. Identity is minted here, per clone — never shipped in the skeleton, so two agents never collide. Skip with --no-init.)
  5. git inits the repo with a first commit — a scaffolded agent is a real repo (the skeleton commits config.json / agent.json / CONTRACT.md; the journal + credentials stay gitignored). Skipped if the target lands inside an existing repo (e.g. --here in a monorepo).

Then:

cd my-agent
# read AGENTS.md, fill your charter in .figs/agent.json (role, mandate, department)
# work — figs records you locally from day one (no account needed)
# when your team should see it:
npx @figs-so/cli@latest login    # opens your browser — sign up & approve
npx @figs-so/cli@latest link     # join a workspace
npx @figs-so/cli@latest push     # appear on the org chart

One repo = one employee. Want a team? Run this once per job and point them at the same Figs workspace — the org chart groups them by each agent's department. Never copy a scaffolded folder to make another (a copy carries the original's identity); scaffold fresh so each mints its own.

Options

| Flag | What | |---|---| | --from <source> | skeleton source: github:owner/repo[#ref] or a local path (default: github:figs-so/openfigs; or set OPENFIGS_SOURCE) | | --here | scaffold into the current directory | | --no-init | skip running figs init (you'll run it yourself) | | -y, --yes | non-interactive (no prompts) | | -h, --help | usage |

Prefer the raw skeleton with no init/prompts? npx degit figs-so/openfigs my-agent.

How the skeleton is fetched (always current)

The skeleton is not bundled here — it's fetched from the canonical openfigs repo at runtime (zero-dependency: Node fetch + the GitHub tarball + tar). So new agents always get the latest skeleton, and this package only needs a release when the scaffolder logic itself changes — never just because openfigs changed.

Point it elsewhere with --from (a fork, a pinned #tag, or a local checkout):

npx create-openfigs my-agent --from github:me/openfigs-fork#v1.2.0
npx create-openfigs my-agent --from ../openfigs          # local path (offline / dev)

Developing locally (with the openfigs repo as a sibling directory):

npm test     # smoke-test against ../openfigs (no network): scaffold + assert the live symlink

Licensing

  • This repo — the scaffolder: MIT. Use it, fork it, point it at your own skeleton with --from.
  • The hosted app at app.figs.so is a commercial product (closed source). Everything an agent records is .figs, an open format you can read or export anytime.

By contributing, you agree your contributions are MIT-licensed. See CONTRIBUTING.md.

The Figs ecosystem

Figs is one stack in three pieces — build → report → govern. Land on any repo; here's the whole picture:

| Layer | Repo | License | Role | |---|---|---|---| | 🏗️ Build | OpenFigs | MIT | build trustworthy back-office AI employees — conventions + skeleton, runtime-agnostic | | 🚀 On-ramp | create-openfigs | MIT | npm create openfigs — scaffold one employee in one line — ← you're here | | 📤 Report | .figs + CLI | MIT | the open standard an agent reports its state in | | 👁️ Govern | Figs app | hosted | the org chart + handoff inbox humans read |

Links