loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

n2-clotho

MCP Tool

choihyunsus/n2-clotho

AI agents ignore markdown rules. Clotho doesn't ask — it enforces. Compile .n2 rules into state machine contracts, SQL-queryable blacklists, and deterministic execution plans. Rust + WASM. npm install n2-clotho.

Install

$ npx loaditout add choihyunsus/n2-clotho

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "n2-clotho": {
      "command": "npx",
      "args": [
        "-y",
        "n2-clotho"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

KR 한국어

🧵 Clotho — The Thread of Fate for AI Agents

[](https://www.npmjs.com/package/n2-clotho) [](https://opensource.org/licenses/Apache-2.0) [](https://www.rust-lang.org/) [](https://webassembly.org/) [](https://github.com/choihyunsus/n2-clotho)

> Markdown rules are dead. Long live `.n2`.

Clotho is a compiled instruction language for AI agents. It replaces fragile markdown-based rules (GEMINI.md, .cursorrules, CLAUDE.md) with enforceable, type-checked, deterministic specifications that agents cannot ignore.

Named after Clotho, the Greek goddess who spins the thread of fate — because once you define the rules, they become destiny.

# Before: GEMINI.md (a polite suggestion)
"Please don't run rm -rf. Thanks!"
→ AI: "Sure!" *runs rm -rf anyway*

# After: rules.n2 (compiled law)
@rule NoDestructive {
  blacklist: [/rm -rf/, /DROP TABLE/i]
}
→ AI attempts rm -rf → ❌ BLOCKED. No exceptions.
🎯 The Problem
🧵 Clotho in 4 Panels

<p align="center"> </p>

> Panel 1: AI reads your markdown rules... Panel 2: ...then ignores them anyway. > Panel 3: Clotho arrives with .n2 compiled law. Panel 4: Rules enforced. No exceptions.

Every AI coding tool has its own markdown-based rule system:

| Tool | Rule File | Enforcement | |------|-----------|:-----------:| | Gemini | GEMINI.md | 🙏 Hope | | Cursor | .cursorrules | 🙏 Hope | | Claude | CLAUDE.md | 🙏 Hope | | Windsurf | .windsurfrules | 🙏 Hope | | System Prompt | system.txt | �

Tags

aiai-agentscode-generationcompilerllmmcprules-engineruststate-machinewasm

Reviews

Loading reviews...

Quality Signals

2
Stars
0
Installs
Last updated23 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/22/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/choihyunsus/n2-clotho)](https://loaditout.ai/skills/choihyunsus/n2-clotho)