pm-business-rules-library

pm-business-rules-library is a skill for Claude Code from ljucask/pureinn-product-development. It costs 106 tokens per session (4,921 once invoked), scanned A, original, MIT.

A library of documented business rules and decision tables. Business rules are statements about how an organisation should operate, while decision tables show how different conditions lead to different outcomes.

In plain words
What is it for?
Use it to collect rules in `domain/businessrules.md` and decisions in `domain/decisionmodels.md`, while marking missing information instead of inventing it.
Why use it?
It replaces one large requirements document with organised, uniquely identified rules that are easier to review and trace.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Part of the pureinn-product-development plugin — 51 skills, 1 command shipped together

Good fit Use it to collect rules in domain/businessrules.md and decisions in domain/decisionmodels.md, while marking missing information instead of inventing it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ljucask/pureinn-product-development/pm-business-rules-library
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ljucask/pureinn-product-development --skill pm-business-rules-library
Clone the repo
git clone --depth 1 https://github.com/ljucask/pureinn-product-development

Made for: Claude Code.

Or install pureinn-product-development, the plugin that ships this one along with the rest of its 51 skills, 1 command.

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 pm-business-rules-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-business-rules-library/github.svg)](https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-business-rules-library)
Your own site
<a href="https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-business-rules-library"><img src="https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-business-rules-library/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pm-business-rules-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/ljucask/pureinn-product-development/pm-business-rules-library"><img src="https://agentmods.dev/badge/skills/ljucask/pureinn-product-development/pm-business-rules-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,921 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 original 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.00106 $0.04921
Opus 5 $0.00053 $0.02461
Sonnet 5 $0.00021 $0.00984
Haiku 4.5 $0.00011 $0.00492

Measured 12d ago against content hash 94f006a3b100, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pm-business-rules-library 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 12d ago.

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.

skills/pm-business-rules-library/SKILL.md · 497 lines

How it starts

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

PM - Business Rules Library

Agent mode (--agent)

Supports --agent: runs autonomously in a subagent, drafts the artifact from existing inputs, and returns a short summary + coverage note.

  • No flag → interactive (default); if inputs are heavy, offer agent mode.
  • --agent → obey. First check inputs are complete. Anything missing: do NOT invent it - mark [ASSUMED - what/why] in the output and summary. Never hallucinate to fill a gap.
  • Review required: the artifact contains commitments - after drafting, require the user's review before finalizing; do not close decisions autonomously.

Artifact language

Checks state.jsonartifact_language. Default (unset or "English"): no change in behavior.

  • If set to a non-English language: write rule prose (rule text, rationale, decision table row descriptions) in that language.
  • Never translate: BR-ID/TBL-ID, frontmatter keys and enum values (status: Draft/Final), section headers, file names - these stay English always, regardless of the setting. This matters more here than elsewhere: pm-reconcile, pm-stripe's security-review routing, and Impact Analysis all grep BR-IDs literally - a translated ID would silently break them.

What this skill does

Builds Live Registers 2 and 3 of 4:

  • business_rules.md - Business Rules Library: centralized catalog of non-negotiable rules with unique IDs
  • decision_models.md - Decision Models Matrix: decision tables and logic matrices for complex conditions

These registers replace the BRD as standalone documents. Business rules are no longer buried in a per-Feature-Set spec document - they live in a shared, versioned catalog that all Feature Cards reference by ID.

What belongs here:

  • Corporate policies that apply across features (e.g., payment release rules)
  • Compliance and regulatory requirements (GDPR, tax, data retention)
  • Security and authorization rules
  • Business logic that applies to multiple features or Feature Sets
  • Decision tables with multiple conditions and outcomes

Read the full file on GitHub · 497 lines

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. 12d ago First seen · 497 lines · 106 tokens per session scan A 94f006a3b100

Subscribe to this mod's changes

pm-business-rules-library is a skill published in the GitHub repository ljucask/pureinn-product-development (2 stars, last pushed 2d ago), licensed MIT. It adds 106 tokens to every session and 4,921 once invoked, about $0.0005 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-08-31.

Related

Other skills, from other repositories

ai-native-design

A workflow for turning a product brief and API contract into frontend design prompts and implementation guidance. It supports three outside design channels and keeps generated frontend work aligned with the same brief and contract.

dhslegen/digital-delivery-team · 105 tokens

backend-development

A set of instructions for building server-side code such as APIs and database-backed applications. It uses API contracts, data models, the chosen technology stack, and tests as the project’s reference points.

dhslegen/digital-delivery-team · 72 tokens

decision-gate

A decision checkpoint for software-project workflows. After each phase produces its files, it asks the user to accept the result, request a change, add information, or regenerate it before the next phase begins.

dhslegen/digital-delivery-team · 62 tokens

frontend-development

A set of instructions for building the user-facing part of a web application, such as its pages, controls, and interactions. It applies to single-page applications and follows the project’s API, product, technology, and design documents.

dhslegen/digital-delivery-team · 75 tokens

relay

A Chinese-language procedure for handing an unfinished task from one AI session to another without losing its context.

dhslegen/digital-delivery-team · 111 tokens

validation-loop

A development routine that checks each important file immediately after it is changed by running the project’s build, lint, type-check, or test commands.

dhslegen/digital-delivery-team · 53 tokens