sap-ibp-forecast-debug

sap-ibp-forecast-debug is a command for Claude Code from BoxLogoDev/sapstack. It costs 39 tokens per session (741 once invoked), scanned A, original, MIT.

A diagnostic checklist for SAP Integrated Business Planning, a cloud system used to plan demand, supply, and inventory. It checks forecast settings, historical data, product and location mappings, and job logs.

In plain words
What is it for?
Use it when statistical forecasts are missing, negative, zero, extreme, or unable to reflect seasonality and trends. It helps inspect forecast operators, models, history, master data, and execution results.
Why use it?
It helps find whether a missing or unrealistic forecast comes from the planning setup, forecast method, incomplete history, broken mappings, or a failed run.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when statistical forecasts are missing, negative, zero, extreme, or unable to reflect seasonality and trends. It helps inspect forecast operators, models, history, master data, and execution results.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/boxlogodev/sapstack/sap-ibp-forecast-debug
Install

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.

Clone the repo
git clone --depth 1 https://github.com/BoxLogoDev/sapstack

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sap-ibp-forecast-debug

README.md
[![agentmods](https://agentmods.dev/badge/commands/boxlogodev/sapstack/sap-ibp-forecast-debug/github.svg)](https://agentmods.dev/commands/boxlogodev/sapstack/sap-ibp-forecast-debug)
Your own site
<a href="https://agentmods.dev/commands/boxlogodev/sapstack/sap-ibp-forecast-debug"><img src="https://agentmods.dev/badge/commands/boxlogodev/sapstack/sap-ibp-forecast-debug/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sap-ibp-forecast-debug

Your own site · 80×15
<a href="https://agentmods.dev/commands/boxlogodev/sapstack/sap-ibp-forecast-debug"><img src="https://agentmods.dev/badge/commands/boxlogodev/sapstack/sap-ibp-forecast-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 741 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00741
Opus 5.5 $0.00016 $0.00296
Sonnet 5.5 $0.00008 $0.00148
Haiku 4.5 $0.00004 $0.00074

Measured 1mo ago against content hash 954cee144a7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sap-ibp-forecast-debug 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 1mo 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.

commands/sap-ibp-forecast-debug.md · 95 lines

What it actually says

/sap-ibp-forecast-debug — IBP 수요 예측 디버그

사용 시점

  • 통계 예측 (Statistical Forecast)이 생성 안 됨
  • 예측이 비현실적 (음수/0/극단치)
  • 시즌성/추세가 안 잡힘
  • Auto-ML 알고리즘 선택 이상

진단 체크리스트

Step 1: Planning Operator 확인

  1. IBP Web UI → Configuration → Planning Areas → [Your PA]
  2. Operators 탭 → Forecast Operator 정의
  3. 다음 확인:
    • Operator 활성?
    • Input/Output Key Figure 매핑 정확?
    • Time horizon (n weeks/months)?
    • Forecast Model 어떤 거?

Step 2: Forecast Model 점검

  1. Models → [Your Forecast Profile]
  2. 다음 확인:
    • 알고리즘 적합? (Croston for intermittent, Triple ES for seasonal+trend)
    • 파라미터 (alpha, beta, gamma) 적절?
    • Horizon ≥ History/3 권장
    • Outlier detection 활성?

Step 3: 히스토리 데이터

  1. Planning View에서 History Key Figure 확인
  2. 다음 확인:
    • 최소 12-24 주기 히스토리 확보?
    • 결측치 (gap) 있나? (있으면 0으로 처리됐는지 vs 매핑 실패)
    • 단위 일관성? (단가 변경, 단위 변경)

Step 4: 마스터 매핑

  1. Master Data → Product / Location / Customer 확인
  2. 다음 확인:
    • Planning Object 정의된 조합 (e.g., Product × Location) 활성?
    • 매핑 깨진 객체 없음? (S/4 ↔ IBP)

Step 5: 실행 로그

  1. Application Jobs → 최근 Forecast Run
  2. 다음 확인:
    • 상태: Success / Warning / Failed?
    • 실행 시간 평소 대비?
    • 처리한 Combination 수?
    • Warning 메시지 (예: "no history", "model degenerate")?

흔한 원인

원인 증상 해결
History 부족 0 또는 NaN 예측 최소 12 주기 보장
Outlier 폭발적 예측 Outlier detection 활성
매핑 오류 일부 조합 누락 External Codes 재매핑
Operator 비활성 예측 안 생성 Operator activate
Time profile 불일치 period shift Time profile 정합성

Output 형식 (Quick Advisory mode)

### Issue
[증상 요약]

### Root Cause
[원인]

### Check (T-code/UI + Field)
- Planning Area: ...
- Operator: ...
- ...

### Fix (Steps)
1. ...
2. ...

### Prevention
- ...

### SAP Note (if known)
- ...

복잡한 경우 (가설 2+ 가능) → /sap-session-start 호출.

참조

  • plugins/sap-ibp/skills/sap-ibp/SKILL.md
  • agents/sap-ibp-consultant.md
Changes

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.

  1. 1mo ago First seen · 95 lines · 39 tokens per session scan A 954cee144a7b

Subscribe to this mod's changes

sap-ibp-forecast-debug is a command published in the GitHub repository BoxLogoDev/sapstack (20 stars, last pushed 23d ago), licensed MIT. It adds 39 tokens to every session and 741 once invoked, about $0.0002 per session on Opus 5.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.