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

@5kyguy/k2so

v0.1.2

Published

Background task agent for your desktop — the brains to your tool layer

Readme

K-2SO

Background task agent for your desktop. K-2SO is the brains — it plans, researches, and reports. Pair it with an MCP integration pack (like R2-D2) for local system tools.

OpenCode is a prerequisite, not bundled. Install and configure OpenCode yourself (provider, auth, ~/.config/opencode/opencode.json). K-2SO registers via sidecar files and never writes your OpenCode config.

What it does

  • Accept instructions via CLI (k2so ask "...") over a Unix domain socket API
  • Run tasks in the background through an OpenCode engine
  • Stream progress to a local web dashboard — a persistent HTTP bridge at http://127.0.0.1:7780 (run via k2so dashboard, or the k2so-dashboard.service companion unit under R2-D2); k2so open opens it in your browser
  • Queue work with configurable concurrency limits; prune old workspaces with k2so prune
  • Remember context across tasks via local memory files (SOUL.md, USER.md, MEMORY.md, skills)

Requirements

  • Node.js 20+
  • OpenCode installed and configured with your LLM provider
  • An MCP server for platform-specific tools (optional for testing)

Install

# 1. Install OpenCode and configure your provider (see docs/OPENCODE.md)
curl -fsSL https://opencode.ai/install | bash

# 2. Install K-2SO
npm install -g @5kyguy/k2so

# 3. Register K-2SO (markdown agent + memory seeds — no opencode.json edits)
k2so init

# 4. Run
k2so serve
k2so ask "Summarize what is in my Downloads folder"

Upgrading from the old install.sh model? Run k2so init --migrate-opencode to move the agent to ~/.config/opencode/agents/k2so.md and remove the legacy agent.k2so block from your config.

Full guide: docs/INSTALL.md. Health check: k2so doctor. Remove: k2so uninstall.

Memory

K-2SO is a companion that grows via local files in ~/.config/k2so/:

  • Soul — persona (SOUL.md)
  • User — model of you (USER.md)
  • Memory — long-term facts (MEMORY.md)
  • Skills — reusable procedures (skills/*.md)
k2so memory show
k2so memory edit user
k2so open    # open the dashboard (127.0.0.1:7780) in your browser

Details: docs/MEMORY.md.

Development

npm install
npm run build
node dist/cli.js init    # or: npm link && k2so init
k2so serve

Configuration

Profile path defaults to ~/.config/k2so/profile.toml. Override with K2SO_PROFILE.

See docs/OPENCODE.md and templates/ for profile and agent templates.

Changelog

See CHANGELOG.md or the GitHub Releases page.

R2-D2 integration

R2-D2 ships r2d2-mcp, Hyprland hotkeys, and voice ingress that call into K-2SO. K-2SO itself stays platform-agnostic.

License

MIT