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

@naresh699/ai-context

v1.0.1

Published

Cross-tool AI context layer — one source of truth for Claude, Cursor, Copilot, ChatGPT, Gemini, and more

Readme

ai-context

Cross-tool AI context layer — one source of truth for Claude, Cursor, Copilot, ChatGPT, Gemini, and more.

The problem: Every AI tool has its own memory. Switch from Claude to Cursor mid-task, start a new session, or hand off to a teammate — and context is gone. You re-explain from scratch every time.

The fix: One .ai/context.json file. One aic save. All your tools stay in sync.


Install

npm install -g @naresh699/ai-context

Supported tools

| Tool | Type | How context is delivered | |---|---|---| | Claude Code | IDE / CLI | Auto-loaded via CLAUDE.md | | Cursor | IDE | Auto-loaded via .cursorrules | | GitHub Copilot | IDE | Auto-loaded via .github/copilot-instructions.md | | Claude Chat | Browser | Paste output of aic load --tool chat | | ChatGPT | Browser | Paste output of aic load --tool chatgpt | | Gemini | Browser | Paste output of aic load --tool gemini |

IDE tools get context automatically — no copy-paste needed. Browser tools get a clean, ready-to-paste prompt.


How it works

.ai/context.json          ← single source of truth (commit this)
       │
       ├──► CLAUDE.md                        (Claude Code — auto-loaded)
       ├──► .cursorrules                     (Cursor — auto-loaded)
       ├──► .github/copilot-instructions.md  (GitHub Copilot — auto-loaded)
       │
       └──► aic load --tool chat             (Claude Chat / ChatGPT / Gemini — copy-paste)

You edit context once. aic sync (or aic save) regenerates all tool files automatically.


Quick start

# 1. Init in your project
aic init

# 2. End of session — save and sync
aic save

# 3. Start of next session — print resume prompt
aic load

# 4. Paste the prompt as your first message in Claude / Cursor / ChatGPT

Commands

aic init

Scaffolds .ai/context.json and generates tool-specific files for the tools you choose.

aic init           # interactive setup
aic init --team    # enable team sharing (commits context.json)

aic save

Interactively captures session state, writes to .ai/context.json, and syncs all tool files.

aic save
aic save --commit                    # save + git commit
aic save -m "end of LP-13157"        # save with message

Captures: summary, decisions, work in progress, blockers, next steps, notes.

aic load

Reads context and prints a formatted resume prompt.

aic load                       # formatted output for Claude Code / Cursor
aic load --tool chat           # copyable prompt for Claude Chat
aic load --tool chatgpt        # copyable prompt for ChatGPT
aic load --tool gemini         # copyable prompt for Gemini
aic load --silent              # raw JSON for scripting

aic sync

Regenerates all tool files from .ai/context.json without prompting. Use this after editing the JSON directly.

aic sync

aic status

Shows which files exist and summarises the last saved session.

aic status

aic share

Commits context and tool files to git and pushes for team access.

aic share
aic share -m "EOD handoff — LP-13157 in progress"

Teammates:

git pull && aic load

File structure

your-project/
├── .ai/
│   ├── context.json          ← commit this (shared context)
│   └── settings.json         ← local only (gitignored)
├── CLAUDE.md                 ← generated (Claude Code)
├── .cursorrules              ← generated (Cursor)
└── .github/
    └── copilot-instructions.md  ← generated (GitHub Copilot)

Commit .ai/context.json and the generated tool files. Keep .ai/settings.json gitignored (it's local config).


Team workflow

# Developer A — end of day
aic save
aic share -m "EOD: LP-13157 in progress, blocked on token refresh"

# Developer B — next morning
git pull
aic load
# Paste resume prompt → picks up exactly where A left off

Why not just use each tool's native memory?

  • Claude's memory doesn't follow you to Cursor
  • Cursor's rules don't sync to Copilot
  • ChatGPT's memory doesn't know your codebase
  • Gemini doesn't know what you decided yesterday
  • None of them share state across teammates
  • All of them lose session-level context (decisions, WIP, blockers) when a conversation ends

ai-context is the neutral layer that none of them will build because they each want to be your only tool.


Requirements

  • Node.js 18+
  • Git (for share command)

License

MIT