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

@cotctl/cli

v0.2.2

Published

CLI para la plataforma Cotalker

Readme

cotctl

CLI para la plataforma Cotalker

npm version Node.js >= 22 TypeScript

Features

  • Gestión declarativa de recursos — crea, actualiza y exporta surveys via archivos YAML, similar a kubectl
  • Autenticación OAuth con soporte multi-perfil para múltiples entornos
  • Validación local de archivos YAML antes de aplicar cambios
  • Export e import de recursos existentes como YAML o JSON
  • Claude Code Skills — instala herramientas de IA para trabajar con Cotalker en tu editor
  • MCP Server — conecta Claude Code con documentación técnica actualizada de Cotalker

Requisitos

  • Node.js >= 18 (solo para la instalación via npm — el binario es standalone)

Instalación

npm install -g @cotctl/cli

Verificar instalación

cotctl --version

Quick Start

# 1. Autenticarse contra un entorno
cotctl login --url https://mycompany.cotalker.com

# 2. Ver perfil activo
cotctl profile list

# 3. Exportar surveys existentes
cotctl export surveys -o ./surveys/

# 4. Validar un archivo local
cotctl validate -f ./surveys/my-survey.yaml

# 5. Aplicar cambios al entorno
cotctl apply -f ./surveys/my-survey.yaml

Comandos

| Comando | Descripción | |---------|-------------| | cotctl login | Autenticarse y guardar un perfil de entorno | | cotctl logout [profile] | Cerrar sesión y eliminar un perfil | | cotctl profile | Listar, ver y gestionar perfiles guardados | | cotctl get surveys | Listar surveys del entorno | | cotctl export surveys | Exportar surveys como YAML o JSON | | cotctl validate -f <file> | Validar un archivo YAML localmente | | cotctl apply -f <file> | Crear o actualizar un recurso desde YAML | | cotctl skills | Gestionar Claude Code Skills |

Para ayuda detallada de cualquier comando:

cotctl <command> --help

Autenticación

cotctl usa OAuth para autenticarse contra entornos Cotalker. El flow abre el navegador para completar el login:

cotctl login --url https://mycompany.cotalker.com

Para entornos sin navegador (CI/CD), usa --no-browser:

cotctl login --url https://mycompany.cotalker.com --no-browser

Multi-perfil

cotctl soporta múltiples perfiles para trabajar con distintos entornos:

# Usar un perfil específico en cualquier comando
cotctl get surveys --company staging

# Ver todos los perfiles guardados
cotctl profile list

Los perfiles se guardan en ~/.cotctl/config.json.

Claude Code Skills

cotctl incluye Skills para Claude Code que instalan herramientas y conocimiento especializado de Cotalker directamente en tu editor.

Skills disponibles

| Skill | Descripción | |-------|-------------| | cotctl-survey | Crear y modificar YAMLs de surveys vía cotctl | | cotctl-apply | Aplicar recursos YAML a entornos Cotalker | | cotctl-export | Exportar y consultar recursos desde Cotalker | | cotalker-docs | Conocimiento general de la plataforma Cotalker |

Gestión de skills

# Listar skills disponibles
cotctl skills list

# Instalar (selector interactivo)
cotctl skills install

# Instalar uno específico globalmente
cotctl skills install cotctl-survey --global

# Desinstalar
cotctl skills uninstall cotctl-survey --global

MCP Server

cotctl puede configurar la conexión con el servidor MCP de Cotalker RAG, que permite a Claude Code acceder a documentación técnica actualizada de la plataforma.

La conexión MCP se configura automáticamente al instalar un skill (a menos que uses --no-mcp).

Agrega a ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "cotalker-rag": {
      "type": "http",
      "url": "https://llm.cotalker.com/mcp"
    }
  }
}

Agrega a .mcp.json en la raíz de tu proyecto (scope local) o ~/.claude/settings.json (scope global):

{
  "mcpServers": {
    "cotalker-rag": {
      "type": "http",
      "url": "https://llm.cotalker.com/mcp"
    }
  }
}

O usa cotctl directamente:

# Scope global
cotctl skills configure-mcp --global

# Scope local (proyecto actual)
cotctl skills configure-mcp --local

Documentación

Para documentación detallada de cada comando:

cotctl <command> --help

Para instalar skills con documentación integrada para Claude Code:

cotctl skills install