Btw logo

Btw

Organization
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

Overview

Publisherww-w-ai
Repositorybkit-claude-code
Skill namebtw
Stars
601
Forks
154
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by ww-w-ai on GitHub. Read the source before you install it.

Installation

Install the Btw AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Btw in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Btw on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Btw is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/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.

Frequently asked questions

What does the Btw AI skill do?

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

Why use Btw on TypingMind?

Because you install it once and use it with any model. Btw is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Btw in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ww-w-ai/bkit-claude-code/tree/main/skills/btw. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Btw?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Btw?

As many as you like. As long as a model supports skills, you can use Btw with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Btw AI skill free?

Yes. It is published on GitHub by ww-w-ai under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇