Skip to content
Agentmart
Submit a tool

payroll

급여명세서 PDF 생성 + 이메일 발송.

Skill by nextain

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/nextain-payroll

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

급여명세서 PDF 생성 + 이메일 발송. 급여 데이터를 받아 A4 PDF를 만들고 각 사원에게 이메일로 발송합니다. "급여명세서", "급여 보내기", "payroll" 등 급여 관련 요청 시 사용.

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/payroll

What's inside

Skill name
payroll
Description
급여명세서 PDF 생성 + 이메일 발송. 급여 데이터를 받아 A4 PDF를 만들고 각 사원에게 이메일로 발송합니다. "급여명세서", "급여 보내기", "payroll" 등 급여 관련 요청 시 사용.
License
Apache-2.0
Instructions
102 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • send_payroll.py · scripts/

SKILL.md (first lines)

# Payroll — 급여명세서 PDF 생성 + 이메일 발송

## 개요

사원 급여 데이터 → A4 PDF 급여명세서 생성 → 이메일 발송 (Office 365 SMTP)

## 사전 설치

```bash
pip install reportlab
```

## 워크플로우

### Step 1: 데이터 파싱

사용자가 제공한 급여 데이터(테이블, 텍스트 등)를 아래 JSON 구조로 변환:

```json
{
  "year": 2026,
  "month": 3,
  "company": {
    "name": "<YOUR_COMPANY_NAME>",
    "eng_name": "<YOUR_COMPANY_NAME_EN>",
    "biz_no": "<YOUR_BIZ_NO>",
    "ceo": "<YOUR_CEO_NAME>",
    "address": "<YOUR_ADDRESS>"
  },
  "employees": [
    {
      "code": 1,
      "name": "사원명",
      "email": "<EMPLOYEE_EMAIL>",
      "hire_date": "2026-03-11",
      "items": {
        "기본급": 3000000,
        "식대": 135483
      },
      "deductions": {
        "국민연금": 135000,
        "건강보험": 111900
      },
      "total_pay": 3135483,
      "total_deduction": 246900,
      "net_pay": 2888583
    }
  ]
}
```

회사 정보는 `docs-business/01. 회사 정보/base-info.md` 참조.

### Step 2: PDF 생성 (dry-run)

먼저 dry-run으로 PDF만 생성하여 확인:

```bash
python .agents/skills/payroll/scripts/send_payroll.py \
  --data '<JSON>' \
  --output-dir 'docs-business/06. 급여/YYYY-MM/' \
  --dry-run
```

출력 디렉토리: `docs-business/06. 급여/{YYYY-MM}/`

### Step 3: 사용자 확인 (gate)

생성된 PDF 경로를 사용자에게 보여주고 확인 요청:
- "PDF를 확인하시겠습니까? 확인 후 이메일 발송하겠습니다."
- 사용자가 확인하면 Step 4 진행

### Step 4: 이메일 발송

```bash
python .agents/skills/payroll/scripts/send_payroll.py \
  --data '<JSON>' \
  --output-dir 'docs-business/06. 급여/YYYY-MM/'
```

SMTP 인증:
- `SMTP_USER` 환경변수 (미지정 시 발송하지 않음)
- `SMTP_PASS` 환경변수 (필수)

없으면 사용자에게 안내: "SMTP_PASS 환경변수를 설정해주세요."

### Step 5: 결과 보고

| 사원 | 이메일 | PDF | 발송 |
|------|--------|-----|------|
| ... | ... | ... | O/X |

## 에러 처리

| 에러 | 조치 |
|------|------|
| reportlab 미설치 | `pip install reportlab` 안내 |
| SMTP_PASS 미설정 | dry-run으로 PDF만 생성, 환경변수 설정 안내 |
| 폰트 없음 | `sudo dnf install google-noto-sans-cjk-fonts` 안내 |
| 이메일 실패 | 에러 메시지 표시, PDF는 보존됨 |

From nextain/naia-adk, Apache-2.0.

More from nextain/naia-adk

Signals

Stars
0
Forks
0
Open issues
10
Last commit (this folder)
Aug 29, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from nextain

Cite this page

payroll skill. Agent Mart. https://agentmart.dev/skills/nextain-payroll (last updated 2026-10-24)