Agent skill

Xs Spontaneous Talk

by karaage0703 in karaage0703/ai-assistant-workspace

AIアシスタントが自発的に話しかけてくるスキル. An agent skill from karaage0703/ai-assistant-workspace.

MITAuto-check passedProductivity & Automation

Install Xs Spontaneous Talk

skills CLI
$ npx skills add karaage0703/ai-assistant-workspace --skill xs-spontaneous-talk -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install karaage0703/ai-assistant-workspace xs-spontaneous-talk --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/karaage0703/ai-assistant-workspace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/xs-spontaneous-talk .claude/skills/xs-spontaneous-talk && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xs-spontaneous-talk
GitHub stars
136
Token cost
~834 tokens
SKILL.md length
152 words
Files
2
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

AIアシスタントが自発的に話しかけてくるスキル. An agent skill from karaage0703/ai-assistant-workspace.

  • Works in 6 steps: 時刻確認(必須!) → 確率判定(スクリプトで自動判定) → 情報収集 → …
  • Tasks that involve Scheduled and recurring tasks
  • SKILL.md covers 絶対遵守事項, 設定, 手順 and スケジュール登録, plus 2 more sections
  • Runs Shell scripts from its folder; calls bash

What it does

Xs Spontaneous Talk is an agent skill from karaage0703/ai-assistant-workspace. AIアシスタントが自発的に話しかけてくるスキル。 cronで定期発動し、確率判定で発話するか決める。 チャンネルの会話履歴・日記・メモリをもとに話題を選ぶ。 「話しかけて」「spontaneous-talk」で手動発動も可能。

Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `check_speak.sh`).

It sits in Productivity & Automation, covering Scheduled and recurring tasks. The licence is MIT.

When your agent uses it

  • Tasks that involve Scheduled and recurring tasks

Example prompts

  • “/xs-spontaneous-talk”

Requirements

  • A Bash shell

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. 時刻確認(必須!)
  2. 確率判定(スクリプトで自動判定)
  3. 情報収集
  4. 話題選択
  5. 発話
  6. 状態保存

What it can do on your machine

Read from SKILL.md and the folder at commit c689862. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Xs Spontaneous Talk loads about 834 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 152 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~834

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from karaage0703/ai-assistant-workspace at commit c689862, republished under its MIT licence (© karaage0703). 152 words, ~834 tokens.

Download SKILL.mdSave it as .claude/skills/xs-spontaneous-talk/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
xs-spontaneous-talk
description
AIアシスタントが自発的に話しかけてくるスキル。 cronで定期発動し、確率判定で発話するか決める。 チャンネルの会話履歴・日記・メモリをもとに話題を選ぶ。 「話しかけて」「spontaneous-talk」で手動発動も可能。

自発的おしゃべりスキル

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 で現在時刻を確認する。 前の流れや思い込みで判断しないこと。

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

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

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

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

bash
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で定義された性格に従う
  • 短くてテンポのいい文
  • 質問で終わると会話が続きやすい

良い例:

お、今日のブログ記事よかったね。あの話、反応どうだった?
さっきの話の続きだけど、あれってどうなった?

悪い例(NG):

こんにちは!今日も一日頑張りましょう!何かお手伝いできることはありますか?
→ ロボット感満載。こういうのダメ
あなたの著書は素晴らしい本ですね!
→ 唐突なヨイショ。気持ち悪い
Step 5: 状態保存

発話後、状態ファイルを更新:

json
// [WORKSPACE]/memory/spontaneous-talk-state.json
{
  "lastSpoke": "2026-02-09T15:30:00+09:00",
  "lastTopic": "会話の続き",
  "speakCount": 42
}

スケジュール登録

xangiの場合、xangi tool で登録できます。

xangi tool schedule_add --input "cron */30 * * * * spontaneous-talk を実行" --channel <チャンネルID> --platform discord

管理:

xangi tool schedule_list              # 一覧表示
xangi tool schedule_toggle --id <ID>  # 有効/無効切り替え
xangi tool schedule_remove --id <ID>  # 削除

チェック項目

  • date コマンドで現在時刻を確認したか(思い込みで判断していないか)
  • quiet hoursの判定は正しいか
  • check_speak.sh を実行したか
  • NO_SPEAK の場合、何も出力せず即終了しているか(ツール呼び出し・テキスト出力一切なし)
  • SPEAK の場合、発話内容のみ出力しているか(判定過程や内部状態を含めていないか)
  • 出力前チェック: 「cronトリガー」「SPEAK」「確率」「前回」「Step」等の内部ワードが含まれていたら削除すること
  • 出力後チェック: 送信したメッセージに内部状態が漏れていたら、即座に xangi tool discord_edit で修正する
  • 状態ファイルを更新したか(発話した場合のみ)

手動発動

「話しかけて」「spontaneous-talk」で確率判定なしに即座に発話する。

© karaage0703, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/xs-spontaneous-talk of karaage0703/ai-assistant-workspace.

  • SKILL.md
  • check_speak.sh

Open the folder on GitHubat commit c689862

Compare with similar skills

Xs Spontaneous Talk next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Xs Spontaneous Talk compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xs Spontaneous Talk this skillkaraage0703/ai-assistant-workspace136—~834Automated safety check: PassMIT
ScheduleTinyAGI/tinyagi3.6k—~1.4kAutomated safety check: PassMIT
Send User MessageTinyAGI/tinyagi3.6k—~829Automated safety check: PassMIT
Cron Opsczl9707/build-your-own-openclaw1.9k—~593Automated safety check: PassMIT
X Bookmarkssharbelxyz/x-bookmarks289—~2kAutomated safety check: NotesNone
Wp Wpcli And OpsAutomattic/agent-skills2112 repos~988Automated safety check: PassNone

Similar skills

  • Schedule

    TinyAGI/tinyagi

    Create, list, and delete scheduled tasks (recurring or one-time) that send messages to agents.

    3.6k GitHub stars~1.4k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Send User Message

    TinyAGI/tinyagi

    Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp).

    3.6k GitHub stars~829 tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Cron Ops

    czl9707/build-your-own-openclaw

    Create, list, and delete scheduled cron jobs. An agent skill from czl9707/build-your-own-openclaw.

    1.9k GitHub stars~593 tokensUpdated 3 mo ago
    Productivity & AutomationAuto-check passed
  • X Bookmarks

    sharbelxyz/x-bookmarks

    Fetch, summarize, and manage X/Twitter bookmarks via bird CLI or X API v2.

    289 GitHub stars~2k tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check: notes
  • Wp Wpcli And Ops

    Automattic/agent-skills

    A skill your agent uses when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and…

    211 GitHub starsUsed in 2 repos~988 tokens
    Productivity & AutomationAuto-check passed
  • Ohdear

    ohdearapp/ohdear-cli

    Manage Oh Dear website monitoring using the ohdear CLI. An agent skill from ohdearapp/ohdear-cli.

    141 GitHub stars~1.1k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed

More from karaage0703/ai-assistant-workspace

All 23 skills in this repo
  • Xs Arxiv

    karaage0703/ai-assistant-workspace

    arXiv論文の検索・トレンド発見・詳細分析を行う統合スキル。興味度スコアでユーザーに刺さる論文を自動選定。PDF全文読み込み・Notion蓄積対応。「arXivチェックして」「論文検索」「論文分析して」で使用。

    136 GitHub stars~1.4k tokensUpdated 18 days ago
    Auto-check passed
  • Xs Multi Agent

    karaage0703/ai-assistant-workspace

    異なるproviderのAI(Codex/Claude/Grok/Cursor/Antigravity等)から独立意見を集め、共通論点で相互検討して統合する。最初に利用可能エージェントを検出する。「みんなで考えて」「マルチエージェントで分析して」「複数のAIでレビューして」と言われたら使う。

    136 GitHub stars~1.8k tokensUpdated 18 days ago
    Auto-check passed
  • Xs Podcast

    karaage0703/ai-assistant-workspace

    ポッドキャストの音声取得・文字起こし・まとめを行う統合スキル。「ポッドキャストまとめて」「音声配信をダウンロード」「Podcastの内容を教えて」で使用。

    136 GitHub stars~557 tokensUpdated 18 days ago
    Auto-check passed
  • Xs Skill Creator

    karaage0703/ai-assistant-workspace

    スキルの作成・改善を行うスキル。既存スキルの分析から抽出したパターンとテンプレートで統一感のあるスキルを効率的に作成。スキルを作りたい、新しいスキルを追加したい、スキルを改善したい、SKILL.mdを書きたい場合に使用。

    136 GitHub stars~1k tokensUpdated 18 days ago
    Auto-check passed
  • Xs Bridge Ideas

    karaage0703/ai-assistant-workspace

    ワークスペース内の遠い知識や活動をつないで、新しいアイデアを生成する思考支援スキル。過去記事・メモ・発信資産から企画や実装ネタを出したい時に使用。「アイデア出して」「知識をつないで」「一見関係ないものをつないで」で使用。

    136 GitHub stars~487 tokensUpdated 18 days ago
    Auto-check passed
  • Xs Calendar

    karaage0703/ai-assistant-workspace

    カレンダー予定を確認するスキル。ICS(Googleカレンダー等)と手動追加(画像読み取り)を統合。「今日の予定」「明日の予定」「カレンダー画像送って」「スケジュール確認」で使用。/calendar で発動。

    136 GitHub stars~441 tokensUpdated 18 days ago
    Auto-check passed

Questions about Xs Spontaneous Talk

What does Xs Spontaneous Talk do?

AIアシスタントが自発的に話しかけてくるスキル. An agent skill from karaage0703/ai-assistant-workspace. Xs Spontaneous Talk is an agent skill from karaage0703/ai-assistant-workspace.

When should I use Xs Spontaneous Talk?

Xs Spontaneous Talk fits situations like: tasks that involve Scheduled and recurring tasks.

How do I install Xs Spontaneous Talk in Claude Code?

Run `npx skills add karaage0703/ai-assistant-workspace --skill xs-spontaneous-talk -a claude-code`. Or copy the skill folder (skills/xs-spontaneous-talk in karaage0703/ai-assistant-workspace) into .claude/skills/xs-spontaneous-talk in your project. Claude Code loads it when a task matches its description.

How do I install Xs Spontaneous Talk in Codex?

Run `npx skills add karaage0703/ai-assistant-workspace --skill xs-spontaneous-talk -a codex`. Or copy the skill folder (skills/xs-spontaneous-talk in karaage0703/ai-assistant-workspace) into .agents/skills/xs-spontaneous-talk in your project. Codex loads it when a task matches its description.

Can I use Xs Spontaneous Talk in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add karaage0703/ai-assistant-workspace --skill xs-spontaneous-talk -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xs-spontaneous-talk, .gemini/skills/xs-spontaneous-talk, .github/skills/xs-spontaneous-talk and .opencode/skills/xs-spontaneous-talk in your project.

What does Xs Spontaneous Talk need to run?

Going by SKILL.md and its folder, Xs Spontaneous Talk needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.

Does Xs Spontaneous Talk access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Xs Spontaneous Talk safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Xs Spontaneous Talk use?

Xs Spontaneous Talk is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xs Spontaneous Talk use?

About 834 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Xs Spontaneous Talk?

Skills that share tags, products or a category with Xs Spontaneous Talk: Schedule (TinyAGI/tinyagi, 3.6k stars), Send User Message (TinyAGI/tinyagi, 3.6k stars), Cron Ops (czl9707/build-your-own-openclaw, 1.9k stars) and X Bookmarks (sharbelxyz/x-bookmarks, 289 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xs Spontaneous Talk?

karaage0703 (a GitHub user) maintains it in karaage0703/ai-assistant-workspace, which has 136 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on September 23, 2026.

Source: karaage0703/ai-assistant-workspace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.