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

@automagik/genie

v0.260205.616

Published

Collaborative terminal toolkit for human + AI workflows

Downloads

3,865

Readme

Genie CLI

Collaborative terminal toolkit for human + AI workflows.

Genie CLI ships three CLIs:

  • genie — setup wizard, prerequisites installer, and hook management
  • term — tmux orchestration for managing terminal sessions (AI-safe)
  • claudio — Claude Code launcher with custom LLM routing profiles

Core idea: tmux is the collaboration layer. AI agents run inside shared tmux sessions; humans can attach at any time to watch, assist, or take over.


What you get (features)

Workflow skills (shared across tools)

Genie provides a set of skills (slash commands like /brainstorm, /wish, etc.) that can be loaded in:

  • Claude Code via the automagik-genie Claude plugin
  • OpenClaw via the automagik-genie OpenClaw plugin

Single source of truth: all skills live in ./skills/ at the repo root.

Claude Code integration (plugin)

  • Installs/links the Claude plugin at ~/.claude/plugins/automagik-genie
  • Ships skills + agents + hooks

OpenClaw integration (plugin)

  • Installs/links an OpenClaw plugin with the same id: automagik-genie
  • The plugin exposes the same skills to OpenClaw so they can appear as global slash commands (depending on your OpenClaw config)

Note: after installing an OpenClaw plugin you typically need to restart the OpenClaw Gateway to load it.


Repository layout (important)

./skills/                          # ✅ canonical skills directory
./plugins/automagik-genie/         # Claude Code + OpenClaw plugin wrapper
  ├── .claude-plugin/              # Claude Code plugin manifest
  ├── openclaw.plugin.json         # OpenClaw plugin manifest
  ├── automagik-genie.ts           # OpenClaw standalone extension entrypoint
  └── skills -> ../../skills       # symlink to canonical skills

This ensures one SKILL.md per skill, reused by both ecosystems.


Quick start

One-line install

curl -fsSL https://raw.githubusercontent.com/namastexlabs/genie-cli/main/install.sh | bash

Dev install (from a local clone)

./install.sh --local /path/to/genie-cli --dev
  • --local builds from source and npm links the CLI
  • --dev links the OpenClaw plugin instead of copying it

install.sh flags

--local PATH    Install from local source directory (for development)
--dev, -d       Dev mode: link OpenClaw plugin instead of copying
uninstall       Remove Genie CLI and components

Claude Code plugin

During install, you can choose to install the Claude Code plugin.

  • If using a local clone, the installer creates a symlink:
    • ~/.claude/plugins/automagik-genie -> <repo>/plugins/automagik-genie

Verify:

claude plugin list | rg automagik-genie

OpenClaw plugin

During install, you can choose to install the OpenClaw plugin.

Under the hood, OpenClaw installs the standalone extension entrypoint:

  • plugins/automagik-genie/automagik-genie.ts

Verify:

openclaw plugins list | rg automagik

Then restart the gateway:

openclaw gateway restart

Configuration files

| File | Purpose | |------|---------| | ~/.genie/config.json | Hook presets and session settings | | ~/.claudio/config.json | LLM routing profiles (API URL, model mappings) | | ~/.claude/settings.json | Claude Code settings (hooks registered here) | | ~/.claude/hooks/genie-bash-hook.sh | Hook script enforcing configured behaviors |


genie reference

Prerequisites check & install

genie install              # Interactive prerequisite check & install
genie install --check      # Only check, don't offer to install
genie install --yes        # Auto-approve all installations

What it checks

| Prerequisite | Required | Installation Method | |--------------|----------|---------------------| | tmux | Yes | brew > apt/dnf/pacman > manual | | bun | Yes | Official installer (curl) | | claude | No (recommended) | npm/bun global install |

Hook configuration (genie setup)

genie setup          # Interactive wizard
genie setup --quick  # Use recommended defaults (collaborative + audited)

Hook management (genie hooks)

genie hooks show

genie hooks install
genie hooks install --force

genie hooks uninstall
genie hooks uninstall --keep-script

genie hooks test

Hook presets

Collaborative (recommended)

What: All terminal commands run through tmux

Why: You can watch AI work in real-time

How: Bash commands are rewritten to term exec <session> '<command>'

tmux attach -t genie

Example config:

{
  "hooks": {
    "enabled": ["collaborative"],
    "collaborative": {
      "sessionName": "genie",
      "windowName": "shell"
    }
  }
}

Supervised

What: File changes require your approval

Example config:

{
  "hooks": {
    "enabled": ["supervised"],
    "supervised": {
      "alwaysAsk": ["Write", "Edit"]
    }
  }
}

Sandboxed

What: Restrict file access to specific directories

Example config:

{
  "hooks": {
    "enabled": ["sandboxed"],
    "sandboxed": {
      "allowedPaths": ["~/projects", "/tmp"]
    }
  }
}

Audited

What: Log all AI tool usage to a file

Example config:

{
  "hooks": {
    "enabled": ["audited"],
    "audited": {
      "logPath": "~/.genie/audit.log"
    }
  }
}

Combining presets

{ "hooks": { "enabled": ["collaborative", "audited"] } }

Worker Profiles

Worker profiles configure how genie-cli spawns Claude Code workers. Each profile bundles a launcher (claude or claudio) with CLI arguments.

Quick Commands

genie profiles list              # List all profiles (* = default)
genie profiles add <name>        # Add new profile (interactive)
genie profiles show <name>       # Show profile details
genie profiles rm <name>         # Delete profile
genie profiles default <name>    # Set default profile

Using Profiles

term spawn implementor --profile coding-fast   # Use specific profile
term work bd-123 --profile autonomous          # Complex task with opus

Example Config

{
  "workerProfiles": {
    "coding-fast": {
      "launcher": "claudio",
      "claudioProfile": "coding-fast",
      "claudeArgs": ["--dangerously-skip-permissions"]
    },
    "safe": {
      "launcher": "claude",
      "claudeArgs": ["--permission-mode", "default"]
    }
  },
  "defaultWorkerProfile": "coding-fast"
}

For full documentation, see docs/worker-profiles.md.


term reference

Command tree

term
├── new <name>              Create session (-d workspace, -w worktree)
├── ls                      List sessions (--json)
├── attach <name>           Attach interactively
├── rm <name>               Remove session (--keep-worktree)
├── read <session>          Read output (-n, --grep, --json, -f)
├── exec <session> <cmd>    Run command (async)
├── send <session> <keys>   Send keys with Enter (--no-enter for raw)
├── split <session> <h|v>   Split pane (-d, -w)
├── info <session>          Session info (--json)
├── watch <session>         Watch events in real-time
├── run <session> <msg>     Fire-and-forget with auto-approve
├── window
│   ├── new <session> <name>
│   ├── ls <session> (--json)
│   └── rm <window-id>
├── pane
│   ├── ls <session> (--json)
│   └── rm <pane-id>
├── orc
│   ├── start <session>     Start Claude with monitoring
│   └── status <session>    Claude state (idle/busy/permission)
└── hook
    ├── set <event> <cmd>
    ├── list
    └── rm <event>

Common options

| Option | Description | |------|-------------| | --json | Output as JSON (essential for agents) | | -n <lines> | Number of lines to read | | -f | Follow mode (live tail) | | -d <path> | Working directory | | -w | Create git worktree | | --grep <pattern> | Filter output by pattern |


claudio reference

claudio launches Claude Code with custom LLM routing profiles.

Key principle: claude = vanilla Anthropic, claudio = your custom router setup.

Commands

claudio                     Launch with default profile
claudio <profile>           Launch with named profile

claudio setup               First-time setup wizard
claudio profiles            List all profiles (* = default)
claudio profiles add        Add new profile
claudio profiles rm <name>  Delete profile
claudio profiles default <name>  Set default profile
claudio profiles show <name>     Show profile details

claudio models              List available models from router
claudio config              Show current config

Config lives in ~/.claudio/config.json.


Uninstall

curl -fsSL https://raw.githubusercontent.com/namastexlabs/genie-cli/main/install.sh | bash -s -- uninstall

The uninstaller will offer to remove:

  • the Genie CLI package
  • Claude Code plugin
  • OpenClaw plugin (disable + remove extension dir)
  • ~/.genie config directory (optional; default is to keep)

License

MIT