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

@justinechang39/maki

v1.0.7

Published

AI-powered CLI agent for file operations, CSV manipulation, todo management, and web content fetching using OpenRouter

Readme

Maki CLI

⚠️ DISCLAIMER: This is an AI-powered tool that can perform file operations and system commands. The author is NOT responsible for any data loss, system damage, or other issues that may arise from using this software. Use at your own risk and always backup important data before running AI agents with file system access.

A command-line AI agent built with OpenRouter that can perform file operations, CSV manipulation, todo management, and web content fetching through a conversational interface.

Features

  • Multiple AI Models: Choose from GPT-4, Claude, Gemini, and Llama models at startup
  • File Operations: Read, write, create, delete, copy, and move files and directories
  • CSV Data Tools: Parse, filter, sort, merge, analyze, and export CSV data
  • Todo Management: Create, view, update, and manage todo lists with priorities
  • Web Content Fetching: Download and extract content from web pages
  • Conversational Interface: Natural language interaction with the AI agent
  • Thread Management: Save and manage conversation history
  • Global Installation: Install once and use from any directory

Quick Start

1. Get your OpenRouter API key

Sign up at openrouter.ai and get your API key.

2. Set your API key

export OPENROUTER_API_KEY="your-api-key-here"

3. Run the agent

npx maki

The tool will first prompt you to select an AI model from the available options (GPT-4, Claude, Gemini, Llama). Then you can create a new conversation or continue an existing one.

That's it! No installation required.

Installation Options

Using npx (Recommended)

Run without installing (always gets latest version):

npx maki

Global Install

Install once and use anywhere:

npm install -g maki
maki

Development/Local Install

For development or local testing:

  1. Clone the repository
  2. Set your OpenRouter API key:
    export OPENROUTER_API_KEY="your-api-key-here"
  3. Install globally from source:
    npm run install-global
  4. Use from any directory:
    cd ~/Documents
    maki

Note: Once published to npm, users can use npx maki or npm install -g maki.

Development Setup

  1. Clone the repository
  2. Install dependencies: npm install
  3. Set your OpenRouter API key:
    export OPENROUTER_API_KEY="your-api-key-here"
  4. Run database setup: npx prisma migrate dev

Usage

Global Usage (After Global Install)

cd /any/directory
maki

When you start maki, you'll be prompted to:

  1. Select an AI model from the available options (GPT-4, Claude, Gemini, Llama)
  2. Choose or create a conversation thread
  3. Start chatting with your selected AI model

The agent will operate on files in your current working directory and store its database in ~/.config/maki/.

Development Mode

npm run dev

Production Mode

npm run build
npm start

Commands

  • npm run dev - Start development interface
  • npm run build - Build TypeScript to JavaScript
  • npm start - Run built version
  • npm run install-global - Build and install globally
  • npm run migrate - Run database migrations

Configuration

AI Models Available

  • OpenAI GPT-4: High-quality reasoning and code generation
  • OpenAI GPT-4.1 Mini: Faster responses, cost-effective
  • Anthropic Claude 3.5 Sonnet: Excellent for analysis and writing
  • Anthropic Claude 3 Opus: Most capable for complex tasks
  • Google Gemini Pro: Strong multimodal capabilities
  • Meta Llama 3 70B: Open-source alternative

Global Installation

  • Database: ~/.config/maki/database.sqlite
  • Working directory: Current directory where you run maki

Development Mode

  • Database: ./prisma/database.sqlite
  • Working directory: ./file_assistant_workspace

Available Tools

File Tools

  • glob - Powerful file and directory discovery using glob patterns
  • readFile - Read file contents
  • writeFile - Create or update files
  • updateFile - Make targeted edits to existing files
  • deleteFile - Delete files
  • createFolder - Create directories
  • deleteFolder - Delete directories
  • renameFolder - Rename directories
  • renameFile - Rename files
  • copyFile - Copy files
  • copyFolder - Copy directories
  • getFileInfo - Get detailed file/directory metadata
  • getFileSizes - Get file sizes for multiple files
  • getCurrentDirectory - Get workspace information

CSV Tools

  • loadCSV - Load and display CSV data
  • filterCSV - Filter CSV rows by criteria
  • sortCSV - Sort CSV data by columns
  • analyzeCSV - Analyze CSV structure and data
  • mergeCSV - Merge multiple CSV files
  • exportCSV - Export data to CSV format
  • groupByCSV - Group CSV data by column values
  • transformCSV - Transform CSV column data

Todo Tools

  • getTodos - View current todo list
  • addTodo - Add new todo items
  • updateTodo - Update existing todos
  • deleteTodo - Delete todos
  • clearTodos - Clear all todos

Web Tools

  • fetchWebContent - Download and extract web page content

Publishing to npm

To publish this package so users can use npx maki:

  1. Create npm account: Sign up at npmjs.com

  2. Login to npm:

    npm login
  3. Update version (if needed):

    npm version patch  # or minor/major
  4. Build and publish:

    npm run build
    npm publish
  5. Users can then run:

    npx maki

Pre-publish Checklist

  • [ ] Update version in package.json
  • [ ] Ensure package name is unique on npm
  • [ ] Test locally with npm run install-global
  • [ ] Update README with actual npm package name
  • [ ] Remove hardcoded API keys from code

License

ISC