Btwのロゴ

Btw

組織
ww-w-ai
btw

By-The-Way: capture improvement ideas the moment they surface, without derailing the task in progress. Triggers: /bkit:btw, /bkit:btw list, /bkit:btw analyze, /bkit:btw promote, /bkit:btw stats, btw, suggestion, improve, idea, feedback

概要

公開者ww-w-ai
リポジトリbkit-claude-code
スキル名btw
スター
601
フォーク
154
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    ww-w-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Btw」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ww-w-ai/bkit-claude-code/tree/main/skills/btw
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ww-w-ai/bkit-claude-code.git /tmp/bkit-claude-code
mkdir -p .claude/skills
cp -r /tmp/bkit-claude-code/skills/btw .claude/skills/btw
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBtwを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBtwを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Btwは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

/btw - By-The-Way Suggestion Collector

작업 중 "이거 스킬로 만들면 좋겠다", "이 패턴 자동화하면 좋겠다" 등의 개선 제안을 즉시 기록하고 관리하는 도구.

Commands

/btw {suggestion} - Record a suggestion

  1. Read .bkit/btw-suggestions.json (create if not exists)
  2. Generate next ID: btw-NNN (zero-padded, sequential)
  3. Create suggestion entry:
    json
    {
      "id": "btw-001",
      "timestamp": "ISO-8601",
      "suggestion": "{user input}",
      "context": {
        "file": "{current working file if identifiable}",
        "pdcaPhase": "{current PDCA phase from .bkit-memory.json or null}",
        "feature": "{current feature or null}"
      },
      "category": "auto-detect",
      "status": "pending",
      "promotedTo": null,
      "priority": null,
      "teamContext": {
        "isTeamSession": false,
        "phase": "{PDCA phase or null}",
        "role": "{teammate role that discovered this, or 'user'}",
        "pattern": "{orchestration pattern or null}"
      }
    }
  4. Auto-detect category from suggestion text:
    • skill-request: mentions "skill", "스킬", "자동화", "automate"
    • bug-pattern: mentions "bug", "버그", "오류", "error", "fix"
    • improvement: mentions "개선", "improve", "better", "refactor"
    • documentation: mentions "문서", "doc", "설명", "explain"
    • general: default
  5. Update stats.total count
  6. Respond: "Recorded btw-{NNN}: {truncated suggestion}. Use /btw list to view all."

/btw list - List all suggestions

  1. Read .bkit/btw-suggestions.json
  2. Display table:
    ID       | Status   | Category       | Suggestion (truncated)
    ---------|----------|----------------|----------------------
    btw-001  | pending  | skill-request  | @Flow 모델에서 옵션 목록을 자동...
    btw-002  | promoted | improvement    | DataProxy 패턴에 검증 로직을...
  3. Show summary: Total: N | Pending: N | Promoted: N | Dismissed: N

/btw analyze - Analyze suggestions for skill candidates

  1. Read all pending suggestions from .bkit/btw-suggestions.json
  2. Group by category and find patterns:
    • Cluster similar suggestions (keyword overlap)
    • Count frequency of similar topics
    • Identify suggestions that map to existing bkit skills vs. new skill needs
  3. For each skill candidate:
    • Estimate skill classification: workflow vs capability
    • Suggest skill name and description
    • Reference source suggestion IDs
  4. Output analysis:
    Skill Candidates from /btw Analysis
    =====================================
    
    1. [NEW SKILL] hunikflow-validation (capability)
       Based on: btw-001, btw-005, btw-008
       Frequency: 3 mentions
       Description: Validation pattern guide for @Flow entities
    
    2. [EXISTING SKILL ENHANCEMENT] code-review
       Based on: btw-003
       Suggestion: Add DataProxy-specific review rules
  5. Save analysis timestamp to stats.lastAnalyzed

/btw promote {id} - Promote suggestion to skill creation

  1. Find suggestion by ID in .bkit/btw-suggestions.json
  2. Validate status is "pending" (cannot promote already promoted/dismissed)
  3. Update suggestion:
    • status: "promoted"
    • promotedTo: skill name (derived from suggestion)
  4. Trigger skill-create workflow with context from the suggestion:
    • Pass suggestion text as skill description seed
    • Pass context (file, feature) as project context
  5. Respond: "Promoted btw-{id} -> skill-create pipeline. Run /skill-create to continue."

/btw stats - Show statistics

  1. Read .bkit/btw-suggestions.json
  2. Calculate and display:
    /btw Statistics
    ===============
    Total suggestions: 12
    By status: pending=8, promoted=3, dismissed=1
    By category: skill-request=5, improvement=4, bug-pattern=2, general=1
    Promotion rate: 25.0%
    Last analyzed: 2026-03-13T10:00:00Z
    Top keywords: @Flow(3), DataProxy(2), validation(2)

Data File: .bkit/btw-suggestions.json

Initialize with this structure if file does not exist:

json
{
  "version": "1.0",
  "suggestions": [],
  "stats": {
    "total": 0,
    "promoted": 0,
    "dismissed": 0,
    "lastAnalyzed": null
  }
}

Category Auto-Detection Rules

PatternCategory
skill, 스킬, automate, 자동화, command, 명령skill-request
bug, 버그, error, 오류, fix, 수정bug-pattern
improve, 개선, better, refactor, 리팩토링, optimizeimprovement
doc, 문서, explain, 설명, readme, guidedocumentation
(default)general

Integration Points

  • PDCA Context: Reads .bkit-memory.json for current phase/feature
  • skill-create: /btw promote triggers skill-create workflow
  • skill-needs-extractor: /btw analyze results feed into gap analysis
  • CTO Team: Phase transition triggers btw summary (see below)

CTO Team Integration

When /btw is used during a CTO Team session (/pdca team):

Auto-Detection

  • Check if team session is active via .bkit/runtime/agent-state.json
  • If active: set teamContext.isTeamSession = true and populate phase/role/pattern
  • If not active: set teamContext.isTeamSession = false (default behavior)

Phase Transition Hook

CTO Lead automatically reads btw-suggestions.json at every phase transition:

  • 0 pending: Silent skip (no output, no turns spent)
  • 1+ pending: Brief summary (top 3, category counts) in 1-2 turns
  • CTO does NOT auto-promote — user decides via /btw promote {id}

Session End

cto-stop.js hook outputs btw stats at session end:

  • Total suggestions collected during session
  • Category breakdown
  • Promotion rate

teamContext Field

Added to each suggestion entry when recorded during a team session:

json
"teamContext": {
  "isTeamSession": true,
  "phase": "do",
  "role": "user",
  "pattern": "swarm"
}

This enables /btw analyze to group suggestions by PDCA phase and identify phase-specific patterns.

よくある質問

AIスキル「Btw」では何ができますか?

By-The-Way: capture improvement ideas the moment they surface, without derailing the task in progress. Triggers: /bkit:btw, /bkit:btw list, /bkit:btw analyze, /bkit:btw promote, /bkit:btw stats, btw, suggestion, improve, idea, feedback

TypingMindでBtwを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Btwはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBtwをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ww-w-ai/bkit-claude-code/tree/main/skills/btwを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Btwを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Btwで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBtwを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Btw」は無料ですか?

はい。ww-w-aiがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇