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

@agnamo/indytag

v1.2.0

Published

Tag paths, write agent ignore rules and directory indexes, then import a manifest or index to move, recycle, delete, zip or export the paths it lists. One Python file, no dependencies.

Readme

indytag

Tag paths in a tree, turn those marks into durable artifacts agents can consume, then act on the inventory later.

  1. Tag — pick files/folders and assign labels (project, skill, vault, … or custom).
  2. Write rules + indexes — emit ignore rules, per-tag files, index.md, and a .indytag/ inventory.
  3. Act — import that inventory (or scan a scope) and move / recycle / delete / zip / csv / meta / dedupe / atomize.

One Python file, standard library only. The npm package is a thin launcher: it finds a Python 3 interpreter and hands it the real terminal, so the interactive selector keeps its raw-mode keys, mouse and animation.

npm i -g indytag
# or: npm i -g @agnamo/indytag
indytag .

What it writes

Run against a folder and it produces:

| Path | What it is | |---|---| | .ignore, .aiignore | gitignore-syntax rules for the paths you tagged | | .indytag/tags.<tag> | one rule file per tag (e.g. tags.project, tags.vault) | | index.md | layered directory index for humans and agents | | .indytag/manifest.json | counts, tag map and file locations | | .indytag/inventory/ | index.md, manifest.json, list.csv | | .indytag/index/ | index-all.md, manifest-all.json (full depth) |

Everything except index.md and .ignore lives inside the hidden .indytag/ container, so the folder you aimed it at stays readable.

Default tags

project  skill  agent  archive  review  private  vault  app  frozen  stale

Files written: .indytag/tags.project, .indytag/tags.skill, … one per tag.

Add your own with --tags (comma list). Custom names become tags.<custom> the same way:

indytag . --tags project,skill,mine,yours

Interactive selector

indytag .            # tag + index, selector first
indytag . --no-select --yes   # scripted run, no prompts

| Key | Action | |---|---| | Space | tag / untag the current path with the active tag | | Tab, 1–9 | switch the active tag (first nine presets) | | a / n / i | tag all / clear all / invert for the active tag | | / | filter; Enter keeps it | | ← → e c | collapse, expand, expand all, collapse all | | Backspace / 0 | clear tags on the current path | | Enter | save and continue | | q / Esc | cancel, write nothing |

Import a previous run

Point --import at a manifest.json, index.md or list.csv written by indytag, or by the standalone index.py that shares the same manifest shape. The format is detected from the content, so the file name does not matter.

indytag --import .indytag/inventory/manifest.json        # asks what to do
indytag --import index.md --action list                  # just print them
indytag --import index.md --action csv --target picks.csv
indytag --import manifest-all.json --action zip --target bundle.zip
indytag --import index.md --action move --target ../keep # keeps layout
indytag --import index.md --action recycle --pick 'build/*'

| Action | Effect | |---|---| | list | print the imported paths, change nothing | | move | move into --target, root-relative layout preserved | | recycle | Recycle Bin on Windows, .indytag/trash/<stamp>/ elsewhere | | delete | permanent removal of the imported paths | | zip | one archive, root-relative entry names | | csv | imported paths only: path, kind, size, modified, tags | | meta | full scope walk → rich CSV (size, times, mode, sha256) | | dedupe | byte-match duplicates in a scope; recycle extras | | atomize | byte-match duplicates in a scope; permanent delete extras |

meta

One row per file. Does not need an import when you pass a scope:

indytag --action meta --scope other --other ./tree --target meta.csv
indytag --action meta --scope workspace --no-hash          # skip sha256
indytag --action meta --scope drives --drive C:\ --drive Z:\

Columns: path, name, parent, kind, extension, size_bytes, size_human, created_utc, modified_utc, accessed_utc, mode, sha256, is_symlink, symlink_target, exists.

dedupe vs atomize

Both scan a scope (workspace / drives / all / other), group files by size then sha256, keep one copy per set, remove the rest.

| | dedupe | atomize | |---|---|---| | extras go to | Recycle Bin (or .indytag/trash/) | permanent delete — no recycle | | confirm | yes (unless --yes) | yes, stronger wording (unless --yes) |

indytag --action dedupe  --scope other --other ./tree --dry-run
indytag --action atomize --scope other --other ./tree --yes

Safety: absolute paths, drive letters and .. segments are refused and counted, a nested path collapses when its ancestor is already selected, --dry-run writes nothing, and a non-interactive run needs --yes before anything is moved, recycled, deleted or atomized.

Requirements

Python 3.8 or newer on PATH. Override the interpreter with INDYTAG_PYTHON (or PYTHON). Node 18+ is only needed for the npm launcher.

indytag --version
indytag --help