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

@semacode/cli

v1.5.28

Published

Semantic governance CLI for AI agents: contracts, drift, impact, documentation gates, and Sema profiles for live systems.

Readme

@semacode/cli

English

@semacode/cli is the public Sema command-line package published on npm.

It validates .sema contracts, checks semantic drift against live code, maps impact, prepares AI-first context, enforces documentation gates, and validates the official Sema profiles: Software, Workflow/Ops, Author, Game, Legal, and Research.

Current public version: 1.5.28.

Install

npm install -g @semacode/cli
sema --version
sema doctor

Core Flow

sema iniciar
sema validar contratos/pedidos.sema --json
sema drift contratos/pedidos.sema --escopo modulo --json
sema impacto contratos/pedidos.sema --alvo pedido_id --mudanca "replace pedido_id with pedido_uuid" --json
sema docs-impacto --intencao "alterar pedidos" --arquivo contratos/pedidos.sema --json
sema finalizar-mudanca --intencao "alterar pedidos" --doc-lida README.md --json

MCP Client Key

printf '%s' 'sema_mcp_...' | sema mcp-instalar-chave --stdin --json

The command stores the commercial MCP key in the local user environment as SEMA_MCP_AUTH_TOKEN without receiving the secret as a CLI argument.

Common Commands

  • sema validar <arquivo-ou-pasta> --json
  • sema drift <arquivo-ou-pasta> --json
  • sema resumo <arquivo-ou-pasta> --micro --para onboarding
  • sema contexto-ia <arquivo.sema> --saida <diretorio> --json
  • sema author briefing <arquivo.sema> --json
  • sema author revisar-cliches <arquivo.sema> --texto <texto> --json
  • sema author validar-narrativa <arquivo.sema> --texto <texto> [--texto-anterior <texto>] --json
  • sema profile validar <software|workflow|ops|game|legal|research> <arquivo.sema> --json

Português

@semacode/cli é o pacote público de linha de comando da Sema publicado no npm.

Ele valida contratos .sema, verifica drift semântico contra código vivo, mapeia impacto, prepara contexto IA-first, aplica gates de documentação e valida os profiles oficiais da Sema: Software, Workflow/Ops, Author, Game, Legal e Research.

Versão pública atual: 1.5.28.

Instalar

npm install -g @semacode/cli
sema --version
sema doctor

Fluxo Central

sema iniciar
sema validar contratos/pedidos.sema --json
sema drift contratos/pedidos.sema --escopo modulo --json
sema impacto contratos/pedidos.sema --alvo pedido_id --mudanca "trocar pedido_id por pedido_uuid" --json
sema docs-impacto --intencao "alterar pedidos" --arquivo contratos/pedidos.sema --json
sema finalizar-mudanca --intencao "alterar pedidos" --doc-lida README.md --json

Chave MCP Do Cliente

printf '%s' 'sema_mcp_...' | sema mcp-instalar-chave --stdin --json

O comando grava a chave MCP comercial no ambiente local do usuário como SEMA_MCP_AUTH_TOKEN, sem receber o segredo como argumento da CLI.

Comandos Comuns

  • sema validar <arquivo-ou-pasta> --json
  • sema drift <arquivo-ou-pasta> --json
  • sema resumo <arquivo-ou-pasta> --micro --para onboarding
  • sema contexto-ia <arquivo.sema> --saida <diretorio> --json
  • sema author briefing <arquivo.sema> --json
  • sema author revisar-cliches <arquivo.sema> --texto <texto> --json
  • sema author validar-narrativa <arquivo.sema> --texto <texto> [--texto-anterior <texto>] --json
  • sema profile validar <software|workflow|ops|game|legal|research> <arquivo.sema> --json

Español

@semacode/cli es el paquete público de línea de comando de Sema publicado en npm.

Valida contratos .sema, verifica drift semántico contra código vivo, mapea impacto, prepara contexto IA-first, aplica gates de documentación y valida los profiles oficiales de Sema: Software, Workflow/Ops, Author, Game, Legal y Research.

Versión pública actual: 1.5.28.

Instalar

npm install -g @semacode/cli
sema --version
sema doctor

Flujo Central

sema iniciar
sema validar contratos/pedidos.sema --json
sema drift contratos/pedidos.sema --escopo modulo --json
sema impacto contratos/pedidos.sema --alvo pedido_id --mudanca "cambiar pedido_id por pedido_uuid" --json
sema docs-impacto --intencao "alterar pedidos" --arquivo contratos/pedidos.sema --json
sema finalizar-mudanca --intencao "alterar pedidos" --doc-lida README.md --json

Clave MCP Del Cliente

printf '%s' 'sema_mcp_...' | sema mcp-instalar-chave --stdin --json

El comando guarda la clave MCP comercial en el entorno local del usuario como SEMA_MCP_AUTH_TOKEN, sin recibir el secreto como argumento de la CLI.

Comandos Comunes

  • sema validar <arquivo-ou-pasta> --json
  • sema drift <arquivo-ou-pasta> --json
  • sema resumo <arquivo-ou-pasta> --micro --para onboarding
  • sema contexto-ia <arquivo.sema> --saida <diretorio> --json
  • sema author briefing <arquivo.sema> --json
  • sema author revisar-cliches <arquivo.sema> --texto <texto> --json
  • sema author validar-narrativa <arquivo.sema> --texto <texto> [--texto-anterior <texto>] --json
  • sema profile validar <software|workflow|ops|game|legal|research> <arquivo.sema> --json

Links