By KyleBastien
Code-quality grader for AI agents. Runs Sextant after edits, surfaces findings to the agent so it self-corrects, and optionally blocks turn-end on a RequestChanges verdict.
Use when the user wants to add a new Sextant rule, codify a code- review preference, or migrate a hand-grep into a permanent check. Covers the rule frontmatter schema, evaluator types, and where rule files live.
Use when the user asks for code-quality feedback, a code review, or a pre-commit check, or when interpreting Sextant findings/verdicts. Covers when to call `grade_diff` vs `grade_files`, how to read the report, and what severities mean.
Use when wrapping up a coding task and Sextant has surfaced findings. Describes the grade → fix → re-grade loop, how to budget passes, and when to stop trying.
Modifies files
Hook triggers on file write and edit operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Code-quality grader for AI-agent workflows. Deterministic rules and LLM judges, surfaced inside the agent loop and on every PR.
Sextant is a code-quality grader built for codebases where AI agents (Claude Code, Cursor, Copilot, …) write a real share of the code.
Imagine you want every diff — agent-written or human-written — to stay within your team's bar for file length, function length, complexity, duplication, test coverage, and whatever other house rules you have.
Usually you only find out a diff is over the line one of three ways:
All three are reactive. By the time the feedback lands, the agent's context is cold and the cleanup falls on you.
Sextant moves that feedback into the loop. The same grader runs in two places:
One .sextant/ config drives both. You customize:
approve to request_changes;If you're hand-reviewing every agent diff for the same handful of issues, or watching CI flag the same things over and over, Sextant is the loop you're missing.
grade_diff after each edit and
self-correct before finishing the turn.sextant-lsp powers a VS Code extension (and any
other LSP client) with live squiggles and hover-to-explain showing the
full rule body.sextant grade for human, JSON, markdown, or SARIF output.
Works offline once installed.Install the binaries (release archives, Homebrew tap pending, or from source):
cargo install --path crates/sextant-cli
cargo install --path crates/sextant-mcp
cargo install --path crates/sextant-lsp # editor integration
Bootstrap a config and grade your first repo:
cd your-repo
sextant init
sextant grade # whole-file mode
sextant grade --diff --base origin/main # only changed lines
sextant rules list # what rules are loaded
For full installation options (releases, brew, source) see Installation.
/plugin marketplace add kylebastien/sextant-mcp
/plugin install sextant@kylebastien/sextant-mcp
The plugin registers the MCP server, three skills, three slash commands, and three hooks that grade after every edit and before the agent ends its turn. Read the plugin guide for the details.
# .github/workflows/sextant.yml
name: Sextant
on:
pull_request:
permissions:
contents: read
pull-requests: write
npx claudepluginhub kylebastien/sextant-mcp --plugin sextantJS→TS migration syntax-equivalence checker. Verifies that .ts files on HEAD are behavior-preserving rewrites of .js files on the default branch. Surfaces findings to the agent so it self-corrects mid-migration.
20 SEO/GEO skills and 5 commands on one shared contract for keyword research, content creation, technical audits, schema markup, monitoring, quality gates, entity truth, and campaign memory.
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Modern R development skills for Claude Code - tidyverse patterns, rlang metaprogramming, Bayesian inference, performance optimization, and more
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development