Skip to content
cogs
Menu

Claude Code plugin + @cogs/* packages

Claude Code skills mined from production, and the platform behind them

Install one plugin and 7 skills load when your prompt matches them: URL state, typed API layers from OpenAPI specs, editable data tables, forms and env-var hygiene. The @cogs/* packages they describe install from the public npm registry.

/plugin install cogs@cogs

The cogs plugin: 7 skills
  1. kubb-react-queryplugin + npm
  2. nuqs-url-stateplugin + npm
  3. nuqs-table-url-stateplugin + npm
  4. shadcn-data-table-rhfplugin + npm
  5. shadcn-react-hook-form-formsplugin + npm
  6. config-lintplugin
  7. env-doctorplugin

plugin + npm: also published as @cogs/skill-<name>

From a production pattern to your prompt

  1. Step 1

    Mine the pattern

    A pattern is surveyed across real call sites in a shipped codebase. The Skill’s provenance abstract in metadata.json records what was found, for example near-identical table filter hooks or a quote-wrapped secret that broke auth.

  2. Step 2

    Write the Skill

    The SKILL.md frontmatter description says when the Skill applies. The body encodes the invariants, the anti-patterns and the @cogs/* package to use.

  3. Step 3

    Bundle it in the Plugin

    .claude-plugin/marketplace.json lists every Skill directory. Installing the cogs Plugin in Claude Code makes all of them available at once.

  4. Step 4

    Load it on a matching prompt

    Claude Code reads each Skill’s description and loads the Skill when your prompt matches, for example asking for a paginated table with shareable URLs loads nuqs-table-url-state.

  5. Step 5

    Publish the mirror

    bin/sync-skill-content.mjs generates a Skill mirror in packages/skill-<name>/. The release workflow runs Changesets and publishes the Published skills to npm with OIDC trusted publishing.

  6. Step 6

    Use the package it describes

    The Skill tells Claude Code to use the real package, such as @cogs/nuqs for table URL state or @cogs/config’s config-lint CLI for env files, instead of hand-rolling it again.

The whole path →

Install the plugin or a package

The plugin installs from the catesworks/cogs marketplace in Claude Code; the published @cogs/* packages install from npm with no auth token. There is no hosted service and no account.