Claude cowork lint
Skill yaniv-golan/claude-cowork-lint/skills/claude-cowork-lint
Validate the current Claude skill/plugin/agent repo against the Claude Cowork runtime contract. Use when the user asks to "lint my skill", "check my plugin for Cowork issues", "why isn't my agent working in Cowork", or mentions tools being filtered/stripped. Triggers: cwlint, claude-cowork-lint, cowork contract, sub-agent tool filter, host-loop excluded builtins, plugin hooks not firing, disable-model-invocation. <!-- cwlint: ignore CW003 reason="trigger-phrase docstring, not a runtime reference" --> Also fires on the bare `$CLAUDE_PLUGIN_ROOT` form (CW003). Requires the `claude-cowork-lint` (or `cwlint`) binary on PATH — `npm i -g claude-cowork-lint`.From its SKILL.md
npx -y skills add yaniv-golan/claude-cowork-lint --skill claude-cowork-lintAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, as published. Nobody here has run it
claude-cowork-lint skill
Use this skill to drive the claude-cowork-lint CLI from inside Claude
Code/Cowork.
When to invoke
- The user asks to "lint my skill", "check my plugin", "validate my agent", "is this Cowork-safe?".
- The user pastes an error along the lines of "Bash isn't in my agent's tools" or "my plugin's hooks aren't firing".
- The user mentions runtime symbols like
Ys_,LW8,MGn, or talks about Cowork's tool filters.
Steps
-
Confirm the binary is on PATH:
command -v claude-cowork-lint || command -v cwlintIf neither is found, suggest
npm i -g claude-cowork-lint(Node 20+). -
Run the checker on the current repo:
claude-cowork-lint check . --format jsonUse
--format jsonso you can parse findings programmatically; render summary back to the user in plain prose. -
For each finding, look up the rule in
docs/RULES.md(in the project's GitHub repo) and explain the fix. -
Offer to suppress (with a reason) if the user has a legitimate reason to keep the offending pattern.
Notes
- This skill runs inside Claude Code/Cowork; the CLI itself is a host-side process. The skill does NOT need any sub-agent dispatch.
- The
claude-cowork-lintCLI is read-only — never mutates the user's repo.