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

@mjakl/pi-git-research

v1.0.0

Published

Tools for researching and exploring Git repositories with Pi agent

Readme

Pi git Research

Tools for researching and exploring Git repositories with Pi agent. Clone, update, and summarize codebases on the fly.

Why pi git Research

Codebase Exploration — Quickly download and orient yourself in a new repository. Perfect for researching dependencies, libraries, or competitor codebases.

Smart Defaults — Uses shallow clones (--depth 1) and hard resets to keep research fast and your workspace clean.

Automated Summarization — Automatically extracts directory structure, README content, and latest commit info to give you immediate context.

Install

Option 1: Install from npm (recommended)

pi install npm:@mjakl/pi-git-research

Option 2: Install via git

pi install git:github.com/mjakl/pi-git-research

Option 3: Manual Installation

Clone this repository into your project-local or global Pi extensions directory:

cd .pi/extensions # or ~/.pi/agent/extensions
git clone https://github.com/mjakl/pi-git-research.git
cd pi-git-research
npm install

Configuration

You can configure where repositories are checked out.

Option 1: CLI Flag

pi --repo-base-dir ~/Projects/research

Option 2: settings.json Add this to your global or project settings.json:

{
  "gitResearch": {
    "baseDir": "~/Projects/research"
  }
}

If not configured, repositories are cloned into your current working directory.

Tools

git_repo

Clone or update a git repository for research.

  • url: Repository URL (supports GitHub shorthands like user/repo).
  • branch: (Optional) Specific branch or tag.
  • shallow: (Optional) Use shallow clone (default: true).

git_repo_summary

Get a quick overview of a cloned repository.

  • path: Path to the local repository.
  • depth: (Optional) Directory tree depth (default: 2).

git_repo_versions

List branches and tags available in a repository (local or remote).

Skills

explore-repo

A high-level skill that coordinates the tools to download, summarize, and explain a repository in one go.

/explore-repo https://github.com/mariozechner/pi-coding-agent

Comparison to Built-in Tools

| Feature | Built-in Bash | This Extension | |---------|---------------|----------------| | Cloning | Manual git clone | Automatic normalization & updating | | Updates | Manual fetch/reset | One-call hard reset & clean | | Context | None | Automatic README & tree extraction | | Workflow | Multiple steps | Integrated explore-repo skill |

License

MIT