motiful

Rules As Skills — AI skill for Claude Code

AI community

Encode MUST/NEVER constraints as installable, cross-platform skills for AI agents.

How to install Rules As Skills

This entry records only its repository, not the path inside it, so there is no exact command to give. Open motiful/rules-as-skills and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rules As Skills does

Encode MUST/NEVER constraints as installable, cross-platform skills for AI agents. Three-layer model gives dynamic loading and portability that traditional rule files lack.

Alternatives in AI

  • Ante — Ghost in your shell 1.9k ★
  • MioIsland — macOS Dynamic Island for AI coding agents 388 ★
  • Yt Transcriber — CLI app- Give it a YouTube URL and you get a transcription with possible speaker identification and optional s 337 ★

README

rules-as-skills

[![License: MIT][license-shield]][license-url] [![Agent Skills][skills-shield]][skills-url]

Teach your AI agent what it must never do — as installable, cross-platform skills.


The Problem

AI agents have strong capability delivery (skills, plugins, tools) but weak constraint delivery. You can teach an agent a hundred new tricks — but telling it what it *must not do* is stuck in platform-specific, always-loaded rule files.

If you manage many rules, your system prompt gets bloated. If you have few, important constraints get lost in noise.

Features

  • Dynamic loading — constraints load only when the domain is relevant, not on every conversation
  • Cross-platform portability — one skill works across Claude Code, Cursor, Codex, OpenClaw, and any Agent Skills platform
  • Never miss a critical constraint — three layers of defense ensure constraints are always visible, loaded when relevant, and backed by platform-native fallback
  • Publishable constraints — share and install MUST/NEVER rules as packages via npx skills add
  • Capability + constraint pairing — browser-hygiene (teaches) + browser-rules (enforces) work as a complete pair
  • Production-proven patterns — 6+ rule-skills running in production across multi-agent orchestration projects

Quick Start

Install

npx skills add motiful/rules-as-skills

Or manually:

git clone https://github.com/motiful/rules-as-skills ~/.skills/rules-as-skills
ln -sfn ~/.skills/rules-as-s