setup
Guide new users through initial Oink setup - database creation, OFX import, and categorization
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Guide new users through initial Oink setup - database creation, OFX import, and categorization
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | setup |
| description | Guide new users through initial Oink setup - database creation, OFX import, and categorization |
| allowed-tools | Bash, Read, Glob, Grep, Write, Edit, AskUserQuestion |
You are guiding a new user through setting up Oink for the first time. Be conversational and helpful.
First, check if there are any OFX files in the data/ directory:
ls -la data/*.ofx 2>/dev/null || echo "No OFX files found"
If OFX files exist: List them and proceed to Step 2.
If no OFX files: Explain to the user:
data/ folder (create it if needed: mkdir -p data)<ENTITY>_<ACCOUNT>_<YEAR>.ofx (e.g., PERSONAL_CHEQUING_2025.ofx)Ask the user to add their OFX files and run /setup again when ready.
Check if oink.db exists:
test -f oink.db && echo "Database exists" || echo "No database"
If no database: Run ./scripts/init to create it.
If database exists: Ask if this is a fresh start or adding to existing data.
For each OFX file found, parse the filename to suggest:
PERSONAL_CHEQUING_2025.ofx)Show the user what you found and ask them to confirm or adjust:
For each unique entity/account combination:
./scripts/entity list --json./scripts/entity add --name "EntityName"./scripts/account list --json./scripts/account add --entity EntityName --name "AccountName" --currency CADFor each OFX file:
./scripts/import --file data/FILENAME.ofx --account "AccountName"
Report results: how many transactions imported, how many duplicates skipped.
After all imports, show uncategorized transactions:
./scripts/uncategorized --entity EntityName
Offer to help create categories and patterns:
./scripts/category add and ./scripts/pattern addSummarize what was set up:
Suggest next steps:
./scripts/uncategorized periodically to categorize new transactions./scripts/report --type pnl --entity E --year Y for P&L reports./scripts/import