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

@runchr/gstack-antigravity

v0.3.4

Published

Local installer for gStack-Antigravity (.agents layout)

Downloads

9

Readme

gStack-Antigravity 🚀

한국어 README

gStack-Antigravity is a high-performance, team-ready port of garrytan/gstack built natively for the Antigravity agent environment.

It utilizes a Thin Router architecture and a Standard-Compliant Shared Engine to prioritize token efficiency, cross-platform reliability, and workspace isolation.


🏗 Why this Port? (Core Philosophy)

Developing AI workflows often hits two bottlenecks: Token Exhaustion and Execution Drift.

gStack-Antigravity solves these using:

  • Thin Router Architecture: Instead of copying all logic to every project, we keep lightweight rules (.agents/rules/) locally. The heavy engine is shared globally for efficiency.
  • Standard Compliance & Isolation: We follow Antigravity standards by storing the engine in ~/.gemini/antigravity/skills/, while ensuring project-level data (.gstack/) remains strictly isolated.
  • Native Browser Integration: We use Antigravity's native browser_subagent tools as a first-class bridge, ensuring faster, more visual feedback.
  • Cross-Platform Parity: Specialized support for macOS, Linux, and Windows.

🚀 Getting Started (Pick One)

gStack-Antigravity offers two paths for installation. Choose the one that fits your workflow. Both result in a fully optimized environment.

Option A. Manual Initialization via Terminal (Recommended for Pros)

Initialize the project and build the browser engine in a single command.

# 1. Global Installation (One-time setup)
npm install -g @runchr/gstack-antigravity

# 2. Initialize in your project root
gstack-antigravity init

Option B. Automated Setup via AI Chat (Recommended for Beginners)

If the package is installed globally, you can let the AI handle the rest inside the Antigravity chat.

# 1. Global Installation (One-time setup)
npm install -g @runchr/gstack-antigravity

Then open Antigravity and enter the following command in the chat:

/gstack-setup

[!TIP] The AI will detect the missing local configuration and automatically bootstrap the project by fetching rules and workflows from the global engine.

[!TIP] Shared Global Engine: This package stores the engine in ~/.gemini/antigravity/skills/gstack. Because the engine and binaries are shared, the setup for your second project onwards will be Instant.


🛠 Workflow Command Reference (/commands)

Antigravity workflows allow you to run complex, multi-step agent behaviors with a single command.

| Command | Category | Description | |:--- |:--- |:--- | | /office-hours | Strategy | Brainstorming session for new ideas. Focuses on product-market fit and user pain. | | /plan-ceo-review | Strategy | Strategic challenge of your current plan. Asks the "hard questions" about scope and value. | | /plan-eng-review | Architecture | Rigorous technical audit of your implementation plan. Checks for race conditions, auth, and edge cases. | | /autoplan | Strategy | Runs CEO, Design, and Eng reviews sequentially in one session. | | /investigate | Debugging | Systematic root-cause debugging. Iron Law: No fixes without root cause. | | /qa | Testing | Automated browser-driven QA. Discovers targets, finds bugs, and offers auto-fixes. | | /review | Audit | Pre-landing PR review. Pass 1 (Critical issues), Pass 2 (Code quality). | | /ship | Release | The ultimate ship engine: Merge -> Test -> Eval -> Version -> Changelog -> Push -> PR. | | /codex | Review | Request a "Second Opinion" from an adversarial model to find hidden exploits. |


📖 Example Scenario: Building a "Memo App" from A to Z

How do you actually use these commands? Let's walk through building a simple Memo App.

graph TD
    A[Idea: Memo App] --> B(Concept: /office-hours)
    B --> C(Audit: /plan-eng-review)
    C --> D{Implementation}
    D --> E(Bug Hunt: /qa)
    E --> F(PR Review: /review)
    F --> G(Final Release: /ship)

1. Dreaming & Strategy (/office-hours)

  • User: "I want to build a memo app with voice recognition and tagging."
  • Antigravity: Runs a brainstorming session to clarify the MVP features and user pain points.
  • Outcome: A solid product spec and prioritized task list.

2. Architecture Audit (/plan-eng-review)

  • User: "Here is my plan for the database schema and sync logic."
  • Antigravity: Reviews the plan for race conditions, auth gaps, and edge cases.
  • Outcome: A "hardened" implementation plan that is ready for coding.

3. Automated Quality Guard (/qa)

  • User: "Make sure the 'Delete Note' button works on both mobile and desktop."
  • Antigravity: Spawns a headless browser, navigates to your local dev server, finds the button, and verifies the deletion in the database.
  • Outcome: Discovers a UI bug on mobile and provides an automatic fix.

4. Zero-Friction Release (/ship)

  • User: "I'm ready to push this to production."
  • Antigravity: Checks tests, updates the version, generates a changelog, creates a PR, and merges it once approved.
  • Outcome: Your feature is live, documented, and versioned—without a single manual git command.

🌐 Browser Automation ($B)

For manual control or technical integration, use the $B (browse) command set. These tools use a persistent headless Chromium instance.

Common Patterns

  • Orientation: $B goto [URL] -> $B snapshot -i (Highlights all interactive elements).
  • Interaction: $B click @e1, $B fill @e2 "value".
  • Assertion: $B is visible ".dashboard", $B console (Check JS errors).
  • Evidence: $B screenshot, $B snapshot -a -o [path] (Annotated capture).

Command List

  • goto <url>: Navigate to target.
  • snapshot -i: Interactive accessibility tree with @e refs.
  • snapshot -D: Unified diff against previous page state.
  • responsive: Capture mobile, tablet, and desktop views at once.
  • cookie-import-browser: Import real login sessions from your Chrome/Arc/Edge.
  • handoff: Open visible Chrome for user takeover (CAPTCHA, etc.).

🛡 Security & Safety

  • Local Only: All session state, screenshots, and logs are kept in .gstack/ (ignored by git).
  • /careful: Activates guardrails for destructive commands (rm -rf, DROP TABLE, force push).
  • /guard: Maximum safety mode (read-only restrictions for specific modules).

🛠 Troubleshooting & Corporate Networks

If you are using gStack-Antigravity in a restricted corporate environment (Firewall/Proxy), you may encounter ECONNRESET errors during browser downloads.

1. Corporate Proxy

If your network requires a proxy, set the HTTPS_PROXY environment variable before running setup:

HTTPS_PROXY=http://your-proxy-server:8080 /gstack-setup

2. Skipping Browser Download (Token Efficiency)

To save tokens and avoid repeated download failures, you can run the setup without the browser installation:

/gstack-setup --skip-browser

This will build the core browse binary and register skills, but skip the Playwright Chromium download.

3. Manual Browser Installation

If the automated download fails, run this command manually in a standard terminal:

npx playwright install chromium

🔄 Upstream Sync

To sync with the original garrytan/gstack source:

./scripts/sync-gstack-origin.sh

📄 License

MIT License. Created by garrytan, ported to Antigravity by runchr.