# Xs Diary

> |

- **Type:** Skill
- **Install:** `agentstack add skill-karaage0703-ai-assistant-workspace-xs-diary`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [karaage0703](https://agentstack.voostack.com/s/karaage0703)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [karaage0703](https://github.com/karaage0703)
- **Source:** https://github.com/karaage0703/ai-assistant-workspace/tree/main/skills/xs-diary

## Install

```sh
agentstack add skill-karaage0703-ai-assistant-workspace-xs-diary
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 毎日の日記記録スキル

1日を日記形式で記録する。notes/ + Notion の両方に残す。

## 絶対遵守事項

- **日常の出来事（食事・家族・ペット・散歩・仕事の感想）は必ず記録する**
- 日常セクションを開発作業セクションより**上に配置**する
- ファイル操作なしに「記録した」と報告しない（嘘禁止）
- 完了報告には**Notion日記のURL**を含める（Notion連携時）
- 記録にない数値を断定しない。推定する場合は「推定」と明記する
- チャット履歴、memory、notes、必要ならworkspace-RAGを確認して漏れを拾う

## 保存先

| 場所 | 用途 |
|------|------|
| `notes/YYYYMMDD_diary.md` | 日記本体 |
| `memory/YYYYMMDD.md` | 参考資料（会話ログ・調べたこと） |
| **Notion日記DB**（任意） | 画像・動画付きリッチ版 |

## 手順

### Step 1: 情報収集

1. `memory/YYYYMMDD.md` を読む（その日の出来事・会話ログ）
2. `date -d "YYYY-MM-DD" +%A` で**曜日を確認**（思い込みで書かない）
3. 必要に応じて `notes/` や workspace-RAG で、その日の関連メモ・発信・作業ログを確認する
4. チャットプラットフォームで動いている場合は、直近履歴や添付ファイルも確認する

### Step 2: notes/に日記作成

`notes/YYYYMMDD_diary.md` を作成。

### Step 3: Notion日記ページ作成（任意）

Notion連携が設定されている場合、`notion-manager` スキルの `notion_tool.py` を使って日記ページを作成。

```bash
cd skills/notion-manager

# ページ作成
uv run python notion_tool.py diary  -t "YYYYMMDD_タイトル" -d YYYY-MM-DD

# 見出し・本文を追加
uv run python notion_tool.py append  -H "今日の出来事"
uv run python notion_tool.py append  -b "内容..."

# 画像アップロード（キャプション付き）
uv run python notion_tool.py upload /path/to/photo.jpg  -c "キャプション"
```

### Step 4: 同期

```bash
git add notes/ memory/ && git commit -m "日記 YYYYMMDD" && git push
```

### Step 5: 完了報告

```
MM/DDの日記完了！

Notion日記: https://www.notion.so/xxx（Notion連携時）

やったこと：
- ...
```

## notes/ フォーマット

```markdown
---
tags: [diary]
---

# YYYYMMDD (曜日)

## タイムライン
- HH:MM 出来事

## 食事
- 朝:
- 昼:
- 夜:

## 気づき・学び

## 開発作業

## 気分・体調

## 明日の予定
```

**セクション順序**: 日常（タイムライン・食事） → 開発 → その他

## 書き方の方針

- 事実と感想を分ける
- 食事・運動・睡眠・家族・ペット・外出など、生活ログを開発ログに埋もれさせない
- 数値は記録から直接拾えるものを優先する
- 写真や添付がある場合は、見た内容を短く記録する
- 技術作業は、PR番号・commit・検証結果・次の課題を1〜3行でまとめる

## 日付ルール

- **0時〜朝5時の作業** → 前日の日記に記録（寝るまでが1日）

## 完了前チェックリスト

```
□ `date` コマンドで曜日を確認した
□ 日常セクションに食事・家族・ペット・散歩・仕事を記録した
□ 日常セクションが開発より上にある
□ memory/ にファイル操作で書き込んだ
□ 投稿文は日本語のみ、作業ログ混入なし
□ 推定値と実測値を混同していない
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [karaage0703](https://github.com/karaage0703)
- **Source:** [karaage0703/ai-assistant-workspace](https://github.com/karaage0703/ai-assistant-workspace)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-karaage0703-ai-assistant-workspace-xs-diary
- Seller: https://agentstack.voostack.com/s/karaage0703
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
