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

@jackjackstudios/ambiance-cli

v0.3.3

Published

CLI for code context with semantic search, AI analysis and summary

Readme

Ambiance CLI

CLI-first Agent Accessible local code context and analysis for agent workflows. Uses AST-grep for semantic code search and analysis with compacting for token efficiency. AmbianceCLI fetches appropriate context from accross the project, your agent decides where to dig deeper. Meaning faster, more efficient, code completion.

ambiance context — Semantic code search

Instead of grepping through hundreds of files, ask a natural language question and get ranked results with jump targets, key symbols, and config — in milliseconds.

ambiance context demo

Install

npm install -g @jackjackstudios/ambiance-cli

Install Agent Skill

To integrate Ambiance directly into your favorite AI environments, install the Ambiance Agent Skill:

ambiance skill install

By default, this will copy the skill definitions into the known configuration directories of .claude, .gemini, .antigravity, .codex, and .cursor.

Quick Start

ambiance --help
ambiance doctor --json
ambiance skill verify --json

More Demos

ambiance hints — Instant project orientation

One command gives any agent or developer a full orientation to an unfamiliar codebase: architecture patterns, key folders, entry points, and top functions.

ambiance hints demo

ambiance summary — File complexity at a glance

Instantly surfaces cyclomatic complexity, symbol counts, and architectural patterns so you know which files need attention.

ambiance summary demo

ambiance grep — AST-aware pattern matching

Finds exact function invocations, not comments or string matches. Compared here against standard text grep on the same codebase.

ambiance grep demo

ambiance debug — Log-to-code tracing

Paste a log line and get back the relevant source locations, stack context, and suggested fix targets.

ambiance debug demo

CLI Commands

All commands support JSON mode via --json.

  • ambiance context "<query>" --json --project-path <path>
  • ambiance hints --json --project-path <path>
  • ambiance summary <file> --json
  • ambiance manifest --json --project-path <path> - NEW: Project-wide function listing
  • ambiance debug "<log text>" --json --project-path <path>
  • ambiance grep "<ast pattern>" --json --project-path <path>
  • ambiance frontend --json --project-path <path>
  • ambiance embeddings <action> --json --project-path <path>
  • ambiance packs <create|list|get|delete|template|ui> --json
  • ambiance compare --prompt "<prompt>" --json

Agent Skill Workflows

Ambiance ships versioned skill templates in skills/ambiance.

  • Validate templates: ambiance skill verify --json
  • Workflow docs and examples: skills/ambiance/README.md
  • Workflow files: skills/ambiance/workflows/*.json

Migration from MCP

MCP remains available as a compatibility path, but CLI is now the primary interface.

  • Bridge command: ambiance migrate mcp-map --json

Notes for Automation

  • Prefer --json for machine parsing.
  • Non-zero exit codes are returned for usage/runtime failures.
  • Use explicit --project-path for deterministic runs.

Development

npm run build
npm run verify:skills
npm test

License

MIT. See LICENSE.