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

@lythos/project-cortex

v0.9.1

Published

Project governance CLI — tasks, epics, ADRs, wiki indexing

Readme

@lythos/project-cortex

GTD-style project governance for AI agent workflows. ADR, Epic, Task, Wiki — timestamp-ID based, machine-parseable, CLI-driven.

Why

AI agents excel at execution but have no memory across sessions. project-cortex brings structured project governance to agent-driven development:

  • Epic (WHY): Why a feature exists. Requirement origin.
  • ADR (HOW): How technical decisions were made.
  • Task (WHAT): Specific executable work.
  • Wiki: Reusable knowledge after tasks succeed.

All documents use timestamp IDs (e.g., TASK-20250420120000000) — collision-free, self-sorting, no central database.

Install

bun add -d @lythos/project-cortex
# or use directly
bunx @lythos/project-cortex <command>

Quick Start

# Initialize cortex directories
bunx @lythos/project-cortex init

# Create governance documents
bunx @lythos/project-cortex task "Fix login bug"
bunx @lythos/project-cortex epic "User auth system"
bunx @lythos/project-cortex adr "Choose database"

# Maintenance
bunx @lythos/project-cortex index   # Regenerate INDEX.md
bunx @lythos/project-cortex probe   # Check status consistency
bunx @lythos/project-cortex list    # List all tasks and epics

Commands

📋 lythoskill-project-cortex — Project management CLI

Commands:
  init                  Initialize cortex workflow directories
  task "<title>"        Create a new Task
  epic "<title>"        Create a new Epic
  adr "<title>"         Create a new ADR
  list                  List all tasks and epics
  stats                 Show project statistics
  next-id               Display timestamp ID format example
  index                 Generate INDEX.md and wiki/INDEX.md
  index wiki            Generate wiki/INDEX.md only
  probe                 Check status consistency (dir vs Status History)

Commit-Driven Governance

Cortex state transitions are triggered by git trailers in commit messages. The .husky/post-commit hook parses trailers and auto-creates follow-up commits with the state changes.

# Close a task from any status
git commit -m "feat(api): add endpoint

Closes: TASK-20260503010227902"

# Accept an ADR
git commit -m "docs(adr): accept database choice

ADR: ADR-20260503003315478 accept"

# Mark an epic as done
git commit -m "feat(cortex): finish dual-lane implementation

Epic: EPIC-20260503010218940 done"

The .husky/pre-commit hook prints a soft reminder when you have in-progress tasks, so you don't forget to add a trailer.

Epic Dual-Track

Epics use dual-track lanes to enforce focus:

  • lane: main — Current iteration focus. Max 1 active epic. This is your "Workflowy zoom-in" — everything else is background noise.
  • lane: emergency — Unavoidable urgent insert. Max 1 active epic. For genuinely blocking issues that cannot wait.
# Create a focused epic (will reject if main lane is full)
bunx @lythos/project-cortex epic "User auth system" --lane main

# Override with reason (recorded in frontmatter)
bunx @lythos/project-cortex epic "Hotfix login" --lane main --override "security incident"

Run bunx @lythos/project-cortex probe to check lane occupancy and catch drift.

Skill Documentation

This package is the Starter layer (CLI implementation).
The agent-visible Skill layer documentation is here:
packages/lythoskill-project-cortex/skill/SKILL.md

Architecture

Part of the lythoskill ecosystem — the thin-skill pattern separates heavy logic (this npm package) from lightweight agent instructions (SKILL.md).

Starter (this package) → npm publish → bunx @lythos/project-cortex ...
Skill   (packages/<name>/skill/)     → build → SKILL.md + thin scripts
Output  (skills/<name>/)             → git commit → agent-visible skill

License

MIT