
Writ
Install Writ when you need hybrid RAG rule retrieval over Neo4j plus hook-driven workflow gates that enforce project rules inside Claude Code.
Overview
Writ is a plugin marketplace for the Build phase that delivers hybrid Neo4j RAG rule retrieval and hook-based workflow enforcement for Claude Code.
What is this marketplace?
- One strict-mode tooling plugin (Writ v1.5.0, MIT) in the marketplace
- Hybrid RAG rule retrieval using a 5-stage pipeline over Neo4j
- Mode-based workflow gates via 30 hook scripts and a session state machine
- Tags include rag, rules, enforcement, hooks, neo4j, and workflow
- Combines retrieval of project rules with automated session enforcement
- Marketplace lists 1 plugin: writ at version 1.5.0
- Documented 5-stage hybrid RAG pipeline over Neo4j
- Documented 30 hook scripts plus session state machine for workflow gates
Community signal: 142 GitHub stars.
What problem does it solve?
Large repos bury rules in docs and CLAUDE.md fragments, so the agent drifts and you lack automated gates when modes or safety rules must hold.
Who is it for?
Advanced solo builders running strict Claude Code sessions who already use or can host Neo4j for project rule graphs.
Skip if: Quick prototypes without infra, teams unwilling to maintain Neo4j and thirty hook scripts, or low-friction chat-only coding.
What do I get? / Deliverables
After setup, Writ retrieves rules through its 5-stage RAG pipeline and enforces modes with hook scripts tied to session state.
- Writ marketplace plugin v1.5.0 with MIT license
- Retrievable project rules via hybrid RAG over Neo4j
- Mode-gated workflows enforced through hooks and session state
Plugins in this marketplace
1 plugin — install individually after you add the marketplace.
Recommended Marketplaces
Journey fit
Writ extends the agent runtime itself with retrieval and enforcement, which is core build-phase agent-tooling even though gates apply across the delivery cycle. agent-tooling is the canonical shelf for Neo4j-backed rule RAG, session state machines, and the 30 hook scripts that gate modes.
How it compares
RAG-plus-hooks enforcement platform plugin, not a simple formatter hook or generic productivity skill.
Common Questions / FAQ
Who is Writ for?
It is for developers who want Neo4j-backed rule retrieval and automated workflow gates inside Claude Code strict sessions.
When should I use Writ?
Use it when project rules are numerous or relational and you need mode gates enforced by hooks, not optional reminders.
How do I add Writ to my agent?
Add the infinri/Writ marketplace, install the Writ plugin v1.5.0, configure Neo4j for the 5-stage RAG pipeline, and enable the hook scripts and session state machine per the repository docs.