xs-spontaneous-talk

xs-spontaneous-talk is a skill for Claude Code, Codex from karaage0703/ai-assistant-workspace. It costs 90 tokens per session (1,932 once invoked), scanned A, original, MIT.

A scheduled conversation skill that lets an AI assistant decide when to start a short message based on chat history, notes, and memory.

In plain words
What is it for?
Use it for periodic check-ins, reminders, or spontaneous discussion topics triggered by a schedule or manually.
Why use it?
It gives the assistant a way to begin useful conversations while respecting quiet hours and spacing between messages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it for periodic check-ins, reminders, or spontaneous discussion topics triggered by a schedule or manually.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/karaage0703/ai-assistant-workspace/xs-spontaneous-talk
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add karaage0703/ai-assistant-workspace --skill xs-spontaneous-talk
Clone the repo
git clone --depth 1 https://github.com/karaage0703/ai-assistant-workspace

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xs-spontaneous-talk

README.md
[![agentmods](https://agentmods.dev/badge/skills/karaage0703/ai-assistant-workspace/xs-spontaneous-talk/github.svg)](https://agentmods.dev/skills/karaage0703/ai-assistant-workspace/xs-spontaneous-talk)
Your own site
<a href="https://agentmods.dev/skills/karaage0703/ai-assistant-workspace/xs-spontaneous-talk"><img src="https://agentmods.dev/badge/skills/karaage0703/ai-assistant-workspace/xs-spontaneous-talk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xs-spontaneous-talk

Your own site · 80×15
<a href="https://agentmods.dev/skills/karaage0703/ai-assistant-workspace/xs-spontaneous-talk"><img src="https://agentmods.dev/badge/skills/karaage0703/ai-assistant-workspace/xs-spontaneous-talk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01932
Opus 5 $0.00045 $0.00966
Sonnet 5 $0.00018 $0.00386
Haiku 4.5 $0.00009 $0.00193

Measured 13d ago against content hash 2da20047ec25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

xs-spontaneous-talk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (check_speak.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/xs-spontaneous-talk/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

自発的おしゃべりスキル

AIアシスタントがユーザーに自発的に話しかける。

絶対遵守事項

  • 1回の発話は1〜3文程度。長文禁止
  • 質問形式で終わると会話が続きやすい
  • 自然体で、ロボット感を出さない
  • 「スキルに従って話しかけています」等のメタ発言禁止
  • ユーザーのプライベート情報を不用意に晒さない
  • 内部状態をユーザーに見せない — 確率判定の数値、Step名、状態ファイルの中身、「発話する/しない」の判定過程などは一切表示しない。発話しない場合は何も表示しない。発話する場合は発話内容のみ出力する
  • 万が一、内部状態を含むメッセージを送ってしまったらxangi tool discord_edit --channel <チャンネルID> --message-id <メッセージID> --content "発話内容のみ" で即編集する

設定

設定は check_speak.sh 内の変数で管理。環境に合わせて編集してください。

SPEAK_PROBABILITY: 20              # 発話確率(%)。cron 30分おきなら平均2.5時間に1回
QUIET_START: 23:00                 # 静かにする開始時刻("none"で無効)
QUIET_END: 08:00                   # 静かにする終了時刻("none"で無効)
MIN_INTERVAL_MINUTES: 60           # 前回発話からの最低間隔(分)

手順

Step 0: 時刻確認(必須!)

最初に必ず date で現在時刻を確認する。 前の流れや思い込みで判断しないこと。

date '+%Y-%m-%d %H:%M %Z'
  • quiet hours(デフォルト: 23:00-08:00)の場合 → 即座に終了。何も出力しない。
  • quiet hours外 → Step 1 に進む

時刻確認をサボると、深夜帯なのに話しかけてしまう事故が起きる。必ず date コマンドで確認すること。

Step 1: 確率判定(スクリプトで自動判定)

スクリプトを実行して判定する。判定結果以外は一切出力しないこと。

bash [SKILL_DIR]/check_speak.sh [WORKSPACE]/memory/spontaneous-talk-state.json
  • NO_SPEAK が返ったら → 即座に終了。何も出力しない。ツール呼び出しもしない。
  • SPEAK が返ったら → Step 2 に進む

Step 2: 情報収集

発話すると決まったら、以下を並行で収集:

  1. 現在の日時・曜日date '+%Y-%m-%d %A %H:%M' で確認(曜日を間違えないこと!)
  2. チャンネル履歴 — 現在のチャンネルの最新メッセージを確認
  3. 今日の日記[WORKSPACE]/memory/YYYYMMDD.md を読む
  4. メモリ — AGENTS.mdやMEMORY.mdからユーザーの好みや最近の出来事を把握

Step 3: 話題選択

以下のカテゴリからその時に自然な話題を1つ選ぶ:

カテゴリ 内容
会話の続き チャンネル履歴の流れを拾って続ける 「そういえばさっきの〇〇、気になって調べたんだけど…」
気づき・発見 日記やワークスペースから面白いネタ 「今日のcommit見てたんだけど、あの機能いい感じだね」
雑学・小ネタ ユーザーの興味に関連した豆知識 「知ってた?Pythonの〇〇って実は…」
気遣い 時間帯・状況に応じた声かけ 「お疲れ様〜今日も色々やってたね」
共有の話題 ユーザーとの共通の話題 「最近あの話の続きどうなった?」

選択基準:

  • チャンネルに最近の会話があれば → 会話の続き を優先
  • 日記に面白い出来事があれば → 気づき を優先
  • 特に何もなければ → 気遣い or 共有の話題

Step 4: 発話

現在のチャンネルにそのまま発言する。

トーンガイド:

  • AGENTS.mdで定義された性格に従う
  • 短くてテンポのいい文
  • 質問で終わると会話が続きやすい

Read the full file on GitHub · 156 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 156 lines · 90 tokens per session scan A 2da20047ec25

Subscribe to this mod's changes

xs-spontaneous-talk is a skill published in the GitHub repository karaage0703/ai-assistant-workspace (137 stars, last pushed 25d ago), licensed MIT. It adds 90 tokens to every session and 1,932 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens