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

@goose-plugins/backup

v1.0.0

Published

Data backup plugin for Goose — deterministic snapshot of the data directory with automatic pruning

Readme

@goose-plugins/backup

Deterministic data backup plugin for Goose — snapshots the Goose data directory on a schedule with automatic pruning, and reports real file system facts rather than LLM-generated summaries.


What it does

This plugin gives Goose one new tool:

| Tool | Description | |---|---| | backup_data | Create a dated snapshot of the Goose data directory, prune old snapshots, and return a plain-text summary of exactly what happened |

All facts in the summary (date, file list, snapshot count) are read directly from the file system after each operation — the LLM cannot fabricate them.


Usage

The intended use is a scheduled mission that calls the tool and posts the result verbatim. Add this to data/missions.json:

{
  "name": "data-backup",
  "cron": "0 2 * * *",
  "maxIterations": 2,
  "task": "Call backup_data. Your entire response must be exactly what the tool returns — copy it verbatim, no additions, no changes.",
  "contextId": "mission-data-backup",
  "slackChannel": "YOUR_CHANNEL_ID",
  "timezone": "Europe/London",
  "enabled": true
}

You can also ask Goose directly:

"Run the data backup"
"Create a snapshot of the data directory"

Example output

Backup complete: 2026-03-07
Snapshot: /Users/yourname/Documents/goose-backups/2026-03-07
Files saved:
  - facts.json
  - memory.json
  - missions.json
  - monitors.json
Pruned 1 old snapshot.
Snapshots remaining: 7

Installation

npm install @goose-plugins/backup

Restart Goose — it auto-discovers any @goose-plugins/* package in node_modules.

Want to build your own plugin? See the Goose plugin guide for the full plugin interface, local development workflow, and publishing instructions.


Configuration

| Env var | Default | Description | |---|---|---| | GOOSE_DATA_DIR | ~/Apps/goose/data | Source directory to snapshot | | GOOSE_BACKUP_DIR | ~/Documents/goose-backups | Root directory where dated snapshots are created | | GOOSE_BACKUP_KEEP | 7 | Number of snapshots to keep; older ones are pruned after each run |


How snapshots are stored

Each run creates a dated subdirectory under GOOSE_BACKUP_DIR:

~/Documents/goose-backups/
├── 2026-03-05/
│   └── data/
├── 2026-03-06/
│   └── data/
└── 2026-03-07/        ← today's snapshot
    └── data/

After copying, any snapshots beyond the GOOSE_BACKUP_KEEP limit are deleted oldest-first.


Why a plugin instead of a prompt mission?

A prompt-based backup mission asks the LLM to call several shell commands in sequence, then write a summary. In practice the LLM can skip steps, miscount snapshots, or report success when commands silently failed.

This plugin runs the entire operation in a single deterministic Node.js function and returns real file system data. The LLM just posts what the tool returns — there is nothing to hallucinate.


Part of the Goose ecosystem

This plugin follows the standard Goose plugin interface. See that guide for details on how plugins are loaded, how to configure persistence paths, and how to publish your own.