By kylesiwi
Graph context, cerebrum, bug history, token ledger, cross-session continuity via hook side-effects.
Log a bug fix to .sextant/bugs.json.
Search .sextant/bugs.json for prior bugs by file (optionally by symbol).
Audit every cerebrum rule — format, scope, channel-fit, staleness — against the rule model, and recommend concrete fixes.
Generate a self-contained HTML viewer for the cerebrum (rules, bugs, settings, archive).
Scan for conflicts with predecessor plugins (OpenWolf, Graphify, bridge) and other hook collisions.
Structures a bug fix from diff + test output into a buglog entry.
Periodic cerebrum hygiene — detect contradictions, suggest demotions/promotions. Invoked by /sextant:review.
(Post-v1 / Phase 13) LLM extraction pass for richer graph edges.
Move a tranche through its lifecycle — STUB to READY to IN-FLIGHT to SHIPPED. Validates prerequisites at each transition.
Start an amendment workflow to modify frozen charter, shipped scope files, or update the spec. Unlocks deny gates temporarily.
Raise, resolve, or list carry-forward concerns — feature-global unknowns that outlive the tranche that found them and must be consumed by a later tranche. Blocks finalize until resolved.
Start a new feature plan with charter, spec, and tranche documents. Use when beginning a multi-tranche development effort, a tranche sprint, or any "tranches feat". Contains the complete charter/spec/tranche templates and conventions — invoke this instead of copying an existing feature; no prior tranche or example is required, including the very first feature in a repo.
Show current tranche workflow status — active feature, tranche statuses, verification gate progress, and doc paths.
Matches all tools
Hooks run on every tool call, not just specific ones
Executes bash commands
Hook triggers when Bash tool is used
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.
Modifies files
Hook triggers on file write and edit operations
Modifies files
Hook triggers on file write and edit operations
A per-project memory framework for Claude Code that injects the right rules and context at the moment the agent acts — by reading and writing through every one of Claude Code's hooks, not by hoping the model remembers.
Sextant is a per-project memory framework that deterministically feeds an agent the rules and context that apply to whatever it's about to do. Any time the agent reads a file, edits one, runs a command, or submits a prompt, Sextant has already run — it looks at what's happening, finds the rules and graph context that match, and injects them straight into the agent's context window for that step.
Claude Code already ships a memory system: CLAUDE.md files that load at the start of a session. They're useful, and Sextant doesn't replace them. But Claude Code's own docs are blunt about what CLAUDE.md is — "Claude treats them as context, not enforced configuration. To block an action regardless of what Claude decides, use a PreToolUse hook instead." A long session drifts. The instruction you wrote at the top of CLAUDE.md is a thousand messages back by the time it matters, and the model can quietly deprioritize or ignore it.
Sextant lives entirely on that hook layer the docs point to. Instead of one big file loaded once and slowly forgotten, rules are attached to the things they're about — a specific file, a topic, a keyword — and delivered when that thing comes up. A rule about lib/auth.ts shows up the moment the agent opens lib/auth.ts. A safety rule about cookies can refuse to let an edit through until you've approved it. The point isn't more context; it's context that arrives on time and, where it matters, context the agent can't skip.
It also keeps a small amount of project knowledge that compounds over time: an AST graph of how your files connect, a log of bugs you've fixed, and a rule store the agent can add to as it learns. For larger pieces of work, Sextant includes a lightweight planning workflow — tranches — that keeps a feature's charter, spec, and live progress notes in sync as the agent builds (more on that below).
Everything lives under .sextant/ in your project. It's per-project by design: the rules for this repo don't leak into the next one.
This started as a personal annoyance. Claude kept not knowing things it should have known — that this file has a non-obvious constraint, that this workflow has a step you can't skip, that this directory is load-bearing in a way that isn't visible from the code. The obvious fix is to write it down in a markdown file. That doesn't really work. The agent reads the file once, then forgets it as the session fills up, or reads it and decides not to follow it. Plain instructions are suggestions, and over a long session, suggestions lose.
So Sextant takes a more stubborn approach. Rules get injected at the exact step they apply to, and some actions are blocked until the agent does them right — a malformed rule can't end the turn, an edit to a protected file is denied, a safety-critical change pauses for approval. It's the difference between leaving a sticky note and putting a gate on the door.
The tranche workflow came later, out of using the plugin on real work. It's a lighter alternative to heavier planning systems (like the superpowers plugin), shaped around how an agent actually moves through a feature:
Mostly, yes — and that's the design goal. The hooks do their job on every turn without you typing anything:
npx claudepluginhub kylesiwi/sextant --plugin sextantMulti-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Memory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.