okane-skills

家計簿の残高予測・シミュレーションスキル。「残高予測」「何ヶ月後にいくら」「この出費大丈夫?」「お金足りる?」「貯金シミュレーション」「ログ圧縮」「危険ポイント検出」などの依頼時に使用。okane-backup-*.json形式のファイルを読み込み、将来の残高推移予測、大きな出費の可否判定、残高不足警告を行う。

16 stars

Best use case

okane-skills is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

家計簿の残高予測・シミュレーションスキル。「残高予測」「何ヶ月後にいくら」「この出費大丈夫?」「お金足りる?」「貯金シミュレーション」「ログ圧縮」「危険ポイント検出」などの依頼時に使用。okane-backup-*.json形式のファイルを読み込み、将来の残高推移予測、大きな出費の可否判定、残高不足警告を行う。

Teams using okane-skills should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/okane-skills/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/okane-skills/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/okane-skills/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How okane-skills Compares

Feature / Agentokane-skillsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

家計簿の残高予測・シミュレーションスキル。「残高予測」「何ヶ月後にいくら」「この出費大丈夫?」「お金足りる?」「貯金シミュレーション」「ログ圧縮」「危険ポイント検出」などの依頼時に使用。okane-backup-*.json形式のファイルを読み込み、将来の残高推移予測、大きな出費の可否判定、残高不足警告を行う。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Okane Skills - 残高予測・シミュレーション

## 概要

[okane](https://okane-nine.vercel.app/)のエクスポートJSONを分析し:
- **将来の残高予測** - Xヶ月後にいくらになるか
- **出費可否チェック** - 大きな出費が間に合うか
- **危険ポイント検出** - 残高不足になる日を警告
- **ログ圧縮** - 古いデータを月次サマリーに圧縮

## 主要機能

### 1. 残高予測 (`--forecast N`)

Nヶ月後までの残高推移と、各月の大きな出入り(10万円以上)を表示。

```bash
python scripts/okane_analyzer.py data.json --forecast 6
```

**出力例:**
| 月 | 残高 | 大きな出入り |
|----|------|-------------|
| 2026-01 | ¥1,500,000 | 給与(+¥300,000), カード(-¥150,000) |
| 2026-02 | ¥1,200,000 | 家賃(-¥100,000) |

### 2. 出費可否チェック (`--check AMOUNT`)

「この日にこの金額使って大丈夫?」を判定。

```bash
python scripts/okane_analyzer.py data.json --check 1000000 --date 2026-02-01
```

**出力:**
- 判定(✅可能 / ⚠️ギリギリ / ❌不足)
- 出費前後の残高
- その後の予定支出一覧

### 3. 危険ポイント検出 (`--danger`)

残高が閾値を下回る日を検出。

```bash
python scripts/okane_analyzer.py data.json --danger --threshold 100000
```

### 4. ログ圧縮 (`--compress`)

古い取引を月次サマリーに圧縮してファイルサイズを削減。

```bash
python scripts/okane_analyzer.py data.json --compress --keep-months 3 -o compressed.json
```

- `--keep-months N`: 直近Nヶ月は詳細を保持(デフォルト: 3)
- 圧縮前: 各取引が個別レコード
- 圧縮後: 月ごとの収入合計・支出合計に集約

### 5. グラフ生成 (`--chart`)

残高推移グラフをPNG画像で出力。

```bash
python scripts/okane_analyzer.py data.json --chart --chart-months 6 -o chart.png
```

**グラフの内容:**
- 青線: 残高推移
- 緑縦線: 今日
- ▲緑マーカー: 大きな収入(20万円以上)
- ▼赤マーカー: 大きな支出(20万円以上)

## JSONデータ形式

```json
{
  "version": "1.0",
  "initialBalance": 0,
  "transactions": [
    {
      "id": "unique-id",
      "date": "YYYY-MM-DD",
      "type": "income" | "expense",
      "amount": number,
      "description": "説明"
    }
  ]
}
```

## 典型的な使い方

1. **「3月に100万使いたいけど大丈夫?」**
   → `--check 1000000 --date 2026-03-01`

2. **「半年後の貯金いくら?」**
   → `--forecast 6`

3. **「お金やばくなる時ある?」**
   → `--danger`

4. **「JSONが重くなってきた」**
   → `--compress`

5. **「グラフで見せて」**
   → `--chart -o chart.png`

Related Skills

superpowers-writing-skills

16
from diegosouzapw/awesome-omni-skill

Use when creating new skills, editing existing skills, or verifying skills work before deployment

skills-discovery

16
from diegosouzapw/awesome-omni-skill

Search for and install Agent Skills that give you specialized capabilities. Before starting work, ask might a skill exist that handles this better than my base knowledge? If the task involves specific technologies, frameworks, file formats, or expert domains. Search proactively, even if the user doesn't mention skills. Skills encode best practices, tools, and techniques you wouldn't otherwise have. Also use when users explicitly ask to find, install, or manage skills.

metalsmith-website-skills

16
from diegosouzapw/awesome-omni-skill

Build static websites using Metalsmith's component-based architecture. Triggers on phrases like "build me a website", "create a landing page", "help me make a site". Includes JavaScript and CSS development standards.

makepad-skills

16
from diegosouzapw/awesome-omni-skill

Makepad UI development skills for Rust apps: setup, patterns, shaders, packaging, and troubleshooting.

interview-skills

16
from diegosouzapw/awesome-omni-skill

Frameworks for technical interviews and salary negotiation. Use for behavioral interview prep (STAR method), technical interview communication, offer evaluation, and compensation negotiation strategies.

inspecting-skills

16
from diegosouzapw/awesome-omni-skill

Discovers and indexes Python code in skills, enabling cross-skill imports. Use when importing functions from other skills or analyzing skill codebases.

Getting Started with Skills

16
from diegosouzapw/awesome-omni-skill

Skills wiki intro - mandatory workflows, search tool, brainstorming triggers

find-skills

16
from diegosouzapw/awesome-omni-skill

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

extracting-learned-skills

16
from diegosouzapw/awesome-omni-skill

Extracts reusable skills and decision-making heuristics from debugging sessions. Use after solving tricky bugs, discovering non-obvious workarounds, or finding hidden gotchas specific to a codebase. Triggers include "save this as a skill", "learn from this", or after significant debugging effort.

emrah-skills

16
from diegosouzapw/awesome-omni-skill

Expo React Native mobile app development with expo-iap in-app purchases, AdMob ads, i18n localization, ATT tracking transparency, optional OIDC authentication, onboarding flow, paywall, and NativeTabs navigation

designer-skills

16
from diegosouzapw/awesome-omni-skill

Designer subsystem patterns for LlamaFarm. Covers React 18, TanStack Query, TailwindCSS, and Radix UI.

creating-skills

16
from diegosouzapw/awesome-omni-skill

Use when creating new Claude Code skills or improving existing ones - ensures skills are discoverable, scannable, and effective through proper structure, CSO optimization, and real examples