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

@paytmsupport/paytm-jarvis

v1.0.2

Published

Persistent AI coding context for teams. Git tracks code history. DevContext tracks intent history.

Readme

Jarvis

Persistent AI coding context for teams

npm version License: MIT TypeScript

Git tracks code history. Jarvis tracks intent history.


🎯 What is Jarvis?

Jarvis helps development teams maintain context across coding sessions. While Git tracks what changed, Jarvis tracks why it changed, what approaches were tried, and where you left off.

Perfect for:

  • 🔄 Resuming work after breaks or context switches
  • 👥 Team handoffs without losing context
  • 🤖 AI coding assistants (Cursor, Claude, Copilot) with full project context
  • 📝 Documenting decisions and approaches for future reference

✨ Features

  • 📝 Save Context: Capture your coding intent, decisions, and progress
  • 🔄 Resume Sessions: Generate context prompts for AI tools automatically
  • 👥 Team Collaboration: Share context with teammates via Git
  • 🤖 AI-Powered: Auto-summarize changes and suggest next steps
  • 🔍 Git Integration: Automatic capture of commits and diffs
  • Auto-Capture: Watch mode for automatic context saving
  • 🔌 MCP Server: Integrate with Claude Code and other MCP-compatible tools

📦 Installation

npm install -g @paytmsupport/paytm-jarvis

Or use with npx (no installation needed):

npx @paytmsupport/paytm-jarvis --version

🚀 Quick Start

1. Initialize Jarvis

Navigate to your project directory and initialize:

cd your-project
jarvis init

This creates a .jarvis/ directory and configuration file.

2. Save Your Context

Save what you're working on:

jarvis save "Implementing user authentication"

Or use interactive mode for detailed context:

jarvis save
# Follow the prompts to add:
# - What you're working on
# - Approaches tried
# - Key decisions
# - Current state
# - Next steps
# - Blockers

3. Resume Context

Generate a context prompt for your AI assistant:

jarvis resume

The context is automatically copied to your clipboard and ready to paste into Cursor, Claude, or other AI coding assistants.

4. View History

See your context history:

jarvis log
jarvis log --all  # Show all branches

📚 Commands Reference

Core Commands

jarvis init

Initialize Jarvis in the current repository.

jarvis init

Creates .jarvis/ directory and sets up configuration.


jarvis save [message]

Save current coding context.

Basic usage:

jarvis save "Working on feature X"

With options:

jarvis save \
  --goal "JIRA-123" \
  --state "Implemented core logic, testing edge cases" \
  --approaches "Tried approach A;;Tried approach B" \
  --decisions "Using library X for performance" \
  --next-steps "Add error handling;;Write tests" \
  --blockers "Waiting for API response"

Options:

  • -g, --goal <goal> - Goal or ticket reference
  • -a, --auto - Auto-extract context from editor sessions (Claude Code, Antigravity, Cursor)
  • --approaches <approaches> - Approaches tried (separated by ;;)
  • --decisions <decisions> - Key decisions made (separated by ;;)
  • --state <state> - Current state / where you left off
  • --next-steps <nextSteps> - Next steps (separated by ;;)
  • --blockers <blockers> - Blockers (separated by ;;)

jarvis resume

Generate context prompt for AI tools.

jarvis resume                    # Current branch, copy to clipboard
jarvis resume --branch feature/auth  # Specific branch
jarvis resume --stdout           # Output to stdout instead of clipboard

Options:

  • -b, --branch <branch> - Resume context from a specific branch
  • --stdout - Output to stdout instead of clipboard

jarvis log

View context history.

jarvis log                    # Current branch, last 10 entries
jarvis log --all              # All branches
jarvis log --count 20         # Show 20 entries
jarvis log --all --count 50   # All branches, 50 entries

Options:

  • -a, --all - Show all branches
  • -n, --count <n> - Number of entries to show (default: 10)

jarvis diff

Show what changed since the last context save.

jarvis diff

Displays git diff and recent commits since your last context save.


Team Features

jarvis handoff [assignee] [message]

Hand off context to a teammate.

jarvis handoff @teammate "Ready for review"
jarvis handoff @alice "Main logic complete, needs testing"

Creates a handoff entry that your teammate can view with jarvis log.


jarvis share

Share .jarvis/ via git for team collaboration.

jarvis share           # Start sharing (remove .jarvis/ from .gitignore)
jarvis share --stop    # Stop sharing (add .jarvis/ back to .gitignore)

Options:

  • --stop - Stop sharing (add .jarvis/ back to .gitignore)

Auto-Capture

jarvis watch

Watch for file changes and auto-save context.

jarvis watch                    # Auto-save every 5 minutes
jarvis watch --interval 10     # Auto-save every 10 minutes

Options:

  • -i, --interval <minutes> - Auto-save interval in minutes (default: 5)

jarvis hook <action>

Manage git hooks for automatic context capture.

jarvis hook install    # Install git hooks
jarvis hook remove     # Remove git hooks

Automatically captures context on commits and branch switches.


AI-Powered Features

Note: AI features require configuration. See Configuration section.

jarvis summarize

Auto-generate context from git diff + commits using AI.

jarvis summarize

Analyzes recent changes and commits to automatically generate context.


jarvis suggest

AI-powered next step suggestions.

jarvis suggest

Provides actionable next steps based on your current context and code changes.


jarvis compress

Compress old context entries using AI.

jarvis compress

Uses AI to summarize and compress old context entries, keeping history manageable.


Configuration

jarvis config

Manage configuration settings.

jarvis config list                    # List all settings
jarvis config get <key>               # Get a setting value
jarvis config set <key> <value>        # Set a setting value

Available settings:

  • defaultOutput - Default output format
  • autoGitCapture - Auto-capture git commits (true/false)
  • recentCommitCount - Number of recent commits to capture (default: 5)
  • defaultLogCount - Default number of log entries (default: 10)
  • watchInterval - Watch mode interval in minutes (default: 5)
  • autoHook - Auto-install git hooks (true/false)
  • aiProvider - AI provider (openai, anthropic, etc.)
  • aiModel - AI model name
  • aiApiKey - AI API key (masked in output)

Examples:

jarvis config set autoGitCapture true
jarvis config set recentCommitCount 10
jarvis config set aiProvider openai
jarvis config set aiModel gpt-4
jarvis config set aiApiKey sk-...

🔌 MCP Server

Jarvis provides an MCP (Model Context Protocol) server for integration with AI tools like Claude Code.

Usage

jarvis-mcp

Configuration

Add to your MCP client configuration (e.g., Claude Code):

{
  "mcpServers": {
    "jarvis": {
      "command": "jarvis-mcp"
    }
  }
}

The MCP server exposes Jarvis functionality as tools and resources that AI assistants can use directly.


💡 Use Cases

Daily Development Workflow

# Morning: Resume where you left off
jarvis resume  # Get full context for AI assistant

# During work: Save progress
jarvis save --state "Implemented authentication, writing tests"

# End of day: Save final state
jarvis save --next-steps "Review PR;;Add error handling"

Team Handoffs

# Before leaving
jarvis handoff @teammate "Feature complete, ready for review"

# Teammate picks up
jarvis resume --branch feature/auth

AI Integration

# Auto-generate context from recent changes
jarvis summarize

# Get AI suggestions for next steps
jarvis suggest

# Compress old entries to keep history clean
jarvis compress

Continuous Context Capture

# Start watch mode
jarvis watch --interval 10

# Install git hooks for automatic capture
jarvis hook install

📁 Project Structure

After running jarvis init, your project will have:

your-project/
├── .jarvis/
│   ├── config.json          # Configuration file
│   └── sessions/            # Context entries organized by branch
│       ├── main/
│       │   └── <timestamp>.json
│       └── feature/auth/
│           └── <timestamp>.json
└── ...

⚙️ Configuration

Configuration is stored in .jarvis/config.json. You can edit it directly or use the jarvis config command.

Default configuration:

{
  "defaultOutput": "clipboard",
  "autoGitCapture": true,
  "recentCommitCount": 5,
  "defaultLogCount": 10,
  "watchInterval": 5,
  "autoHook": false,
  "aiProvider": null,
  "aiModel": null,
  "aiApiKey": null
}

🔒 Privacy & Security

  • Context is stored locally in .jarvis/ directory
  • Git integration only reads commits and diffs (no write access)
  • AI features require explicit API key configuration
  • .jarvis/ is added to .gitignore by default (use jarvis share to enable team sharing)

📋 Requirements

  • Node.js: 18 or higher
  • Git: Required for git integration features
  • npm: For installation



🙏 Acknowledgments

  • Built for development teams who value context and collaboration
  • Inspired by the need for better context management in AI-assisted development

Made with 💙 for development teams

InstallQuick StartCommandsUse Cases