Skip to content
Skill Authoring
Skill

/rules-manager

Create, edit, and maintain AGENTS.md and .agents/rules/. Use when adding, modifying, restructuring, or optimizing project rules, conventions, or constraints.

From plugin
aiblueprint
26916 skills4 agents

Claude Code

$ npx -y skills add melvynx/aiblueprint --skill rules-manager --agent claude-code

SKILL.md

rules-manager.SKILL.md
name: rules-manager
description: Create, edit, and maintain AGENTS.md and .agents/rules/. Use when adding, modifying, restructuring, or optimizing project rules, conventions, or constraints.
argument-hint: "[init | add <rule-name> | edit | optimize | task description]"
disable-model-invocation: true
user-invocable: true

Manage the two-tier rule system: the always-loaded index plus modular files. Every modular file must be linked from the index or agents will not find it.

Open [agents-vs-claude.md](references/agents-vs-claude.md) before choosing `AGENTS.md` + `.agents/rules/` versus `CLAUDE.md` + `.claude/rules/`, path-scoped `paths:` frontmatter, or dual-format setup. Run the same workflows against the chosen pair. Open [examples.md](references/examples.md) before writing a new rule file or index skeleton.

Never overwrite existing files without asking. Never write a rule file without confirming its content. Default new rules to a modular file (20–60 lines); put 1–2 line constraints in Universal Rules. When the user names index content (stack, commands, universal rules), edit that file in place. Write specific prohibitions. Do not add generic best practices, linter-enforced rules, or facts the agent can read from the code.

`init`: read package manifests; if the index or rules directory exists, ask before writing; create a <40-line index with an empty Rules section and the rules directory.

`add <name>`: slugify the name; `init` if no index; ask what it enforces and when it applies; write the modular file; add one index bullet whose path matches the file.

`edit`: change only the named index section; keep every modular-file link intact.

`optimize`: inventory index vs files (flag orphans and broken links); strip linter-enforced, generic, verbose, and code-derivable rules; compress to bullets; show the diff and wait. Targets: index <80 lines, each rule <60.

A free-form request is `add` with a derived name. Ask 1–2 scope questions if the rule is unclear.

Read more
@melvynx
Ships withaiblueprint

Supercharge Claude Code and Codex with security hooks, reusable skills, a lightweight statusline, and workflow automation.

26916 skills4 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
269
Star history of melvynx/aiblueprint on GitHub, a chart by star-history.com

Other skills on aiblueprint.

update-config

update-config

Sync existing skills from ~/.claude/skills into this repo and refresh skills/ symlinks. Use when asked to update config, sync…

@melvynx@melvynxInstall Skill
fix-on-my-computer

fix-on-my-computer

Setup wizard that verifies Bun, installs dependencies, runs tests, and fixes failures until every test passes. Use when the…

@melvynx@melvynxInstall Skill
agents-manager

agents-manager

Create, edit, debug, and orchestrate Claude Code agents and Task-tool workflows. Use when writing agent files, configuring tools…

@melvynx@melvynxInstall Skill
apex

apex

Run adaptive APEX implementation with scoped delegation, durable checkpoints, risk-based tests and review, and proof-backed…

@melvynx@melvynxInstall Skill
app-icon

app-icon

Generate a vibrant dimensional iOS and Android app icon, then post-process it for store specs. Use for creating, regenerating, or…

@melvynx@melvynxInstall Skill
appstore-connect

appstore-connect

Drive App Store Connect through the asc CLI for apps, builds, TestFlight, reviews, sales, metadata, IAP, signing, and…

@melvynx@melvynxInstall Skill

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack3w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about rules-manager.

Which coding agents can use rules-manager?
rules-manager installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.