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.
npx agentmods add commands/boxlogodev/sapstack/sap-year-endgit clone --depth 1 https://github.com/BoxLogoDev/sapstackWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00058 | $0.01654 |
| Opus 5 | $0.00029 | $0.00827 |
| Sonnet 5 | $0.00012 | $0.00331 |
| Haiku 4.5 | $0.00006 | $0.00165 |
Grade A, and why
sap-year-end 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 2d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SAP 연결산 파이프라인
입력: $ARGUMENTS
🎯 목표
연말결산을 7 Phase로 진행하며, 재무제표 확정·법인세·K-IFRS 공시·외부 감사 대응을 포함합니다. 한국 12월 결산 법인 기준.
🔒 안전 규칙
- 모든 단계 Test Run 우선
- 연말 실행은 되돌리기 어려우니 백업·승인 필수
- K-SOX + 외부 감사 이중 검증
Phase 1 — 선행 확인 (12월 초~중순)
질문
- SAP 릴리스 + Controlling Area
- 회사코드 + 회계기준 (K-IFRS / K-GAAP / 다중)
- 상장사 여부 (DART 공시 대상)
- 감사법인 (Big 4 또는 중견)
- 연결재무제표 작성 대상 여부
사전 점검
- OB52: 12월 기간 정상 오픈
- 11월 분기 결산 완료 여부
- 누적 조정 전표 리스트
- Non-GAAP 조정 내역
Phase 2 — Sub-Ledger 마감 (12월 말)
2-1. AP
- F110 12월 지급 완료
- F-44 수동 청산 필요 건
- FBL1N: Vendor Open Items 최종 점검
2-2. AR
- F150 최종 독촉
- FBL5N: Customer Open Items
- 의심채권 — 충당금 추산 준비
2-3. AA (자산)
- AFAB 12월 감가상각 — Test Run 필수
- 자본화 대기 AuC 전환
- AJAB 실행 전 감가상각 완료 확인
- 자산 실사 (연 1회 필수)
2-4. MM
- MMPV: 12월 기간 닫기
- MI01~MI07: 재고 실사 (연 1회 필수)
- MR11: GR/IR 청소
- MB52: 기말 재고 검증
2-5. CO
- KSU5 / KSV5 연말 배부
- KO88 내부주문 정산 (누적)
- CKMLCP (S/4): Actual Costing Run
- KKS1: Variance 계산
Phase 3 — GL 연말 조정
3-1. 외화평가 (연말 환율)
- FAGL_FC_VAL: 연말 환율로 재평가
- 연중 가장 큰 외화 조정 발생
- 한국은행 연말 환율 기준
3-2. 계정 재분류
- 장기 → 단기 부채 재분류
- Deferred/Prepaid 재분류
- 수동 조정 전표 (FB50)
3-3. Accrual 반영
- 연말 accrual — FBS1
- 차년도 첫 달 자동 역분개 — F.81
- 예시: 미지급 이자, 미지급 급여, 선수금
3-4. 이연법인세 (IFRS IAS 12)
- 임시차이 계산
- 이연법인세자산/부채 인식
- 사용가능성 평가
3-5. 법인세 충당 (한국)
- 법인세율 적용
- 과세표준 확정
- 추가납부/환급 구분
Phase 4 — 자산회계 연말 마감
4-1. AJAB — 자산회계 연말 마감
- 닫힌 연도 추가 포스팅 차단
- Test Run 필수
- 오류 시 되돌리기 복잡
4-2. AJRW — 새 회계연도 열기
- 필수 — 차년도 포스팅 전
- Parallel ledger 별도 실행
Phase 5 — 잔액 이월
5-1. Balance Carry Forward
- ECC: F.16 (Retained Earnings)
- S/4: FAGLGVTR (Universal Journal)
- 이익잉여금 계정으로 P&L 이월
5-2. CO Carry Forward
- KEYT: CCA carry forward
- 2KET: PCA carry forward
- Secondary Cost Element 잔액
Phase 6 — 재무제표 확정 & 공시
6-1. Preview & 검증
- F.01: 재무상태표
- F.08 or S_ALR_87012284: 손익계산서
- 전기 대비 분석
- Non-recurring items 분리
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.
- 2d ago First seen · 195 lines · 0 tokens per session scan A 9ace2e9232b2
sap-year-end is a command published in the GitHub repository BoxLogoDev/sapstack (18 stars, last pushed 2d ago), licensed MIT. It adds 58 tokens to every session and 1,654 once invoked, about $0.0003 per session on Opus 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-08-30.
Other commands, from other repositories
eval-author
Draft a new eval case (eval/cases/ .json) + scaffold its golden folder, goldenpending until captured on the VM.
eval-improve
Work the eval-loop corpus — rank failure clusters, fix the top actionable defect, validate against held-out, open a PR.
eval-run
Run an eval case end-to-end on the VM (implement → build → score → record → roll back). VM/full-mode only.
research-l2
Executes Phases 1-3 of the L2 process of the abapwiki knowledge base on a slice: launches the abap-functional-researcher sub-agent (gap discovery + multi-source auto-research: wiki -> raw/docs -> MCP abap-fs on the system read-only -> standard knowledge), ingests gaps and evidence, and generates questionnaires for…
ingest-l0
L0 bootstrap of the abapwiki knowledge base: creates stubs for all custom objects from the TADIR. Use this skill to initialize the repo from scratch or to ingest a new TADIR export. Deterministic operations (no LLM sub-agent), idempotent.
ingest-l1
L1 analysis loop for the abapwiki knowledge base: for each batch it launches the abap-analyzer sub-agent in parallel, then the adversarial judge abap-deepcheck (separate session), applies only the analyses that pass the fail-closed gate, and commits. Resumes exactly after an interruption. Use this skill to document…