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

cognitiveos

v0.10.7

Published

An AI-powered ICM filesystem scaffold for developers with ADHD. Never lose context between sessions.

Readme

cognitiveOS

Stop relearning your own project.

An AI-powered filesystem scaffold for developers with ADHD. Your AI agent loads your project state automatically — so you open your laptop and know exactly what to do, instead of spending 30 minutes remembering where you were.

Free. Open source. MIT. No servers, no accounts, no database — just markdown files on your machine.


Quick start

cd your-project
npx cognitiveos init     # answer 3 questions (< 60s)
cognitiveos start        # see where you left off

Open your AI agent and start working — it already knows your context.


What it does

init scaffolds an ICM filesystem — each folder is one cognitive mode:

your-project/
├── CLAUDE.md / AGENTS.md   ← routing table — your agent reads this automatically
├── STATE.md                ← persistent brain: focus, blockers, open loops, handoff
├── brain-dump/             ← capture everything, no filter
├── queue/                  ← what's next, already sorted
├── focus/                  ← the ONE thing right now (one task, enforced)
├── projects/               ← active work
├── ideas/                  ← captured, not committed
├── someday/                ← not now, not never
└── sessions/               ← auto-logged history

init also installs a cognitiveOS agent skill (SKILL.md for Claude Code / Codex / Antigravity, a .mdc rule for Cursor) — the operating manual your agent triggers automatically. It carries the zone routing, the one-task + ADHD response rules, and a silent work loop: read state → one action → update → re-read.

Your agent reads STATE.md at session start automatically. At session end it saves state back — and if it forgets, a deterministic Stop hook (Claude Code) reminds it before the day ends, and Mission Control flags a stale handoff instead of confidently showing old data. You never run a "save" command.

This is not a productivity system. It's a cognitive prosthetic. A productivity system asks you to maintain it. This maintains itself.


Commands

cognitiveos init     # one-time setup (3 questions)
cognitiveos start    # Mission Control — where you left off, in your terminal
cognitiveos dump "thought"   # capture anything, zero friction
cognitiveos check    # verify everything is wired correctly (--fix to repair)
cognitiveos install-skill    # install the global /cognitiveos skill (--agent claude|codex|antigravity|all)

Auto-load Mission Control (optional)

Show Mission Control every time you cd into the project.

zsh / bash (~/.zshrc or ~/.bashrc):

cd() { builtin cd "$@" && cognitiveos start 2>/dev/null; }

PowerShell ($PROFILE):

function cd { Set-Location @args; cognitiveos start 2>$null }

Loads itself at session start

For Claude Code and Antigravity, init wires a deterministic session hook so your agent loads STATE.md the moment a session opens — zero typing, can't be skipped. check verifies the wiring stays in place; check --fix restores it.

  • Claude Code.claude/settings.json (SessionStart + Stop — the Stop hook nudges the agent to save STATE.md once per working day, so the handoff never silently goes stale)
  • Antigravity.agents/hooks.json (PreInvocation)

If the hook ever misfires, nothing breaks — the agent skill still tells your agent to read STATE.md first thing.

Tip — make it instant & offline: the hook runs npx cognitiveos start --hook, which resolves a locally- or globally-installed copy before reaching the network. Install once so session-start never fetches and works offline:

npm i -g cognitiveos

Works with

| Agent | Skill / rule it loads | Session-start hook | |-------|------------------------|--------------------| | Claude Code | .claude/skills/cognitiveos/SKILL.md + cognitiveos-output/SKILL.md + slash hooks /start-session /end-session /dump | ✅ auto-loads STATE.md | | Codex CLI | .codex/skills/cognitiveos/SKILL.md + cognitiveos-output/SKILL.md (+ AGENTS.md) | — | | Antigravity | .agents/skills/cognitiveos/SKILL.md + cognitiveos-output/SKILL.md (+ AGENTS.md) | ✅ auto-loads STATE.md | | Cursor / Windsurf | .cursor/rules/cognitiveos.mdc + cognitiveos-output.mdc (+ AGENTS.md) | — |

init never overwrites or deletes your files — existing configs and skill files are kept and merged, not clobbered.


Why

ADHD brains can't hold working memory across sessions. That's not a discipline problem — it's executive dysfunction. The environment has to do the remembering. The filesystem, structured correctly, is that environment.

The bet: structure beats willpower.


Build from source

git clone https://github.com/Callmedas69/cognitive-OS.git
cd cognitive-OS
npm install
npm run build        # tsup → dist/cli.js
npm test             # vitest
node dist/cli.js --help

Contributing

Codex and Antigravity hook implementations are open community targets. Issues and PRs welcome.

License

MIT — 0xDas


"I opened my laptop and knew exactly what to do."

cognitiveos-output

cognitiveos-output is bundled with cognitiveOS and generated automatically during cognitiveos init. Project-local files are written to:

  • .claude/skills/cognitiveos-output/SKILL.md
  • .codex/skills/cognitiveos-output/SKILL.md
  • .agents/skills/cognitiveos-output/SKILL.md
  • .cursor/rules/cognitiveos-output.mdc

cognitiveos install-skill --agent <claude|codex|antigravity|all> installs both managed skills offline for Claude Code, Codex CLI, and Antigravity. Cursor remains project-local. The bundled rules credit Ayoub Ghriss's MIT-licensed i-have-adhd project; it is not an installation prerequisite.