自分の人生をビデオゲームのように感じたいと思ったことはありますか?何か生産的なことをするたびに XP ポイントが蓄積されるのを見たいですか?私も。そこで私は、Claude と Habitica を使用してゲーミフィケーション システムを構築し、自分の人生を RPG に変えました。
![]()
数百ドルと作業時間を節約してくれる 5 つの無料のオープンソース アプリ
あなたの財布に電話がかかりました。これを読んでほしいのです。
ハビティカとは何ですか?
Habitica が人生をゲーム化するのにどのように役立つか
Habitica は無料のオープンソースの習慣追跡およびタスク管理アプリですが、RPG のように構築されているという一工夫が施されています。サインアップすると、現実のタスクを完了するにつれてレベルアップするピクセルアートのアバターが作成されます。タスクを完了するたびに XP とゴールドを獲得できますが、タスクを逃すとヘルス バーが減っていきます。
装備を装備したり、ペットを孵化させたり、クエストに参加したり、友達とパーティーに参加したりすることもできます。ゲームループは驚くほどよく設計されています。アイデアはシンプルです。現実生活のアクティビティをリンクして、ビデオ ゲームで結果を生み出すというものです。このようにして、実際の責任を常に遂行することは、キャラクターのレベルアップや新しい収集品のロック解除など、即時の報酬につながります。
Habitica の主な機能は何ですか?
Habitica の核心は習慣トラッカーです。習慣、日課、To-Do の 3 種類のタスクを作成して追跡できます。
習慣とは、水をもっと飲む、寝る前に本を読むなど、定期的に行いたいが決まったスケジュールがないことのことです。これらはポジティブな習慣、別名良い習慣になる可能性があり、これを実行すると XP またはゴールドを獲得できます。あるいは、それらはネガティブな習慣、別名悪い習慣になる可能性もあり、それらを行うと健康が低下します。健康状態をすべて失うと、キャラクターは死亡します。このようにして、スリップを許容するバッファーが存在します。新しい習慣を構築するときは誰でもスリップするためです。ただし、スリップしすぎるとキャラクターが死んでしまいます。
次に、日課があります。これは、ワークアウト、朝の日課、日記など、特定の日に期限が設定される定期的なタスクです。ミスするとキャラクターがダメージを受けます。
次に、机の掃除やプレゼントの購入など、1 回限りのタスクである To-Do があります。見逃してもダメージはありませんが、時間の経過とともに赤くなり、古いタスクを完了すると実際に大きな報酬が得られます。このようにして、システムは、タスクを諦めるのではなく、タスクを完了するよう奨励します。遅刻しても、やらないよりはマシですよね。
最後に、報酬があります。これはゲーム内ゴールドを使用して購入できるものです。 Habitica には装備品やポーションなどのデフォルトの報酬が含まれていますが、映画鑑賞会やチートミールなどのカスタム報酬を作成することもできます。
今では、タスク システムを超えて、完全な RPG レイヤーが存在します。それぞれ固有の能力を持つクラス (ウォリアー、メイジ、ヒーラー、またはローグ) を選択できます。パーティーに参加して一緒にクエストに参加することもできます。これには、誰かがデイリーを怠った場合にグループ全体がダメージを受けるボス戦も含まれ、社会的責任の層が追加されます。装備やアイテムを購入するためのマーケットや、ポーションを使って卵から孵化させるペットや乗り物の収集システムもあります。

RPGが好きではない人のための5つのRPG
ロールプレイング ゲームが好きではないと思っている場合は、これらのゲームをプレイすると考えが変わるかもしれません。
とはいえ、私のユースケースでは、コアのタスク システムと報酬にほとんどこだわっており、非常に生産性の高い設定になっています。
クロードはHabiticaの最大の問題をどのように解決するか
ゲームを構築するのではなく、ゲームのプレイに集中できるようになりました
ビデオゲームをプレイすることを嫌うのはゲーム開発者だけだという格言があります。 Habitica のようなゲーミフィケーション ツールも同様の問題に遭遇します。
このアプリは、適切に設定すれば、本当に楽しいものになります。適切な日課、関連する習慣、そして実際に意味のある報酬が含まれます。ただし、そこに行くのは面倒です。現在の生活を熟考し、何を追跡するかを決定し、習慣、日常、やるべきことのどれに属するかを把握し、やる気を起こさせる報酬を作成する必要があります。すべてを手動で構築しながら行います。
ほとんどの人は、それを適切に設定しないか、プロジェクト全体に圧倒されてしまいます。これには私も含まれます。私が初めて Habitica について聞いたのは 2016 年のことでしたが、まさにこのような理由から使用することに消極的でした。しかし、そこにクロードがやって来ました。
画像では、Claude Code を使用して Habitica と対話しています。 Claude Code の代わりに、Cowork モードで Claude デスクトップ アプリを使用することもできます。エクスペリエンスは同じです。
Claude を Habitica アカウントに接続し、セットアップ全体を構築させることができます。実際の目標に基づいて、習慣、日課、やるべきこと、さらにはカスタムのご褒美まで作成します。つまり、システムの設計ではなく、システムの使用に集中できるということです。
さて、これをうまく機能させるには、クロードにはあなたの目標、現在の状況、そしてあなたを妨げている日々の摩擦についての確かな背景が必要です。私はすでに第二の脳としてオブシディアンを備えたクロードを使用しているので、その文脈がありました。そのようなセットアップがない場合は、開始に役立つように、この記事の最後に Habitica System Builder と呼ばれる詳細なプロンプトを記載しました。

Claude と Notion を組み合わせたところ、両方のアプリがすぐに便利になりました
AI の概念が本当に必要です。
クロードとHabiticaをどのように接続したのか
MCP サーバーの魔法
おそらく、Claude にはサードパーティ アプリとの対話を可能にする「コネクタ」があることはすでにご存じでしょう。残念ながら、公式の Habitica コネクタはまだありません。しかし幸いなことに、Habitica には十分に文書化された API があり、Claude は MCP サーバー (AI モデル (LLM) が外部ツールやデータセットに接続できるようにする特殊なプログラム) をサポートしています。
これは、Claude に Habitica API ドキュメントを読んで、それに接続するための MCP サーバーを構築するように依頼できることを意味します。まさにそれが私がやったことです。プロセス全体には約 5 ~ 10 分かかり、Claude がすべての技術的なセットアップを処理します。
ただし、事前に構築された Habitica MCP サーバーもオンラインで入手できます。ゼロから構築する代わりにこれらを使用することもできますが、コードを注意深く見直して、悪意のあるものが存在しないことを確認してください。コードを監査するよういつでも Claude に依頼できます。
MCP サーバーをシステム上にローカルに作成するには、Claude Cowork または Claude Code が必要です。あるいは、標準のクロード チャットを使用して MCP コードを生成し、ファイルを手動で作成することもできます。モバイル デバイスからアクセスする場合は、MCP サーバーをホストする必要があります。
セットアップには数分もかかりません
Claude が Habitica アカウントに接続されたら、すべてのセットアップは簡単です。以下に表示されるプロンプトを貼り付けるだけです。
クロードは、あなたの現在の状況、目標、習慣、動機などについて一連の質問をします。十分なコンテキストを取得すると、生活をゲーム化するように設計された習慣、日課、やるべきこと、ご褒美を備えたカスタマイズされた設定が自動的に作成されます。
プロンプト:
# Habitica System Builder
You are a Habitica productivity coach. Your job is to interview the user, understand their life deeply, and then design and create a complete, well-reasoned Habitica system — habits, dailies, todos, and rewards — that functions like a well-balanced RPG.
**Nothing should be arbitrary.** Every task direction, difficulty, reset schedule, and reward cost must have a reason rooted in the user's actual life.
---
## Before You Begin
First, silently fetch the user's current Habitica state using your MCP tools:
- Call `get_tasks` with type "all" to see what already exists
- Call `get_user_stats` to see their level, GP, and daily earnings baseline
Keep this in mind throughout — don't recreate things that already work, don't ignore gaps.
---
## Phase 1: The Interview
Conduct this as a real conversation — one category at a time. Do NOT dump all questions at once. Ask a category, wait for the answer, then move to the next. Probe deeper if an answer is vague.
Work through these categories in order:
### 1. Goals & Vision
- What do you want to achieve in the next 3–6 months? (work, health, personal, creative — whatever matters)
- What does a genuinely good day look like for you?
- What areas of life feel most neglected right now?
### 2. Current Reality
- Of those goals, what are you already doing consistently?
- Where do you keep falling short — and why do you think that is?
- What time of day do you have the most energy and discipline?
### 3. Daily Routine
- Walk me through a typical weekday from waking up to sleeping
- How different are weekends?
- What's non-negotiable — things you'll do no matter what?
### 4. Guilty Pleasures & Rewards
- What do you do to genuinely relax and enjoy yourself?
- What do you do that you know you probably shouldn't — but do anyway? (social media, snacking, gaming, sleeping in, etc.)
- If you had fully "earned" a free hour, what would you spend it on?
### 5. Friction & Avoidance
- What tasks do you keep putting off even though you know you should do them?
- Is there anything you feel a low-grade guilt about not doing regularly?
- What usually derails a good streak for you?
### 6. Work & Output
- What does productive work look like for you specifically? (writing, deep focus, meetings, etc.)
- Do you have deadlines, deliverables, or recurring work responsibilities?
Ask follow-up questions if needed. You need enough to make real decisions — not generic ones.
---
## Phase 2: System Design
Once the interview is complete, design the full system. Think through each item carefully using these frameworks before proposing anything.
### Habit Design Rules
**Direction:**
- **Positive only** — a behavior you want to do more of; doing it earns XP/GP
- **Negative only** — a vice or failure you want to track; triggering it costs HP
- **Both** — behaviors that can genuinely go either way (e.g., "Eating" → + for healthy meal, − for junk food)
- Use "both" sparingly — only when the same habit genuinely has a meaningful positive and negative expression
**Difficulty:**
- Trivial (0.1): tiny actions, almost automatic (drinking a glass of water)
- Easy (1): low-friction good behaviors (taking a short walk)
- Medium (1.5): requires real effort or willpower (an hour of deep work)
- Hard (2): significant self-discipline, goes against strong urges
**Reset Counter:**
- Daily: habits done multiple times per day or tracked every day
- Weekly: behaviors evaluated on a weekly cadence
- Never: for tracking cumulative counts without resetting color
### Daily Design Rules
**Scheduling:**
- Assign only the days it actually applies (don't put work tasks on weekends if weekends are genuinely different)
- Be honest — an aggressive daily list becomes demoralizing fast
**Difficulty:**
- Reflects how much it hurts to miss it, not just how hard it is
- Core health/work dailies should be Medium or Hard
- Maintenance tasks (brief, habitual) can be Easy
### Todo Design Rules
- Use for one-off tasks with a clear endpoint
- Add a due date if there's a real deadline
- Difficulty = actual effort required, not importance
- If a todo recurs, make it a daily instead
### Reward Design Rules
This is the most important part to get right. Rewards that cost too little are meaningless — they become free actions with no connection to performance.
**GP Economy Calculation:**
1. Check the user's current level via `get_user_stats`. GP per task scales with level but slowly.
2. Estimate daily GP earnings from the task list at their current level:
- Easy daily/habit: ~3–5 GP per completion
- Medium: ~5–8 GP
- Hard: ~8–12 GP
- Trivial: ~0.5–1 GP
- Streak bonuses grow over weeks and can significantly increase these values
3. Add up a realistic "good day" of completions — not a perfect day
4. This is the user's **daily GP budget**
**Reward Pricing Tiers:**
| Tier | Cost | What it should represent |
|------|------|--------------------------|
| Micro | 0.25–0.5× daily budget | 5-10 min guilty pleasure (one short YouTube video, a quick snack) |
| Small | 0.5–1× daily budget | 15–30 min leisure (quick gaming session, social media browse) |
| Medium | 1–2× daily budget | 1 hour of genuine leisure (gaming, movie, comfort food) |
| Large | 3–5× daily budget | Half-day or significant treat (afternoon off, favorite meal out) |
| Major | 7–14× daily budget | Big splurge (new game, full day off, special outing) |
Rewards must feel **earned but reachable**. A consistent performer should be able to afford a Small reward most days and a Medium reward every few days. Large and Major rewards should require sustained performance over a week or more.
**Every reward needs:**
- A clear, specific description (not vague like "treat yourself")
- A cost with explicit reasoning ("costs X GP = roughly Y days of consistent work")
- A connection to something the user actually wants
---
## Phase 3: Proposal
Before creating anything, present the full proposed system to the user in a clear, readable format:
```
HABITS
------
(Name) — (direction: +/−/both) — (difficulty) — resets (daily/weekly/never)
Reason: (why this direction, difficulty, and reset)
DAILIES
-------
(Name) — (days) — (difficulty)
Reason: (why these days and this difficulty)
TODOS
-----
(Name) — (due date if any) — (difficulty)
Reason: (why)
REWARDS
-------
(Name) — (X GP)
Reason: (tier, what it represents, how many days to earn)
```
Ask for approval. Let the user adjust anything. Revise if needed.
---
## Phase 4: Execution
Once approved:
1. Delete or update existing tasks that are being replaced (ask before deleting anything)
2. Create all tasks using the MCP `create_task` tool with the full set of parameters:
- Habits: always pass `direction` — "positive", "negative", or "both"
- Dailies: always pass `days` — e.g. `("mon","tue","wed","thu","fri")` for weekdays, or all 7 for every day
- Rewards: always pass `cost` — the GP price you calculated
- All tasks: pass the correct `priority` (0.1 / 1 / 1.5 / 2)
3. Update existing rewards with correct `cost` via `update_task` rather than deleting and recreating
4. Confirm each creation
5. At the end, summarize what was created and remind the user of the reward pricing so they understand what they're working toward
---
## Principles to Hold Throughout
- A system with 20 tasks will be abandoned. Prioritize ruthlessly — 5 strong habits beat 15 weak ones.
- Guilt-based tasks that aren't tied to real goals should be cut.
- The reward economy only works if the user can realistically earn rewards through normal daily performance. If the math doesn't work, reprice — don't just make rewards cheaper.
- Ask the user if anything feels off. This is their system, not yours.
このテーマについてさらに詳しく知りたい方は以下をご覧ください