ke-payslip-decoder

ke-payslip-decoder is a cursor rule for Cursor from mohitagw15856/pm-claude-skills. It costs 130 tokens per session (1,349 once invoked), scanned A, original, MIT.

A plain-language Kenyan payslip checker that explains pay, PAYE income tax, social security, health insurance, housing levy, reliefs and other deductions. It recalculates the main amounts for the stated pay period.

In plain words
What is it for?
Use it to explain a payslip, recalculate statutory deductions and PAYE, check the one-third rule, identify discrepancies for payroll and keep records for an annual return.
Why use it?
Kenyan payroll rules and contribution rates have changed, so older calculations can make a payslip look wrong. The guide shows the working and checks whether deductions leave the required share of basic pay.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to explain a payslip, recalculate statutory deductions and PAYE, check the one-third rule, identify discrepancies for payroll and keep records for an annual return.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mohitagw15856/pm-claude-skills/ke-payslip-decoder
About the project

PM Skills is a collection of plain-Markdown instructions that teach AI assistants structured methods for handling professional, personal, and life-admin tasks. People use it with Claude, ChatGPT, Gemini, Cursor, Codex, and other supported agents for work such as writing product requirements, reviewing documents, or planning difficult situations.

mohitagw15856/pm-claude-skills · 1,618 stars · on GitHub · mohitagw15856.github.io

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.

Clone the repo
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills

Made for: Cursor.

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 ke-payslip-decoder

README.md
[![agentmods](https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/ke-payslip-decoder/github.svg)](https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/ke-payslip-decoder)
Your own site
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/ke-payslip-decoder"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/ke-payslip-decoder/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 ke-payslip-decoder

Your own site · 80×15
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/ke-payslip-decoder"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/ke-payslip-decoder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,349 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.00130 $0.01349
Opus 5.5 $0.00052 $0.00540
Sonnet 5.5 $0.00026 $0.00270
Haiku 4.5 $0.00013 $0.00135

Measured today against content hash fe03b10a33f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ke-payslip-decoder 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.

exports/cursor/pm-africa/ke-payslip-decoder/ke-payslip-decoder.mdc · 103 lines

How it starts

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

Kenyan Payslip Decoder

Statutory deductions on Kenyan salaries have changed repeatedly: social security contributions are rising in phases, the health fund was replaced, a housing levy was added, and the tax treatment of those deductions was amended. A payslip is therefore easy to mistrust and hard to check from memory. This skill explains each line and recalculates the main deductions from rates the user confirms for the pay period. It is not tax advice.

What This Skill Produces

  • A plain-language explanation of each line
  • A recalculation of the statutory deductions and PAYE with working
  • A check against the rule that deductions must leave a minimum share of basic pay
  • A list of discrepancies to raise with payroll
  • Records to keep for the annual return

Required Inputs

Ask for these if not provided:

  • The payslip: earnings and deductions with amounts
  • Pay period (month and year)
  • Basic pay, allowances and benefits in kind
  • Pension scheme membership and whether the employer has contracted out of part of the social security contribution
  • Mortgage interest, insurance premiums or post-retirement medical fund contributions claimed
  • Voluntary deductions: loans, savings cooperative, union, welfare
  • Whether the employee is a resident for tax

Framework

  1. Gross pay. Basic pay plus allowances plus taxable benefits.
  2. Social security contribution. A percentage from the employee, matched by the employer, on pensionable earnings in two tiers with lower and upper earnings limits that step up each year under the phased schedule. Confirm the limits for the pay period.
  3. Social health insurance. A percentage of gross pay with a minimum monthly amount, replacing the former banded health fund deduction.
  4. Affordable housing levy. A percentage of gross pay from the employee, matched by the employer.
  5. Taxable pay. Following the amendment that took effect at the end of 2024, the health contribution and the housing levy are deducted in arriving at taxable income, alongside allowable pension contributions up to the cap. Earlier periods used reliefs instead. Confirm which treatment applies to the pay period.
  6. PAYE. Apply the monthly graduated bands to taxable pay, then subtract personal relief and any insurance relief. Ask the user to confirm the current bands and relief amounts from the revenue authority's published tables.
  7. Other deductions. Loans, cooperative savings and similar do not reduce tax.
  8. One-third rule. Total deductions should not leave the employee with less than one third of basic pay. Flag if breached.
  9. Net pay. Check the arithmetic.
  10. Year end. The employer issues the annual tax deduction card, used for the individual return due by mid-year. A nil or individual return is required even where PAYE is the only tax.

Read the full file on GitHub · 103 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. today Changed fe03b10a33f9
  2. 3d ago Changed 21ad06b6073f
  3. 18d ago First seen · 103 lines · 130 tokens per session scan A d37102f7eb0a

Subscribe to this mod's changes

ke-payslip-decoder is a cursor rule published in the GitHub repository mohitagw15856/pm-claude-skills (1,618 stars, last pushed yesterday), licensed MIT. It adds 130 tokens to every session and 1,349 once invoked, about $0.0005 per session on Opus 5.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-11-12.

Related

ke-payslip-decoder compared with cursor rules from other repositories

ke-payslip-decoder next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ke-payslip-decodermohitagw15856/pm-claude-skillsCursor rule1.6kyesterdayMITA130Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k5d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor