skillsaw covers skills, plugins, instruction files (CLAUDE.md,
AGENTS.md), hooks, and MCP configs. It checks their structure across every
major agent ecosystem, flags supply-chain risks, and reviews their content
against research and frontier-lab guidance. Safe fixes can be applied
automatically; everything else comes with guidance an agent can act on. See
the supported ecosystems.
Get started |
Browse the rules |
Read the documentation
See it work
Watch an AI agent grade, fix, and configure a repository from
scratch.

Try it
Paste this into your coding agent to onboard skillsaw now:
Read and follow the instructions at
https://raw.githubusercontent.com/stbenjam/skillsaw/refs/heads/main/skills/skillsaw-onboard/SKILL.md
to onboard this repo to skillsaw.
Or install the onboarding skill for regular use (recommended). Run this from
the repository you want to lint:
npx skills add stbenjam/skillsaw
Select skillsaw-onboard and your coding agent, then ask the agent to use
that skill to onboard the repo. See Onboard with AI
for plugin installation alternatives.
Or run it yourself. No installation is required with
uvx:
uvx skillsaw tree # See what skillsaw detects
uvx skillsaw # Lint the current repository
uvx skillsaw fix # Apply safe, deterministic fixes
uvx skillsaw baseline # Accept existing findings and fail only on new ones
What it catches
- Multi-ecosystem structure & compatibility: schema, frontmatter, and manifest validation for Agent Skills (
SKILL.md), Claude Code, OpenAI Codex (project config, plugins & marketplaces), Cursor plugins & marketplaces, Grok Build (project config, plugins & marketplaces), Z.ai ZCode (.zcode/ agents, commands, skills and config.json hooks & MCP, plugins & marketplaces), Google Antigravity (configuration in any customization root — .agents/, .agent/, _agents/, _agent/ — its rules/ and agents/ prose, plugins, hooks, MCP servers and registries), Agent Plugins (plugin.json, mcp.json, and the 1.1.0 portable hooks.json), GitHub Copilot & VS Code custom agents (.github/agents/), OpenCode configuration, Pi packages and project resources, native OpenClaw plugins (including optional theme and artwork declarations), APM packages, MCP server maps, and MCP Registry metadata.
- Content quality & token economy: research-backed rules detecting instruction drift across duplicate files, excessive instruction budgets, cognitive overload, section length violations, weak language, contradictions, and repetitive inline tool-call examples.
- Discovery & repository integrity: unreferenced bundled files, broken internal file references, inconsistent terminology, missing stop conditions, and stale baselines.
- Security & supply chain:
- Dangerous lifecycle hooks: blocks arbitrary remote code execution, download-and-execute (
curl | sh, wget | bash), and script obfuscation (eval) in hooks.json and settings.
- Prohibited & unvetted MCP servers: enforces strict MCP allowlists across root, plugin, and custom agent configurations.
- Prompt injection & stealth payloads: detects invisible Unicode (ASCII smuggling, zero-width tags, bidi overrides), high-entropy encoded payloads (base64/hex), and hidden instructions in comments and code fences.
- Environment & context security: flags dangerous environment overrides (
LD_PRELOAD, NODE_OPTIONS, PYTHONPATH), unallowlisted dynamic context injection, and embedded credentials.