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-segundo-cerebro

v1.0.2

Published

Bootstrap a new segundo cerebro vault with all dependencies

Readme

create-segundo-cerebro

Bootstrap a new segundo cerebro vault with all dependencies in one command.

Overview

create-segundo-cerebro is an npm package that installs a complete segundo cerebro vault skeleton. It handles:

  • Cloning the vault template from GitHub
  • Running pi install -l for local Pi setup
  • Initializing git with first commit
  • Installing Obsidian plugins (if Obsidian CLI is available)

⚠️ Prerequisites (MUST be installed FIRST)

This script does NOT auto-install system tools. Install these before running:

| Tool | Required | Install | |------|----------|---------| | Git | Yes | git-scm.com | | Node.js 18+ | Yes | nodejs.org | | npm | Yes | Comes with Node.js | | Pi agent | Recommended | npm install -g @mariozechner/pi-coding-agent | | Obsidian | Optional | obsidian.md |

Why no auto-install? Auto-installing system tools can break existing installations and cause timeouts. It's safer and more reliable to let users install their own tools.

Usage

Quick start

# 1. Install prerequisites (see above)
# 2. Then run:
npx create-segundo-cerebro my-vault
cd my-vault

What it does

  1. Clones the vault template to ./my-vault
  2. Checks that prerequisites are installed
  3. Runs pi install -l for local Pi setup (if Pi is installed)
  4. Installs Obsidian plugins via CLI (if Obsidian is installed)
  5. Initializes git with first commit
  6. Shows next steps

Options

npx create-segundo-cerebro <project-name> [options]

Options:
  -y, --yes     Skip confirmation prompts
  -V, --version Show version number
  -h, --help    Show help

Output Example

🚀 create-segundo-cerebro v1.0.1
Starting vault bootstrap...

📦 Step 1/4: Cloning vault template...
  ✓ Template cloned

🔍 Step 2/4: Checking prerequisites...
  ✓ Git found
  ✓ Node.js found
  ✓ Pi agent found
  ✓ Obsidian CLI found

🔧 Step 3/4: Running pi install -l...
  ✓ pi install -l completed

🔌 Step 4/4: Installing Obsidian plugins...
    ✓ obsidian-calendar-plugin
    ✓ obsidian-templater-plugin
    ⚠ obsidian-dataview — could not install via CLI

📝 Step 5/4: Initializing git repository...
  ✓ Git initialized with first commit

✅ Vault created successfully!

📋 Next steps:
  1. cd my-vault
  2. Open in Obsidian: obsidian my-vault
  3. Start your second brain journey!

Troubleshooting

"Git not found" / "Node.js not found"

Install the missing prerequisite. See the prerequisites table above.

"Directory already exists"

Choose a different project name or remove the existing directory.

"Could not connect to GitHub"

Check your internet connection and try again.

"pi install -l" warning

This is usually safe to ignore. The vault structure is still valid.

"Obsidian plugins could not install via CLI"

You can install plugins manually in Obsidian's settings. The vault works fine without them.

License

MIT