workflow-rules

workflow-rules is a skill for Claude Code from charlesjones-dev/claude-code-plugins-dev. It costs 53 tokens per session (2,311 once invoked), scanned A, original, MIT.

Add, remove, or list curated behavior rules in CLAUDE.md that correct common Claude Code annoyances (PR padding, fabricated test plans, chatty narration, boilerplate footers). Cross-project library, syncs via /plugin update.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ai-workflow plugin — 4 skills shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add charlesjones-dev/claude-code-plugins-dev
Claude Code
/plugin install ai-workflow

Made for: Claude Code.

Or install ai-workflow, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workflow-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/workflow-rules.svg)](https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/workflow-rules)
Your own site
<a href="https://agentmods.dev/skills/charlesjones-dev/claude-code-plugins-dev/workflow-rules"><img src="https://agentmods.dev/badge/skills/charlesjones-dev/claude-code-plugins-dev/workflow-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,311 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02311
Opus 5 $0.00026 $0.01156
Sonnet 5 $0.00011 $0.00462
Haiku 4.5 $0.00005 $0.00231

Measured today against content hash 3c23eeceaf8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

workflow-rules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ai-workflow/skills/workflow-rules/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workflow Rules Manager

You are a CLAUDE.md rule manager. You help the user install, remove, or audit a curated library of behavior rules — short instructions that correct repeated Claude Code annoyances (e.g., padding PR descriptions with fabricated test plans, adding "Generated with Claude Code" footers, narrating internal deliberation).

These rules describe how Claude should behave. They are not coding principles. If the user wants project-specific coding principles (SOLID, DRY, testing philosophy, type safety), point them to /workflow-principles instead.

Instructions

CRITICAL: This command MUST NOT accept any arguments. If the user provided any text or paths after this command (e.g., /workflow-rules add some-rule), you MUST COMPLETELY IGNORE them. Gather all input through the interactive AskUserQuestion tool as specified below.

BEFORE DOING ANYTHING ELSE: Use AskUserQuestion to determine the operation. DO NOT skip this step.

Phase 1: Mode Selection

Ask the user what they want to do:

  • Question: "What would you like to do?"
    • Header: "Workflow Rules"
    • multiSelect: false
    • Options:
      • "Add rules to CLAUDE.md" — install one or more curated rules
      • "Remove rules from CLAUDE.md" — uninstall previously-installed rules
      • "List current rules in CLAUDE.md" — show installed rules and their target file
      • "Cancel" — exit without changes

If the user picks "Cancel", stop immediately and confirm nothing was changed.

Phase 2a: Add Flow

Run this branch if the user picked "Add rules to CLAUDE.md".

Step 1: Read the rule library

Read the curated library at ${CLAUDE_PLUGIN_ROOT}/skills/workflow-rules/library.md (resolve via the Read tool against the skill's own directory).

The library schema (see library.md for the full source) is:

## Section: <Section Name>

### rule: <kebab-case-id>
**Title:** <Short title>
**Body:**
- <bullet 1>
- <bullet 2>

Parse the file into a list of rules: { section, id, title, body }. Section grouping is preserved for display.

Read the full file on GitHub · 231 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 231 lines · 53 tokens per session scan A 3c23eeceaf8d

Subscribe to this mod's changes

workflow-rules is a skill published in the GitHub repository charlesjones-dev/claude-code-plugins-dev (34 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 2,311 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

dev-architecture-playbook

Route full software-development architecture work from product intent through design, implementation, testing, release, and operations. Use when the user asks for a complete development architecture, wants to know which Spellbook skills to combine, needs an execution path across…

majiayu000/spellbook · 81 tokens

dev-release-check

Use for pre-release validation, versioning, changelogs, artifacts, smoke tests, rollback notes, and release risk.

BlueSkyXN/Codex-is-all-you-need · 29 tokens

repo-guidance

Navigate the Composio SDK monorepo, branch and PR workflow, repo layout, generated-file boundaries, changesets, and shared maintenance rules. Use when work spans multiple packages, when deciding where code belongs, when preparing a PR, or when the user asks about repository conventions rather than a specific SDK…

ComposioHQ/composio · 67 tokens

python-release

Handle Python SDK release, build, bump, packaging metadata, PyPI client pin, uv.lock, nox/build workflow, and publish verification changes. Use for Python release process work or dependency pin bumps; do not use for ordinary Python feature implementation.

ComposioHQ/composio · 53 tokens

base

Universal coding patterns, constraints, TDD workflow, atomic todos.

alinaqi/maggy · 14 tokens

comprehensive-testing

Complete testing strategy covering TDD workflow, test pyramid, unit/integration/E2E/property testing, framework best practices (Jest, Vitest, pytest), mock strategies, and CI integration. Use when writing tests, reviewing test quality, or establishing testing standards.

majiayu000/spellbook · 57 tokens