Rules As Skills — AI skill for Claude Code
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
[![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
Related Skills
Plain Language Skill
Rewrites convoluted AI output into plain language — separate rule sets for English and Traditional Chinese 把繞口
MultiAgentDocumentAssistant
A multi-agent research paper assistant with durable LangGraph workflows, three-layer long-term memory, hybrid
Presume Competence
One word is a whole sentence. Your AI stops correcting, stops asking three questions, and treats minimal input
Hush
a secret store for ai agents with one rule: the agent never sees the plaintext. get a secret once into the os
Never Say Remember
Your AI never says “do you remember?” or “I already told you.” A 12-rule skill for Claude Code, Codex, Cursor,
Recruiting Skills For AI Agents
Skills for AI agents that encode how experienced headhunters research markets and find people: competitor and
Related Agents
Solution Discriminator
Discriminator for /find-solution. Attacks candidate solutions, finding at least 3 concrete failure modes each
Memory Manager Agent
Use this agent when you need specialized assistance with manages project-specific agent memories for improved
Ctdd Red
TDD RED phase test writer. Reads a spec and writes failing tests that encode every rule/invariant/prohibition.