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

@skene/skene

v1.0.0

Published

Skene Growth Stack - One package, IDE-integrated, intelligence-enhanced. Install once, configure in your IDE, subscription adds intelligence value.

Readme

skene

The complete Skene stack - All 8 layers for deterministic AI orchestration and PLG.

What is Skene?

Skene is an open-source framework for building deterministic AI-powered applications with product-led growth features built-in. Unlike traditional AI frameworks that produce unpredictable results, Skene guarantees:

Deterministic execution - Same input = same output, every time ✅ Full auditability - Immutable audit trail with hash-chain verification ✅ Human-in-the-loop - Pause flows for human approval ✅ Multi-tenant ready - Built-in tenant isolation ✅ PLG-native - Billing, gamification, lifecycle tracking out-of-the-box ✅ MCP-compatible - Standard Model Context Protocol integration

Installation

Install the complete stack:

npm install skene

Or install individual layers:

npm install @skene/foundation  # Layers 1-2: Core
npm install @skene/tools        # Layers 3-4: AI & Skills
npm install @skene/orchestration # Layer 5: Execution
npm install @skene/product      # Layers 6-7: PLG Features
npm install @skene/ui           # Layer 8: Smart Components

For codebase scanning (Layer 0):

npm install -g skene-growth
skene scan  # Generate growth manifest

Quick Start

import {
  StateMachine,
  FlowRunner,
  KeywordClassifier,
  BillingGateway,
  SmartEditor
} from 'skene';

// 1. Set up state machine (deterministic flows)
const machine = new StateMachine({
  initialState: 'draft',
  states: {
    draft: { allowedTools: ['edit', 'save'] },
    review: { allowedTools: ['approve', 'reject'] },
    published: { allowedTools: ['view'] }
  },
  transitions: [
    { from: 'draft', to: 'review', event: 'submit' },
    { from: 'review', to: 'published', event: 'approve' },
    { from: 'review', to: 'draft', event: 'reject' }
  ]
});

// 2. Add AI intent classification
const classifier = new KeywordClassifier({
  intents: [
    { id: 'edit_document', patterns: ['edit', 'modify', 'change'] },
    { id: 'publish', patterns: ['publish', 'share', 'release'] }
  ]
});

// 3. Execute flows with human-in-the-loop
const runner = new FlowRunner({
  stateMachine: machine,
  breakpoints: [
    {
      condition: (ctx) => ctx.needsApproval,
      handler: async (ctx) => await waitForApproval(ctx)
    }
  ]
});

await runner.execute({
  steps: [
    { action: 'edit_document', params: { content: '...' } },
    { action: 'submit_for_review' },
    // Flow pauses here for human approval
    { action: 'publish' }
  ]
});

// 4. Add PLG features
const billing = new BillingGateway({
  provider: 'stripe',
  apiKey: process.env.STRIPE_API_KEY
});

await billing.createSubscription({
  customerId: 'cus_123',
  planId: 'plan_pro'
});

// 5. Add smart UI
const editor = new SmartEditor({
  element: document.querySelector('#editor'),
  mode: 'document',
  aiAssistance: {
    enabled: true,
    provider: 'anthropic',
    model: 'claude-3-opus'
  }
});

Architecture: 8 Layers

Layer 0: Context Architecture

Package: skene-growth (separate CLI)

Scan your codebase to generate a growth manifest:

skene scan
# Outputs: growth-manifest.json

Identifies:

  • Tech stack and patterns
  • Growth opportunities (GTM gaps)
  • Integration suggestions

Layers 1-2: Foundation

Package: @skene/foundation

The bedrock of deterministic AI:

  • State Machine - Deterministic state transitions
  • Audit Trail - Immutable event log with hash-chain
  • Config Loader - Type-safe configuration
  • Tenant Context - Multi-tenant isolation

Layers 3-4: Intent & Skills

Package: @skene/tools

AI-powered understanding and action:

  • Intent Classifier - Classify user requests
  • Objective Router - Route to appropriate handlers
  • Skill Registry - Register and discover capabilities
  • Tool Permissions - State-based access control

Layer 5: Orchestration

Package: @skene/orchestration

Execute complex flows:

  • Flow Runner - Multi-step flow execution
  • Breakpoint - Human-in-the-loop pausing
  • Sidecar Daemon - Background processing
  • MCP Client/Server - Model Context Protocol integration

Layers 6-7: Product Infrastructure

Package: @skene/product

Product-led growth features:

  • Billing Gateway - Stripe, Paddle integration
  • Gamification - XP, levels, achievements
  • Lifecycle Tracker - User stage monitoring
  • Trigger Engine - Behavioral automation

Layer 8: AI & UX

Package: @skene/ui

Smart user interfaces:

  • Smart Editor - Tiptap + AI assistance
  • Adaptive Renderer - Platform-agnostic UI
  • RAG Pipeline - Retrieval-Augmented Generation
  • Audit Visualizer - Timeline with hash verification

Use Cases

AI Agents

// Deterministic AI agent with full audit trail
const agent = new FlowRunner({ stateMachine });
await agent.execute(taskFlow);

SaaS Products

// Complete PLG infrastructure
import { BillingGateway, Gamification, LifecycleTracker } from 'skene';

Workflow Automation

// Multi-step workflows with HITL approval
const workflow = new FlowRunner({
  breakpoints: [approvalBreakpoint]
});

Multi-Tenant Apps

// Built-in tenant isolation
const context = new TenantContext({ tenantId: 'acme-corp' });

Why Skene?

Compared to LangChain/LlamaIndex:

  • ✅ Deterministic (no randomness in execution)
  • ✅ Auditable (immutable event history)
  • ✅ Multi-tenant (built-in isolation)
  • ✅ HITL (human approval workflows)

Compared to Temporal/Inngest:

  • ✅ AI-native (intent classification, RAG, smart UI)
  • ✅ PLG-native (billing, gamification, lifecycle)
  • ✅ Lighter weight (no separate infrastructure)

Compared to building from scratch:

  • ✅ 10x faster (pre-built components)
  • ✅ Battle-tested (production-ready patterns)
  • ✅ Open source (MIT license, no lock-in)

Examples

See examples directory:

  • todo-app-with-skene - Simple state machine + audit trail
  • saas-billing-starter - Complete SaaS template
  • ai-email-assistant - Email automation with HITL
  • workflow-orchestrator - Multi-step business processes

Documentation

Community

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

MIT © Skene Technologies

Open source, commercial-friendly, no restrictions.

Roadmap

  • ✅ v1.0: Core 8-layer architecture (current)
  • 🔜 v1.1: VS Code extension, more integrations
  • 🔜 v1.2: Real-time collaboration, WebSocket support
  • 🔜 v2.0: Distributed orchestration, multi-region

Built with ❤️ by Skene Technologies