Skip to content

stbenjam/skillsaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

802 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skillsaw logo

skillsaw

Keep your skills sharp.

A linter for the files that steer AI coding agents.

PyPI version PyPI Downloads Tests codecov License

Agent instructions behave like code, but most teams still review them like prose. skillsaw gives them a linter. It finds the structural errors and content problems that make agents less reliable: vague language, contradictions, buried priorities, repeated directives, hidden content, broken references, unsafe configuration, and more.

It understands Agent Skills, Claude Code plugins, CLAUDE.md, AGENTS.md, GEMINI.md, Cursor, Copilot, Kiro, hooks, agent configuration, and evals. Safe structural fixes can be applied automatically; everything else comes with precise, agent-friendly guidance.

Get started | Browse the rules | Read the documentation

See it work

Watch an AI agent grade, fix, and configure a repository from scratch.

Watch the skillsaw onboarding demo

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 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

  • Instruction quality: weak language, contradictions, tautologies, attention dead zones, missing stop conditions, and bloated context.
  • Structure and compatibility: invalid frontmatter, manifests, commands, skills, agents, hooks, marketplaces, and tool-specific configuration.
  • Security risks: embedded secrets, invisible Unicode, encoded payloads, hidden instructions, dangerous hooks, and prohibited MCP servers.
  • Repository drift: broken references, unreferenced files, inconsistent terminology, stale baselines, and context-budget regressions.

skillsaw detects the repository type automatically and can lint multiple types in the same project. See supported repository types and the complete rule reference for details.

Built for real workflows

skillsaw works locally, in CI, and inside coding-agent workflows. It provides line-level findings, explanations for every rule, deterministic autofixes, baselines for gradual adoption, GitHub and GitLab integration, and text, JSON, SARIF, HTML, and Code Climate output. Rules are configurable, and projects can add local rules or install rule plugins.

Goal Documentation
Install and run skillsaw Getting Started
Tune rules and exclusions Configuration
Adopt it without fixing everything at once Baselines
Add checks to pull requests CI Integration
Understand and apply fixes Autofixing
Create project-specific checks Custom Rules
Publish reusable rule packages Rule Plugins
Review the security model Supply Chain Protection
Look up commands and flags CLI Reference

Measure the result

Every run produces a letter grade based on weighted violation density. The same data can be rendered as a self-contained report card for a README or project dashboard.

skillsaw report card

skillsaw's own report card, generated with skillsaw badge --large.

Learn how to generate a grade badge and report card for your project.

Contributing

Contributions are welcome. See CONTRIBUTING.md for the project guidelines and DEVELOPMENT.md for the local setup.

Questions and bug reports belong in GitHub Issues. skillsaw is licensed under the Apache License 2.0.

About

Keep your skills sharp. Intelligence for agent context.

Resources

License

Contributing

Stars

43 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors

Languages