Skip to content
Back to skills

Thr Calculator

ASecurity

Calculate statutory Indonesian religious holiday allowance (Tunjangan Hari Raya - THR) per Permenaker No. 6/2016.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 7, 2026
ai-agentsrustbash

Security analysis

A100/100

Scanned October 7, 2026

npx -y skills add adamriofc/indonesian-business-agent-skills --skill thr-calculator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Thr Calculator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Thr Calculator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adamriofc-thr-calculator/badge)](https://www.skillsdirectory.com/skills/adamriofc-thr-calculator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: thr-calculator
description: "Calculate statutory Indonesian religious holiday allowance (Tunjangan Hari Raya - THR) per Permenaker No. 6/2016."
argument-hint: <gaji_pokok> <tunjangan_tetap> <masa_kerja_bulan>
risk_level: HIGH
rule_type: statutory
quality_tier: tested
allowed-tools: bash
capability:
  purpose: [labor_compliance, severance_calculation]
  not_for: [unmediated_employee_termination, autonomous_legal_notice]
  requires: [<gaji_pokok> <tunjangan_tetap> <masa_kerja_bulan>]
  produces: [payoutAmount, statutoryEntitlements, complianceStatus]
  consumes: [context.employeeCount, context.scale]
  deterministic: true
  cross_domain_relevance:
    tax: high
    finance: high
    legal: high
---

# Statutory THR Payout Calculator

Calculates religious holiday allowance payouts according to Permenaker No. 6/2016.

## Statutory Rules
* **Statute**: Peraturan Menteri Ketenagakerjaan No. 6 Tahun 2016.
* **Deadline**: Mandatory payout at least 7 days prior to Hari Raya Keagamaan. Cash payment only.
* **Formula**:
  * Masa Kerja >= 12 Bulan: `1 x (Gaji Pokok + Tunjangan Tetap)`.
  * Masa Kerja 1 - 11 Bulan: `(Masa Kerja / 12) x (Gaji Pokok + Tunjangan Tetap)`.
  * Masa Kerja < 1 Bulan: Not eligible (Rp 0).

## Trust Envelope (Confidence Contract)
Every engine output must be wrapped in a structured envelope declaring production trust attributes:
* **`regulatory_framework`**: Applying regulation with article references (e.g. `PP No. 58/2023 jo. PMK 168/2023 - TER`).
* **`ruleset_version`**: Versioned Id of the `engines/rules/*.json` ruleset consulted (e.g. `PPH21-2024 v1.0.0`).
* **`effective_window`**: `[effective_from] – [effective_to]` of the applied ruleset.
* **`integrity_status`**: `VERIFIED` after SHA-256 ruleset check, or `UNVERIFIED` — never present silent calculations when UNVERIFIED.
* **`risk_level`**: Contextual `LOW / MEDIUM / HIGH` per skill risk metadata.
* **`requires_human_review`**: `true` for HIGH risk outputs — mandatory professional sign-off before filing, payment, or execution.
* **`currency`**: IDR, rounded to the nearest whole Rupiah unless another precision is stated.
* **`as_of`**: The simulation/effective date used to select the ruleset.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.