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

@mragentix/cli

v4.2.39

Published

CLI coding agent with OAuth authentication for Anthropic and OpenAI

Readme

@mragentix/cli

The CLI that sits on top of the MR Agentix Framework. Built on @mragentix/ai and @mragentix/agent.


Install

npm i -g @mragentix/cli

Getting started

mragentix login    # Pick provider, authenticate
mragentix          # Start coding

OAuth for Anthropic and OpenAI (log in once, auto-refresh). API keys for GLM and Moonshot. Up and running in seconds either way.


The system prompt problem

Every token in the system prompt gets processed on every single turn. It's not a one-time cost. It's a tax on every request.

| | Claude Code / Agent SDK | MR Agentix Coder | |---|---|---| | System prompt size | ~15,000 tokens | ~1,100 tokens | | Ratio | baseline | ~13x smaller |

Why you should care

  • Slower responses. More input tokens = longer time-to-first-token. In a 30-turn session, that wait adds up to minutes.
  • Worse instruction following. More rules = more things the model ignores. "Lost in the middle" is well-documented. A 1,100 token prompt gets read. A 15,000 token one gets skimmed.
  • Context fills up faster. ~15,000 tokens sitting in your window permanently. That's ~7.5% of a 200K model gone before you say hello. You hit compaction sooner, lose history faster, and the agent forgets what it was doing.
  • Higher cost. Input tokens aren't free. Every cache miss charges you for the full bloat. Smaller prompt = smaller bill.

MR Agentix Coder sends only what the model needs: how to work, what tools it has, and your project context. No walls of rules. No formatting instructions. Just signal.


The MCP problem

Same philosophy applies to tools. People collect MCPs like Pokemon. Slack MCP, GitHub MCP, Notion MCP, five different file system MCPs. Every single one injects its tool descriptions into the context. The model now has to figure out which of 40+ tools to use for any given task.

This doesn't help. It confuses the agent. More tool descriptions = more noise = worse tool selection. The model spends tokens reasoning about tools it will never call.

MR Agentix Coder ships with one MCP: Grep. That's it. It lets the agent search across 1M+ public GitHub repos to verify implementations against real-world code. Correct API usage, library idioms, production patterns. One tool that actually makes the output better.

You can still add your own MCPs if you need them. But start with less. You'll get better results.


Four providers, one agent

Switch mid-conversation with /model. Not locked to anyone.

| Provider | Models | Auth | |---|---|---| | Anthropic | Claude Opus 4.6, Sonnet 4.6, Haiku 4.5 | OAuth | | OpenAI | GPT-4.1, o3, o4-mini | OAuth | | Z.AI (GLM) | GLM-5, GLM-4.7 | API key | | Moonshot | Kimi K2.5 | API key |


Slash commands

Everything runs through slash commands inside the session. Not CLI flags.

/model claude-opus-4-6       # Switch models on the fly
/model kimi-k2.5
/compact                      # Compress context when it gets long

# Built-in workflows
/scan          # Dead code, bugs, security issues (5 parallel agents)
/verify        # Verify against docs and best practices (8 parallel agents)
/research      # Research best tools and patterns for your stack
/init          # Generate CLAUDE.md for your project
/setup-lint    # Generate a /fix command for your stack
/setup-commit  # Generate a /commit command with quality checks
/setup-tests   # Set up testing + generate /test
/setup-update  # Generate an /update command for deps

Custom commands

Drop a markdown file in .mragentix/commands/ and it becomes a slash command. Your React app gets /deploy and /storybook. Your API gets /migrate and /seed. Different projects, different commands.


Skills

Reusable behaviors across projects. Drop .md files in:

  • ~/.mragentix/skills/ for global skills (available everywhere)
  • .mragentix/skills/ for project-specific skills

They get loaded into the system prompt automatically. The agent knows what it can do without you explaining it each session.


Project guidelines

Drop a CLAUDE.md or AGENTS.md in your repo root (or any parent directory). MR Agentix Coder picks it up automatically.

Your rules. Your conventions. The agent follows them.


Tools

MR Agentix Coder comes with a focused set of tools:

| Tool | What it does | |---|---| | bash | Run shell commands | | read | Read file contents | | write | Write files | | edit | Surgical string replacements | | grep | Search file contents (regex) | | find | Find files by glob pattern | | ls | List directory contents | | web_fetch | Fetch URL content | | subagent | Spawn parallel sub-agents |

Plus the Grep MCP for searching across 1M+ public GitHub repos.


License

MIT