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

@mrsametyildirim/athena

v0.2.0

Published

Athena — a token-thrifty knowledge engine for AI coding agents. Reads every file type (docx/xlsx/pptx/pdf/media/images), finds files across your PC, drives open browser tabs, and grows a linked memory graph. Obsidian + NotebookLM + Playwright in one CLI,

Readme

✦ Athena

A memory-keeping, knowledge-absorbing, self-growing engine

Obsidian + NotebookLM + Playwright — in one token-thrifty CLI, with zero external tools.

npm node license deps PRs welcome made for Claude Code

An AI agent's memory, eyes, and shield — all in one place.


🧠 What is Athena?

Athena is a knowledge engine that runs alongside an AI coding agent (built for Claude Code). It fuses the best of three powerful tools into one standalone CLI — depending on none of them, calling no cloud service, and burning almost no tokens:

| Need | Classic tool | Athena's answer | |---|---|---| | 🗂️ Persistent memory & knowledge graph | Obsidian (GUI, locked vault) | athena remember / recall / map — plain markdown, git-friendly, portable | | 📥 Turn documents into knowledge | NotebookLM (cloud, closed) | athena ingest — reads every file type offline, optional Claude summary | | 🌐 Browser verification | Playwright MCP (pays for your code twice) | athena sweep / check / shotone browser, one call, short output | | 🖥️ Drive your PC | scattered scripts | athena find (files) · athena tabs (live browser control) | | 🛡️ Security-hole hunting | separate SAST tools | athena audit — secret leaks + injection surfaces |

Why token-thrifty? Playwright MCP echoes the code you send back as output — the same code costs tokens twice. Athena returns only the result and walks every page in one browser. It scans a 100-page site in ~30 seconds with a single line of output.


⚡ Install

npm install -g @mrsametyildirim/athena
# For browser control (optional):
npm i -g playwright-core && npx playwright install chromium
# For media transcription (optional, no system ffmpeg/whisper needed):
npm i -g ffmpeg-static @xenova/transformers

Try it right away:

athena help
athena remember "my first note" --tag test --body "Athena works 🎉"
athena map

The bilge command is a built-in alias for athena.


🚀 60-second tour

# ── MEMORY — save, search, map knowledge ───────────────────────
athena remember "rolling-window quota" --type project --tag backend \
  --body "Quota resets per-user, 24h/30d after first use. Related → [[usage-periods]]"
athena recall "quota"
athena map                     # central notes · missing links · orphans
athena map --mermaid           # export the graph as a mermaid diagram

# ── INGEST — absorb ANY file into memory ───────────────────────
athena ingest report.docx      # Word, Excel, PowerPoint, PDF, CSV, code…
athena ingest data.xlsx --tag finance
athena ingest talk.mp4         # media → duration/codec metadata (no ffprobe needed)
athena transcribe talk.mp4 --remember   # local whisper transcript → memory
athena ingest NOTES.md --ai    # add a Claude summary if ANTHROPIC_API_KEY is set

# ── PC CONTROL — files & live browser ──────────────────────────
athena find "*.pdf" --in ~/Documents          # find by name
athena find "TODO" --content --ext js,ts      # find by content
athena tabs                                    # list open browser tabs
athena tabs --goto https://example.com --tab 0 # navigate a live tab
athena tabs --eval "document.title"            # run a task in a tab
athena tabs --text                             # read a tab's visible text

# ── BROWSER — verify without burning tokens ────────────────────
athena sweep                   # scan all .html pages in one browser
athena check index.html --get title=h1 --eval count="document.querySelectorAll('.card').length"
athena shot pages/app.html --sel ".hero" --out hero.png

# ── SECURITY — secret & vulnerability scan ─────────────────────
athena audit ./src            # service_role, private keys, SQL concat, innerHTML XSS…

📂 Reads every file — with no external tools

Athena unpacks Office files with Node's own zlib (no libraries) and falls back gracefully when a system tool is missing:

| Format | How | Needs anything? | |---|---|---| | .docx .pptx .xlsx | pure-JS ZIP + XML | no | | .txt .md .csv .json code/logs | direct | no | | .pdf | pdftotext if present, else in-stream text | optional poppler | | .mp4 .mp3 .wav … | pure-JS header parse (duration/codec); ffprobe if present | no for metadata | | transcription | ffmpeg-static + @xenova/transformers (whisper, local) | optional, via npm | | images | dimensions; tesseract OCR if present | optional |

Everything runs offline. Nothing is uploaded.


🌐 Live browser control (CDP)

athena tabs attaches to an already-open Chrome/Edge — it does not launch a throwaway browser — and lets an agent read, navigate, and drive real tabs:

athena tabs --launch          # opens Chrome with the debug port, once
athena tabs                   # [0] GitHub  ·  https://github.com/…
athena tabs --goto <url>      # navigate
athena tabs --eval "expr"     # run a task in the page
athena tabs --shot page.png   # screenshot

🗺️ Knowledge map — Obsidian's heart, no GUI

Athena reads the [[wiki-links]] between notes and builds a knowledge graph:

• 12 notes · 34 links

  ◆ Most central notes (knowledge hubs)
    supabase-backend-techniques     ← 6 links
    security-rules                  ← 4 links

  ✎ Missing links (knowledge to write)
    rolling-window-quota            × 3 refs → no note yet   ← write this next!

Missing links surface knowledge you keep referencing but haven't written yet — Athena maps your thinking and points at the gaps.


📦 Your vault — yours, portable, unlocked

Every note is a plain markdown file (~/.athena/vault/ or .athena/vault/ in a project):

---
name: rolling-window-quota
description: Quota resets per-user, not at month start
type: project
tags: [backend, quota]
created: 2026-08-08T12:00:00Z
---

# Rolling-window quota
Renews 24h/30d after first use. Related → [[usage-periods]]

Locked to no application: version it with git, open it in any editor, move it to any machine. The MEMORY.md index is rebuilt on every write.


🧩 Command summary

| Area | Commands | What | |---|---|---| | Memory | remember recall show list forget map | markdown knowledge + graph | | Ingest | ingest transcribe | any file → structured note (+--ai, +whisper) | | PC | find tabs | file search · live browser control | | Browser | sweep check eval shot login | token-efficient verification | | Security | audit | secret/vulnerability scan | | Learn | learn | a lasting lesson from a session |

athena help always prints the full list.


🌱 Philosophy

  • Independence: no cloud, no account, no closed format. Your data is yours.
  • Token thrift: every command returns the shortest useful output; no noise.
  • Self-growth: the more you use it, the deeper the memory layers, the richer the graph, the more visible the gaps. Athena is an engine that learns.
  • One file, one truth: knowledge lives in markdown — readable, searchable, versioned.

🤝 Contributing

PRs, ideas, and rule suggestions (especially for audit) are very welcome. A new language extractor, a graph visualizer, a vector-search plugin? Open an issue — let's talk.

⭐ If Athena helps you, leave a star — the more it's used, the more it learns.

MIT licensed · built with care, counting every token.