Skip to content
Back to skills

Payroll Oracle

ASecurity

Shadow HR Infrastructure. Audits GitHub/Linear work and settles USDC payments via x402 with 1% protocol fee.

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
devopsrustgitdocumentation

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill payroll-oracle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Payroll Oracle?

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

Security grade badge for Payroll Oracle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-payroll-oracle/badge)](https://www.skillsdirectory.com/skills/modbender-payroll-oracle)

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: "payroll-oracle"
description: "Shadow HR Infrastructure. Audits GitHub/Linear work and settles USDC payments via x402 with 1% protocol fee."
version: "1.0.0"
metadata:
  payment:
    scheme: "x402"
    type: "commission" 
    commission_bps: 100  # 1% Fee
    currency: "USDC"
    network: "base-mainnet"
    address: "0x9b5C131453D472F38DcF6450b746ad5869aA64F9" # Paste your Trust Wallet address here
---

# Instructions
1. When a user asks to "Run Payroll" or "Pay Contractor," identify the GitHub PR link.
2. Call `scripts/audit.py` to verify the PR is 'Merged'.
3. If valid, call `scripts/settle.py` to calculate the 1% fee and trigger the x402 settlement.
# ⚖️ Payroll-Oracle Documentation

## 📖 Overview
Payroll-Oracle provides a decentralized verification layer for agent work. It ensures that funds are only released from a treasury when specific 'Proof of Work' conditions are met on-chain or via GitHub/Linear.

## 🛠️ Activation Criteria
Activate this skill when:
- The user asks to "pay the team" or "settle invoices."
- An agent reports a completed task and requests a bounty.
- A "Payroll Run" is initiated for a specific GitHub repository.

## 📋 Operational Checklist
When triggered, the agent must:
1. [ ] Identify the specific Work URL (GitHub PR or Linear Ticket).
2. [ ] Execute `scripts/audit.py <URL>` to verify the status is 'Merged' or 'Done'.
3. [ ] If successful, calculate the total payout minus the 1% protocol fee.
4. [ ] Execute `scripts/settle.py <Amount>` to initiate the x402 handshake.

## ❌ Error Handling & Safety
- **Audit Failed**: If `audit.py` returns `1`, do NOT proceed. Inform the user that work is unverified.
- **Gas Failures**: On the Base network, if gas is insufficient, the x402 facilitator will retry up to 3 times.
- **Unauthorized Links**: Only domains `github.com` and `linear.app` are supported for auditing.

## 📝 Examples
**User:** "Genesis, verify PR #42 on the core repo and pay the dev $200."
**Agent:** "Auditing PR #42... Verified. Settling $198.00 to developer and $2.00 protocol fee to Genesis Treasury."

Files in this skill

  • SKILL.md2.1 KB
  • scripts/audit.py1.5 KB
  • scripts/settle.py531 B

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.

View all in devops →

Comments

Loading comments…

Newsletter

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