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

agent-aware

v1.0.0

Published

One command to make your Claude Code agents self-aware. Installs the meta-principle protocol + two skills.

Readme

agent-aware

One command to make your Claude Code agents self-aware.

npx agent-aware

That's it.


What it does

Installs two skills to ~/.claude/skills/ and injects the self-awareness protocol into your CLAUDE.md.

The Meta-Principle:

An agent that understands its own token budget is an agent that never gets stuck.

Instead of running into context limits unexpectedly, it:

  1. Estimates before starting
  2. Checkpoints proactively
  3. Spawns subagents when the task is too large
  4. Reports progress in terms humans can understand: "I'm at 60% context, 40% task complete, spawning 2 subagents for the remaining work"

This is what separates agents that can run autonomously for hours from agents that silently degrade and fail.


Skills installed

/agent-self-awareness

The operational implementation of the meta-principle.

  • Self-inventory (4 questions before any task)
  • Tool capability table
  • Token budget routing table
  • Delegation rules (when to subagent vs do yourself)
  • 3 verification levels (self / independent / adversarial)
  • Assumption audit checklist
  • Self-check loop (every ~15 tool calls)
  • When to stop and ask the human

/agent-orchestration-guide

Complete reference for parallel execution in Claude Code.

  • Quick pick table (7 primitives: Subagent, Fork, Workflow, /batch, Agent View, Teams, Routine)
  • What subagents inherit vs don't
  • All 17 subagent frontmatter fields
  • How to steer a running subagent mid-task
  • How to read subagent JSONL transcripts
  • 5 swarm patterns with full code (fan-out, pipeline, adversarial verify, loop-until-dry, budget-aware)
  • Hard limits table

/claude-power

The native capabilities most people never discover.

  • /fork — full parent context in a worker (most underused command)
  • Subagent definition files with all 17 frontmatter fields
  • Model routing — haiku for search, opus for architecture (stop wasting tokens)
  • Effort levels — extended thinking control (low / high / xhigh / max)
  • Permission modes — stop clicking "yes" on every edit
  • Background agents + fire-and-forget with initialPrompt
  • Worktrees — isolated parallel builds, .worktreeinclude for secrets
  • Session resume — pick up any session days later
  • Hooks — run code on PreToolUse, PostToolUse, SubagentStart, SubagentStop, Stop
  • Memory system — user / project / local persistence scopes
  • Routines — scheduled agents, no human trigger needed
  • /batch — mechanical multi-file refactors
  • Agent View — coordinate multiple sessions
  • Reading subagent JSONL transcripts live
  • MCP servers scoped to specific agents
  • ScheduleWakeup — self-pacing loops with cache-aware delays
  • SendMessage — steer a running agent mid-task
  • Computer use — screen control, mouse, keyboard
  • The settings file — full control surface
  • The 5-level CLAUDE.md hierarchy

Usage

# Install in the current project
cd your-project
npx agent-aware

After running:

  • ~/.claude/skills/agent-self-awareness/ — available in all Claude Code sessions on this machine
  • ~/.claude/skills/agent-orchestration-guide/ — same
  • CLAUDE.md — the self-awareness protocol block injected (or created)

Then in any Claude Code session:

/agent-self-awareness
/agent-orchestration-guide

What gets added to CLAUDE.md

A self-contained block with the meta-principle, token budget routing table, self-check loop, and assumption audit. Idempotent — running npx agent-aware again won't duplicate it.


License

MIT — Walid Boulanouar / AY Automate