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
- kubb-react-queryplugin + npm
- nuqs-url-stateplugin + npm
- nuqs-table-url-stateplugin + npm
- shadcn-data-table-rhfplugin + npm
- shadcn-react-hook-form-formsplugin + npm
- config-lintplugin
- env-doctorplugin
plugin + npm: also published as @cogs/skill-<name>
Two things in one repo
- 01
Skills mined from production
Each Skill is a SKILL.md plus a metadata.json whose provenance abstract summarizes the production call sites it was mined from. They encode patterns, not generic framework advice.
- 02
The packages the skills describe
The skills point at real @cogs/* packages: the fetch-client and react-query Seams, the nuqs, react-hook-form and react-table helpers, and the config-lint CLI.
- 03
An auth, email and infra plane
Token verification and role resolution, new-device sign-in email, a signed Send service and Terraform for SES and Cloudflare, serving the workloom Site family and others.
From a production pattern to your prompt
- Step 1
Mine the pattern
A pattern is surveyed across real call sites in a shipped codebase. The Skill’s provenance abstract in
metadata.jsonrecords what was found, for example near-identical table filter hooks or a quote-wrapped secret that broke auth. - Step 2
Write the Skill
The
SKILL.mdfrontmatterdescriptionsays when the Skill applies. The body encodes the invariants, the anti-patterns and the@cogs/*package to use. - Step 3
Bundle it in the Plugin
.claude-plugin/marketplace.jsonlists every Skill directory. Installing thecogsPlugin in Claude Code makes all of them available at once. - 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. - Step 5
Publish the mirror
bin/sync-skill-content.mjsgenerates a Skill mirror inpackages/skill-<name>/. The release workflow runs Changesets and publishes the Published skills to npm with OIDC trusted publishing. - Step 6
Use the package it describes
The Skill tells Claude Code to use the real package, such as
@cogs/nuqsfor table URL state or@cogs/config’sconfig-lintCLI for env files, instead of hand-rolling it again.
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.