Install in one command
npx skills add udaysharmadev/Not-Ai
Works with Claude Code, Codex, Antigravity, Cursor, GitHub Copilot, Windsurf,
Gemini, and 20+ other agents.
Why it's different
Not Ai first protects facts, claims, citations, terminology, and the writer's
actual position. It then edits paragraph purpose, information order, agency,
specificity, rhythm, and register. A deterministic gate supports editorial
review without pretending to determine authorship or writing quality.
Star History

How it works
Not Ai has two layers: an editorial contract executed by the host agent, and a
dependency-free Python gate that provides deterministic checks. It is not a
text-generation model, an authorship classifier, or a detector bypasser.
flowchart LR
I["Input<br/>text, notes, constraints"] --> C["Writing contract<br/>purpose, audience, genre"]
C --> L["Source ledger<br/>facts, claims, voice, protected literals"]
L --> M{"Intervention mode"}
M -->|"notes"| D["Detailed draft"]
M -->|"passage"| R["Full rewrite"]
M -->|"explicit request"| P["Preserve or diagnose"]
D --> O["Candidate output"]
R --> O
P --> O
subgraph Runtime["Host agent and canonical skill"]
C
L
M
D
R
P
end
O --> G["tools/gate.py<br/>evaluate()"]
Policy["policy.py<br/>9 genre profiles"] --> G
G -->|"hard failure"| X["empty output or missing protected literal"]
G -->|"advisory findings"| Q["editorial review"]
Q --> O
G -->|"pass"| F["Deliverable"]
B["benchmark.py<br/>fixtures, metadata, preservation checks"] --> T["Regression evidence"]
S["sync_skill.py"] --> K["Canonical skill equals local copy"]
classDef input fill:#0f172a,stroke:#38bdf8,color:#f8fafc,stroke-width:2px
classDef runtime fill:#172554,stroke:#60a5fa,color:#eff6ff,stroke-width:2px
classDef gate fill:#3f1d2e,stroke:#fb7185,color:#fff1f2,stroke-width:2px
classDef evidence fill:#153a32,stroke:#34d399,color:#ecfdf5,stroke-width:2px
class I,O,F input
class C,L,M,D,R,P runtime
class G,X,Q gate
class B,T,S,K,Policy evidence
For a high-resolution, interactive version of this architecture, open the
technical pipeline diagram.
1. Editorial contract and source model
The host agent reads
plugins/not-ai/skills/not-ai/SKILL.md.
The skill builds a writing contract with purpose, audience, genre, register,
and protected content. It then creates a source ledger that keeps facts,
claims, quotations, citations, terminology, formatting constraints, and voice
evidence separate from unsupported gaps.
The mode is selected from the input shape, not an arbitrary speed setting:
notes produce a detailed draft from supplied material, while a supplied passage
receives a full rewrite. preserve, diagnose, and voice-match remain
explicit opt-in modes. Missing information becomes a bracketed prompt rather
than a fabricated detail.
2. Deterministic pre-output gate
plugins/not-ai/tools/gate.py accepts a file
or standard input and calls not_ai_core.gate.evaluate(). The repository
wrapper at scripts/gate.py exposes the same tool from the
project root. The gate uses the composable profiles in
policy.py: linkedin,
personal, email, social, x, fiction, readme, technical,
procedure, api, tutorial, student, academic, abstract, proposal,
executive, marketing, and essay (the original nine behave exactly as before).