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

hk-context-limit

v1.2.0

Published

Token-efficient dev & review workflow for Claude Code — orchestrates sub-agents to implement projects mission by mission

Readme

H.K Context-Limit

Original creator: Kevin Huynh If you fork and publish this workflow, you must credit the original creator at the top of your README.

Why This Exists

In Claude Code, the more work you do in a single conversation, the faster the context window fills up. When it gets too heavy, the conversation compacts — and compaction means lost context, degraded quality, and the need to /clear and start over.

H.K Context-Limit solves this. Instead of having the main agent do everything (read, plan, code, test, review, fix), it delegates the heavy work to fresh sub-agents that execute outside the main conversation. The orchestrator (Jackson) only handles coordination: finding files, creating the plan, deploying agents, and verifying reports. He never codes, never reviews.

The result: you can execute significantly more tasks in a single conversation before hitting context limits. Each sub-agent starts with a clean context, does its job, returns a short report, and is discarded. The main conversation stays light — it only accumulates the reports, not the full implementation work.

Without H.K Context-Limit:
  Agent reads → plans → codes → tests → reviews → fixes → context explodes after 2-3 features

With H.K Context-Limit:
  Jackson orchestrates → Iris codes (fresh context) → Mike reviews (fresh context)
  → Jackson gets a 5-line report → repeats 5 times → context still clean

How It Works

You (creator) → Jackson (Opus orchestrator)
                    ├── Iris (Sonnet) → codes + tests each mission
                    └── Mike (Opus)   → reviews + fixes each mission

Jackson never codes. He detects your project state, adapts your plan to a Quest/Mission format, then deploys Iris and Mike as fresh sub-agents for each mission. After 5 missions, he recommends refreshing the conversation.

Key Features

  • Quest/Mission structure — Plans broken into Quests > Missions > Tasks (2-3 max per mission)
  • Fresh context every time — New agents for each mission, no context accumulation
  • Auto mode--auto flag runs 5 missions in a row without stopping
  • Agent teams mode--teams flag uses peer-to-peer communication (Iris notifies Mike directly)
  • Debug escalation — If Iris or Mike fails 3 times, Jackson investigates with /hk-debug and deploys a correction agent
  • Codebase scan — Jackson scans existing code before creating a plan to avoid duplication
  • Interactive mode — Numbered choices everywhere, the creator never has to think alone
  • Brainstorming/hk-brainstorm for structured ideation with 15 techniques and 3 depth levels

Installation

npx hk-context-limit install

This copies the skills and agents to your global Claude Code configuration:

  • Skills → ~/.claude/skills/
  • Agents → ~/.claude/agents/

The installer also offers to install RTK (Rust Token Killer) — an optional CLI proxy that reduces token consumption by 60-90% on common dev commands. RTK compresses outputs from git, cargo, npm, docker, and 30+ other tools before they reach the AI context window, making sessions last longer and reducing costs. Auto-detected OS, fully optional. Learn more at rtk-ai.app.

Manual Installation

If you prefer manual setup, copy the files yourself:

# Skills
cp -r skills/hk-dev-and-review ~/.claude/skills/
cp -r skills/hk-agent-dev ~/.claude/skills/
cp -r skills/hk-agent-review ~/.claude/skills/
cp -r skills/hk-brainstorm ~/.claude/skills/
cp -r skills/hk-debug ~/.claude/skills/

# Agents
cp agents/iris.md ~/.claude/agents/
cp agents/mike.md ~/.claude/agents/

Usage

Dev & Review (main workflow)

/hk-dev-and-review                # Normal mode — subagents (sequential)
/hk-dev-and-review --auto         # Auto mode — subagents, 5 missions in a row
/hk-dev-and-review --teams        # Normal mode — agent teams (peer-to-peer)
/hk-dev-and-review --teams --auto # Auto mode — agent teams, 5 missions in a row

Jackson will:

  1. Look for a *-output/ folder with roadmap.md and *-status.yaml
  2. If found: offer to resume where you left off
  3. If not found: search for a plan in your codebase, or suggest brainstorming
  4. For each mission: deploy Iris (dev) → verify → deploy Mike (review) → verify → next

Subagent mode (default)

Jackson deploys Iris and Mike sequentially using the Agent tool. Each agent runs, returns a report, and is destroyed. Simple and stable.

Agent teams mode (--teams)

Jackson creates an agent team and spawns Iris and Mike as teammates. Iris codes, then notifies Mike AND Jackson via SendMessage. Mike reviews, then notifies Jackson. Fresh teammates are created for each mission.

Jackson creates team → spawns iris-1 + mike-1
  iris-1 codes → SendMessage → mike-1 (report) + Jackson (report)
  mike-1 reviews → SendMessage → Jackson (report)
  Jackson shuts down iris-1 + mike-1
  Jackson spawns iris-2 + mike-2 for next mission

Brainstorming

/hk-brainstorm                    # Standard depth
/hk-brainstorm --deep             # 3 techniques, 30-50 ideas
/hk-brainstorm --exhaustive       # 5 techniques, 100+ ideas

Debugging

/hk-debug <bug description>

The Team

| Agent | Model | Role | |-------|-------|------| | Jackson | Opus | Orchestrator — coordinates, never codes | | Iris | Sonnet | Developer — codes with tests, surgical precision | | Mike | Opus | Reviewer — 3 checkpoints, adversarial review, fixes directly |

Status Cycle

pending → in-progress → review → done

| Status | Meaning | Set by | |--------|---------|--------| | pending | Mission not started | Jackson | | in-progress | Iris is coding | Jackson (before deploying Iris) | | review | Code complete, awaiting review | Iris (after dev + tests) | | done | Review validated, all tests pass | Mike (after review + fixes) |

Project Structure

H.K-CONTEXT-LIMIT/
├── skills/
│   ├── hk-dev-and-review/            # Jackson orchestrator
│   │   ├── SKILL.md                  # Main skill + subagent mode
│   │   └── steps/teams-orchestration.md  # Agent teams mode
│   ├── hk-agent-dev/SKILL.md        # Iris dev workflow
│   ├── hk-agent-review/SKILL.md     # Mike review workflow
│   ├── hk-brainstorm/               # Brainstorming (Iris, 15 techniques)
│   │   ├── SKILL.md
│   │   └── steps/                   # 5-step brainstorm workflow
│   └── hk-debug/SKILL.md            # Systematic debugging (6 phases)
├── agents/
│   ├── iris.md                      # Dev agent (Sonnet)
│   └── mike.md                      # Review agent (Opus)
├── data/                            # Personalities, rules, templates
│   ├── global-rules.md              # 10 rules for all agents
│   ├── jackson-personality.md
│   ├── iris-personality.md
│   ├── mike-personality.md
│   ├── template-roadmap.md          # Quest/Mission plan template
│   └── template-status.yaml         # Status tracking template
└── CLAUDE.md                        # Project-level Claude Code config

Rules

The workflow enforces 10 non-negotiable rules (see data/global-rules.md):

  1. The creator always decides
  2. Understand before modifying
  3. Interactive mode with numbered choices
  4. 2-3 tasks maximum per mission
  5. Mandatory tests with code
  6. Save state after every action
  7. Each agent stays in their role
  8. 5 missions maximum per conversation
  9. Explicit transition between steps
  10. Sub-agents always fresh

License

MIT — see LICENSE

Original creator: Kevin Huynh