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 🙏

© 2025 – Pkg Stats / Ryan Hefner

agent-context-kit

v0.1.4

Published

Agent Context Kit (ACK): a lightweight Node.js CLI for capturing project context and collaborating with an LLM.

Downloads

29

Readme

Agent Context Kit (ACK)

A lightweight Node.js CLI that captures repository context and collaborates with an LLM to generate briefs, ADR proposals, and reminders.

  • Commands: init, capture, brief, diff, remind
  • Commands: init, capture, brief, diff, remind, context
  • Commands: init, capture, brief, diff, remind, context, features generate, snapshot, close, recall
  • Config via .ackrc.json and/or environment variables
  • Stores artifacts in .context/

Install (published)

Once published to npm as agent-context-kit:

npx agent-context-kit init

Global install

Install once globally to enable ack init directly:

npm i -g agent-context-kit
ack init

ack is exposed via the package bin:

ack capture
ack brief --notes "Focus on auth edge cases"

Configuration

Create .ackrc.json at your repo root (defaults shown):

{
  "llm": {
    "provider": "openai",
    "model": "gpt-5-mini",
    "apiKey": "${OPENAI_API_KEY}"
  },
  "paths": {
    "contextRoot": ".context",
    "prompts": ".context/prompts"
  }
}

You can set OPENAI_API_KEY in your environment or a .env file; dotenv is loaded automatically.

Project Structure

/ack/
  package.json
  tsconfig.json
  bin/
    ack.js
  src/
    cli.ts
    commands/
      init.ts
      capture.ts
      brief.ts
      diff.ts
      remind.ts
    utils/
      config.ts
      llmClient.ts
      fileOps.ts

Notes

  • The bin loader expects a compiled build at dist/cli.js. When installed from npm, running ack <command> invokes this compiled CLI.
  • The LLM client uses OpenAI when configured; otherwise it returns a stubbed response to keep workflows unblocked locally.
  • capture prefers git ls-files for inventory; falls back to a simple recursive scan.
  • init also creates a .ackrc.json in your repo root with placeholder keys you can customize.

Generate Feature Specs (LLM-assisted)

Ask ACK to propose features and draft specs in .context/features/<name>/spec.md:

# Dry run first (no files written)
ack features generate --dry-run --max 6

# Write specs inside .context/features, overwrite existing if needed
OPENAI_API_KEY=... ack features generate --max 6 --force

Specs follow this template: Title, Problem, Goals, Non-Goals, User Stories, Acceptance Criteria, Design Notes, Open Questions, Risks, Milestones.

Session Continuity: snapshot → close → recall

Lightweight journaling to retain context across days:

# Capture intent/deltas during work
ack snapshot --summary "Investigated auth token rotation" --note "review edge cases" --note "pair with Sam"

# At end of day, summarize into brief + next steps
ack close

# Next day, emit compact agent-ready context JSON
ack recall

Artifacts:

  • Snapshots JSON: .context/sessions/YYYY-MM-DD.json
  • Brief: .context/briefs/session-brief.md
  • Recall pack: .context/runtime/recall.json