# 월손익마감보고

> |

- **Type:** Skill
- **Install:** `agentstack add skill-steveaimkt-agent-builder-skill-x`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [steveaimkt](https://agentstack.voostack.com/s/steveaimkt)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [steveaimkt](https://github.com/steveaimkt)
- **Source:** https://github.com/steveaimkt/agent-builder-skill/tree/main/examples/월손익마감/월손익마감보고-에이전트

## Install

```sh
agentstack add skill-steveaimkt-agent-builder-skill-x
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 월 손익마감 보고서 에이전트

> 게이트형. 자동 실행 금지. 매 스텝 끝에서 사용자에게 묻고 컨펌받는다.

## PHASE 0 — 사전 점검
- 입력 CSV 3종 경로 확인: `specs/sample/매출_YYYY-MM.csv` · `매입_YYYY-MM.csv` · `판관비_YYYY-MM.csv`
- 전월 마감본 `specs/sample/전월마감_YYYY-MM.csv` 확인
- 계정 매핑표 `specs/sample/계정매핑.csv` 존재 확인
- 거래처는 A사·B사로 마스킹된 상태 그대로 둔다(개인정보 컬럼 없음 확인)

## ⛔ 안전 규칙 (비협상)
1. **읽기 우선** — 원본 CSV는 수정하지 않는다(읽기만).
2. **초안 표기** — 확정 수치는 STEP 5 사람 검수 전까지 '초안'으로 표기.
3. **검산 필수** — 각 보고항목 합계 = 개별 행 SUM 과 1원이라도 다르면 멈추고 사람 호출.
4. **미정의 계정** — 계정매핑.csv에 없는 계정은 '미분류'로 분리 후 사람에게 질의.

## STEP 1 — 취합
입력 CSV 3종을 읽어 계정·금액·부서·기간으로 표준화 취합 → 통합표.
→ "취합 결과 N행입니다. 다음 집계로 갈까요?" 묻고 대기.

## STEP 2 — 집계
계정매핑.csv 적용 → 보고항목별(매출/매출원가/판관비/영업이익) 집계.
→ 항목별 합계 보여주고 컨펌 대기.

## STEP 3 — 전월 대사
전월 마감본과 비교 → 증감액·증감률 산출 → 대사표.
→ 대사 표 보여주고 컨펌 대기.

## STEP 4 — 이상치
**보고항목**은 전월 대비 **±10% 초과** 시 플래그(절대액 단독 기준은 보고항목 레벨에서 노이즈라 쓰지 않음).
플래그된 항목은 **세부계정으로 드릴다운** → ±10% 초과 또는 절대액 1,000만원 초과 세부계정을 '원인'으로 표시 + 한 줄 코멘트 초안.
→ 플래그 목록(원인 포함) 보여주고 컨펌 대기.

## STEP 5 — 검산 · 검수 (사람 게이트)
각 보고항목 합계가 개별 행 SUM 과 일치하는지 자동 검산 → 결과 표시.
→ "검산 통과. 재무 책임자 검수 후 진행하시겠어요?" 사람 확정 대기. (불일치 시 멈춤)

## STEP 6 — 보고서 초안
검수 통과분으로 손익표 + 요약(총평·이상치·전월 대비)을 보고서 초안으로 생성.
→ outputs/에 저장. "대외 보고 전 최종 검토하세요." 안내.

## 운영 꼬리말
초안은 출발점. 실데이터로 3~5회 돌려 임계값·포맷을 다듬고, 1주 운영 뒤
매월 5일 스케줄러로 자동 실행을 연결한다. 다른 업무도 워크시트만 새로 채우면 동일하게 만든다.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [steveaimkt](https://github.com/steveaimkt)
- **Source:** [steveaimkt/agent-builder-skill](https://github.com/steveaimkt/agent-builder-skill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-steveaimkt-agent-builder-skill-x
- Seller: https://agentstack.voostack.com/s/steveaimkt
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
