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

corethink-cli

v1.0.1

Published

CoreThink CLI - AI-powered command-line assistant with advanced code editing capabilities

Readme

CoreThink CLI

License Version

CoreThink CLI is an AI-powered command-line assistant that brings advanced AI capabilities directly into your terminal. Built on the foundation of Google's Gemini CLI, CoreThink CLI provides developers with powerful code understanding, generation, and automation features.

🚀 Why CoreThink CLI?

  • 🧠 Powerful AI Models: Access to advanced language models with large context windows
  • 🔧 Built-in Tools: File operations, shell commands, web fetching, and more
  • 🔌 Extensible: MCP (Model Context Protocol) support for custom integrations
  • 💻 Terminal-first: Designed for developers who live in the command line
  • 🛡️ Open source: Apache 2.0 licensed

📦 Installation

Pre-requisites

  • Node.js version 20 or higher
  • macOS, Linux, or Windows

Quick Install

Install globally with npm

npm install -g corethink-cli

Run instantly with npx

npx corethink-cli

🎯 Getting Started

After installation, simply run:

corethink

This launches the interactive CLI where you can:

  • Ask questions and get AI-powered answers
  • Edit code across multiple files
  • Run shell commands with AI assistance
  • Analyze and understand codebases
  • Generate new code from descriptions

Quick Examples

# Interactive mode
corethink

# One-shot query
corethink "explain the main function in app.js"

# YOLO mode (auto-approve all actions)
corethink -y "refactor this code to use async/await"

📋 Key Features

Code Understanding & Generation

  • Query and edit large codebases
  • Generate new apps from descriptions, PDFs, images, or sketches
  • Debug issues and troubleshoot with natural language
  • Refactor code with AI-guided suggestions

Automation & Integration

  • Execute shell commands safely with approval workflows
  • Integrate with MCP servers for extended functionality
  • Chain multiple operations together
  • Custom extensions support

Smart Context Management

  • Automatic context gathering from your workspace
  • File tree analysis and navigation
  • Git integration for version control awareness
  • Multi-file editing with conflict resolution

🔧 Configuration

CoreThink CLI stores its configuration in:

  • ~/.config/corethink/ (Linux/macOS)
  • %APPDATA%\corethink\ (Windows)

Configuration includes:

  • API keys and authentication
  • Model preferences
  • Extension settings
  • Tool approval policies

🛠️ Advanced Usage

Approval Modes

# Default: prompt for approval
corethink

# Auto-approve edits only
corethink --approval-mode auto_edit

# Auto-approve everything (YOLO mode)
corethink --approval-mode yolo

Sandbox Mode

Run potentially dangerous commands in an isolated sandbox:

corethink --sandbox

Extensions

Manage extensions to enhance functionality:

# List installed extensions
corethink extensions list

# Install an extension
corethink extensions install <extension-name>

# Enable/disable extensions
corethink extensions enable <extension-name>
corethink extensions disable <extension-name>

MCP Server Integration

Add MCP servers for additional capabilities:

# Add an MCP server
corethink mcp add

# List configured MCP servers
corethink mcp list

# Remove an MCP server
corethink mcp remove

📖 Documentation

For detailed documentation, guides, and examples, visit the original Gemini CLI documentation (much of which applies to CoreThink CLI as it's based on the same codebase).

🤝 Contributing

CoreThink CLI is based on Google's open-source Gemini CLI. Contributions are welcome!

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

📝 License

CoreThink CLI is released under the Apache 2.0 License. See LICENSE for details.

🙏 Acknowledgments

CoreThink CLI is built on the foundation of Google's Gemini CLI, an excellent open-source project that pioneered terminal-based AI assistance. We're grateful to the Gemini CLI team and contributors for their outstanding work.

🔗 Links

  • NPM Package: https://www.npmjs.com/package/corethink-cli
  • GitHub Repository: https://github.com/dhruv-corethink/corethink-cli
  • Issues & Support: https://github.com/dhruv-corethink/corethink-cli/issues

⚡ Quick Tips

  • Use corethink --help to see all available options
  • Press Ctrl+C to exit the interactive mode
  • Use /help within the CLI for in-session help
  • Check ~/.config/corethink/logs/ for debugging

Built with ❤️ by the CoreThink team