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

@xelth/eck-snapshot

v5.8.5

Published

A powerful CLI tool to create and restore single-file text snapshots of Git repositories and directories. Optimized for AI context and LLM workflows.

Readme

eck-snapshot

A CLI tool that packs your entire Git repository into a single text file optimized for LLMs. Give any AI full project context in one copy-paste.

npm install -g @xelth/eck-snapshot

Recommended AI Setup

For best results, we recommend splitting roles between models:

  • Architect (large context window): Gemini, Grok Fast, ChatGPT — upload the full snapshot, design the architecture, plan tasks
  • Coder (execution): Claude (via Claude Code), GLM (via OpenCode) — receive tasks from the architect, write and fix code

eck-snapshot generates tailored instructions (CLAUDE.md, AGENTS.md) for each role automatically.

Core Workflow

1. Full Snapshot

Run eck-snapshot in your project root. It scans every tracked file, filters out noise (lock files, build artifacts, secrets), and produces a single .md file ready for an AI chat.

eck-snapshot
# -> .eck/snapshots/eckMyProject_26-02-15_12-00_abc1234.md

Upload the file to your architect AI and start working.

2. Incremental Update

After you make changes, don't re-send the entire project. Send only what changed since the last full snapshot:

eck-snapshot update
# -> .eck/snapshots/eckMyProject_26-02-15_14-30_abc1234_up1.md

This uses a Git anchor (saved automatically during full snapshot) to detect all modified files and includes their full content. No redundant diffs, no wasted tokens.

Context Profiles

Large repositories waste tokens on irrelevant code. Profiles let you partition the codebase so the AI only sees what matters.

Auto-Detection

Let AI scan your directory tree and generate profiles automatically:

eck-snapshot profile-detect
# -> Saves profiles to .eck/profiles.json

Manual Guide

For very large repos where auto-detection is too slow, generate a prompt guide, paste it into a powerful Web LLM (Gemini, ChatGPT), and save the resulting JSON:

eck-snapshot generate-profile-guide
# -> .eck/profile_generation_guide.md (paste into AI, get profiles back)

Using Profiles

eck-snapshot --profile                            # List all available profiles
eck-snapshot --profile backend                    # Use a named profile
eck-snapshot --profile backend --skeleton         # Profile + skeleton mode
eck-snapshot --profile "src/**/*.rs,-**/test_*"   # Ad-hoc glob filtering

Profiles work with both full snapshots and incremental updates.

Smart Filtering

eck-snapshot automatically detects your project type (Rust, Node.js, Android, Python, etc.) and excludes language-specific noise:

  • Rust: Cargo.lock, target/
  • Node.js: package-lock.json, node_modules/
  • Android: build artifacts, generated code
  • All projects: .git/, IDE configs, binary files

The built-in SecretScanner also redacts API keys, tokens, and credentials before they reach the AI.

Multi-Agent Architecture

eck-snapshot generates tailored CLAUDE.md instructions for different AI agent roles:

eck-snapshot --jas    # Junior Architect Sonnet - fast, standard features
eck-snapshot --jao    # Junior Architect Opus - deep, critical architecture
eck-snapshot --jag    # Junior Architect Gemini - massive context tasks

Chinese Delegation (--zh)

For GLM Z.AI workers (trained on Chinese data), the --zh flag instructs the architect to formulate all worker tasks in Chinese, improving output quality:

eck-snapshot --jas --zh    # Claude Code: delegate to GLM workers in Chinese
eck-snapshot --zh          # OpenCode/GLM: generate AGENTS.md with Chinese protocol

The architect still communicates with you in your language. Only the instruction parameter sent to GLM workers switches to Chinese. Code, variable names, and commit messages stay in English.

MCP Server Integration

Delegate coding tasks to the GLM Z.AI Worker Fleet via MCP:

export ZAI_API_KEY="your-key"
eck-snapshot setup-mcp --both    # Setup for Claude Code + OpenCode

This gives your AI access to specialized workers: glm_zai_frontend, glm_zai_backend, glm_zai_qa, glm_zai_refactor, and the eck_finish_task commit tool.

Skeleton Mode & Lazy Loading

For extremely large projects, skeleton mode strips function bodies and keeps only signatures, types, and structure:

eck-snapshot --skeleton

When using skeleton mode, the AI can request full content of specific files on demand:

eck-snapshot show src/auth.rs src/handlers/sync.rs

Useful for initial orientation in massive codebases, but full snapshots with profiles are usually more practical.

Other Commands

eck-snapshot restore <snapshot>    # Restore files from a snapshot to disk
eck-snapshot prune <snapshot>      # AI-powered snapshot size reduction
eck-snapshot doctor                # Check project health
eck-snapshot env push              # Encrypt and sync .eck/ config between machines
eck-snapshot env pull              # Restore .eck/ config on another machine

Changelog

v5.8.5

  • Re-publish to fix missing README on npmjs.com.

v5.8.4

  • Fixed directory filtering in incremental snapshots. Paths like web/build/app.js are now correctly ignored when build/ is in the ignore list.

v5.8.3

  • Optimized agent report formatting with clean Markdown to improve token efficiency.
  • Fixed report injection order so it appears correctly after system instructions.

v5.8.2

  • Fixed agent report injection in incremental snapshots. The AnswerToSA.md file is now preserved on disk for manual debugging and uses an internal [SYSTEM: EMBEDDED] marker to prevent duplicate injections into future snapshots.

v5.8.1

  • Improved Android project parsing by ignoring boilerplate and vector graphics.
  • Removed duplicate ecksnapshot MCP server and fixed JSON parsing in update-auto.

License

MIT