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

@first-tree-ai/context-tree

v2.1.1

Published

Durable, structured project context for coding agents: a CLI plus framework-neutral skills.

Readme

Context Tree

A shared project notebook for you and your coding agent.

Keep decisions, constraints, and useful lessons in Markdown files alongside your code. Each folder has an index, so an agent can find the context it needs without reading every document.

A tree can live inside an existing repository, in a standalone folder, or in a shared GitHub repository.

Get started

npm install --global @first-tree-ai/context-tree
cd my-project
context-tree init docs

This creates a tree in docs/ and connects it to your project.

Read its index:

context-tree read --full

Without --full, read prints a node's title, description, heading outline with line numbers, and child summaries; --section <heading> prints one section.

Edit the Markdown yourself or ask your agent to update it. Check your changes with context-tree verify, then commit them with your code.

Use with your agent

The package includes skills for Claude Code, Codex, and Pi. Global installation adds them for detected hosts; restart your agent to pick them up.

Ask your agent:

Read the project context before starting. When you're done, record any useful decisions.

You can also ask it to tidy the tree or schedule regular cleanup. Cleanup consolidates duplicates and improves organization, leaving changes on a separate branch for review by default.

Connect an existing tree

context-tree connect --path docs

To share knowledge across projects, connect a tree from GitHub:

context-tree connect acme/knowledge --path docs --ref main

Connecting a Git subtree requires Git 2.36 or newer. Managed snapshots and write sessions check out the selected subtree and its ancestor files; connecting the repository root checks out the full repository.

Use context-tree sync to fetch updates. With multiple trees, select one by its directory or repository name, such as context-tree read --tree knowledge.

When a newer release is published, commands print a one-line notice; run context-tree upgrade to update a global npm or pnpm install and refresh its skills.

See context-tree --help for commands and the specification for technical details.