Skip to content
Back to skills

Gog Task Yuiseki Ai Secretary 2

ASecurity

gog CLI で Google Tasks(ToDo)の追加・更新・完了を実行する手順。ユーザーが「ToDoを追加して」「タスク更新して」「メール確認してタスク更新して」と依頼したときに使う。メール起点の依頼では先に .codex/skills/gog-gmail/SKILL.md を使ってメール内容を確認し、その結果を Tasks に反映する。

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsgobashapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill gog-task-yuiseki-ai-secretary-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gog Task Yuiseki Ai Secretary 2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gog Task Yuiseki Ai Secretary 2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-gog-task-yuiseki-ai-secretary-2/badge)](https://www.skillsdirectory.com/skills/majiayu000-gog-task-yuiseki-ai-secretary-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gog-task
description: gog CLI で Google Tasks(ToDo)の追加・更新・完了を実行する手順。ユーザーが「ToDoを追加して」「タスク更新して」「メール確認してタスク更新して」と依頼したときに使う。メール起点の依頼では先に .codex/skills/gog-gmail/SKILL.md を使ってメール内容を確認し、その結果を Tasks に反映する。
---

# Gog Tasks Update

## 前提

- 実行バイナリは `/home/yuiseki/bin/gog` を使う。
- API コマンドは `--account <email>` を常につける。
- この環境は keyring backend が `file` のため、非 TTY では失敗することがある。
- 失敗時の代表エラー:
  - `no TTY available for keyring file backend password prompt; set GOG_KEYRING_PASSWORD`

## 連携フロー(メール確認してタスク更新して)

1. 先に `.codex/skills/gog-gmail/SKILL.md` を使い、対象メールを確定する。
2. メールから最低限の情報を抽出する。
   - `date`
   - `from`
   - `subject`
   - `action`(何をやるか)
3. Tasks に反映する。
   - 同種の未完了タスクがあるなら `update`
   - なければ `add`
4. 完了報告時は `done` を使ってクローズする。

## タスクリスト選択

タスクリスト一覧:

```bash
/home/yuiseki/bin/gog --account <email> tasks lists list --json
```

`マイタスク` の ID を取得:

```bash
/home/yuiseki/bin/gog --account <email> tasks lists list --json \
| sed -n '/^{/,$p' \
| jq -r '.tasklists[] | select(.title=="マイタスク") | .id'
```

## 追加(add)

まず dry-run:

```bash
/home/yuiseki/bin/gog --dry-run --account <email> tasks add <tasklistId> \
  --title '<title>' \
  --notes 'メール: <subject> (<date>) / from: <from> / action: <action>' \
  --json
```

問題なければ本実行:

```bash
/home/yuiseki/bin/gog --account <email> tasks add <tasklistId> \
  --title '<title>' \
  --notes 'メール: <subject> (<date>) / from: <from> / action: <action>' \
  --json
```

## 更新(update)

既存タスクを検索:

```bash
/home/yuiseki/bin/gog --account <email> tasks list <tasklistId> --all --show-completed --json \
| sed -n '/^{/,$p' \
| jq -r '.tasks[] | select(.status=="needsAction" and (.title | contains("<keyword>"))) | .id'
```

更新実行:

```bash
/home/yuiseki/bin/gog --account <email> tasks update <tasklistId> <taskId> \
  --notes '<latest notes>' \
  --json
```

## 完了(done)

```bash
/home/yuiseki/bin/gog --account <email> tasks done <tasklistId> <taskId> --json
```

## 次から活用できるノウハウ

- Write 操作(`add`/`update`/`done`)の前に `--dry-run` で確認する。
- メール起点タスクは `subject` と `date` を notes に残し、追跡可能にする。
- `gmail search` の返却順は最新保証ではないため、メール特定は `.codex/skills/gog-gmail/SKILL.md` の再ソート手順を使う。
- TTY 実行時にパスフレーズプロンプトが標準出力へ混ざる場合があるため、JSON パース前に `sed -n '/^{/,$p'` で先頭ノイズを除去する。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.