sap-rpt1 — Claude Code skill: FI/CO tabular prediction
Prepares SAP FI/CO exports for local SAP-RPT-1-OSS experiments: checks the schema, hunts target leakage, and flags the governance steps.
npx skills add secondsky/sap-skills --skill sap-rpt1 -a claude-codeWhat sap-rpt1 does
This skill covers prototype work on SAP finance tables: late-payment classification in FI-AR, lost cash discounts in FI-AP, odd journal postings in FI-GL. It starts by making you pick a single prediction point and a single target column, then spell out what was known at that moment. Skip that and the experiment is meaningless.
Two scripts ship with it. scripts/fico_data_prep.py runs with --dry-run to print the CSV schema and leakage risks; scripts/rpt1_oss_predict.py checks whether the machine is ready for local inference. Four reference files cover data governance, portability to locked-down workstations, and the public source review. Non-UTF-8 exports are handled with --encoding and --delimiter.
Local inference needs Python 3.11, a Hugging Face login, and plenty of memory, since the model artifacts come from a gated repository. The bundled commands deliberately never run inference themselves — they only inspect data. Predictions here are not a basis for blocking a payment, granting credit, or signing off a control. Prototype and research only.
What it helps with
- inspect an FI/CO export schema before running the model
- spot features created after the prediction point
- flatten a SAP extract to one row per prediction object
- check whether memory and Hugging Face access are enough for local runs
- assemble a governance checklist before touching real finance data
Example prompts for the agent
- Check
fi_ar_export.csvfor leakage before the late-payment run, target ispaid_late - Run
scripts/fico_data_prep.py --dry-run --input "ap_invoices.csv" --target discount_lostand list the risks - What do I need in place for a local SAP-RPT-1-OSS run on this data?
How to install sap-rpt1
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-rpt1 -a claude-code2Manually: put the files in place
~/.claude/skills/sap-rpt1/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sap-rpt1/
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-rpt1 -a codex2Manually: put the files in place
.agents/skills/sap-rpt1/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-rpt1 -a cursor2Manually: put the files in place
.cursor/skills/sap-rpt1/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install secondsky/sap-skills sap-rpt12Manually: put the files in place
.github/skills/sap-rpt1/SKILL.md1Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-rpt1 -a gemini-cli2Platform CLI
gemini skills install https://github.com/secondsky/sap-skills --path plugins/sap-rpt1/skills/sap-rpt1Manually: put the files in place
.devin/skills/sap-rpt1/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add secondsky/sap-skills --skill sap-rpt1 -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about sap-rpt1
How do I install sap-rpt1 in Claude Code?
Run npx skills add secondsky/sap-skills --skill sap-rpt1 -a claude-code. The skill lands at ~/.claude/skills/sap-rpt1/SKILL.md.
What does sap-rpt1 do?
It gets SAP FI/CO exports ready for local SAP-RPT-1-OSS experiments: schema checks, target leakage checks, and a governance reminder.
What is required for local inference?
Python 3.11, Hugging Face authentication, and enough memory — the model artifacts sit behind a gated repository. The skill itself does not run inference.