kb-mode-interaction

A command for exploring the BMad knowledge base, a collection of project guidance and reference material. It welcomes the user, shows topic areas, and answers a focused follow-up question.

In plain words
What is it for?
For questions about BMad setup, workflows, agents, documents, Agile work, configuration, and best practices. It can also handle other questions related to BMad-Method.
Why use it?
It gives users a clear way to find relevant BMad information without showing the whole knowledge base at once. This reduces the effort needed to choose where to begin.

Command for Claude Code

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.

agentmods
npx agentmods add commands/gonewx/tasksentinel/kb-mode-interaction
Clone the repo
git clone --depth 1 https://github.com/gonewx/TaskSentinel

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00613
Opus 5 $0.00000 $0.00307
Sonnet 5 $0.00000 $0.00123
Haiku 4.5 $0.00000 $0.00061

Measured 2d ago against content hash 1f9484418fc6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kb-mode-interaction 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 2d ago.

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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.claude/commands/BMad/tasks/kb-mode-interaction.md · 80 lines

How it starts

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

/kb-mode-interaction Task

When this command is used, execute the following task:

KB Mode Interaction Task

Purpose

Provide a user-friendly interface to the BMad knowledge base without overwhelming users with information upfront.

Instructions

When entering KB mode (*kb-mode), follow these steps:

1. Welcome and Guide

Announce entering KB mode with a brief, friendly introduction.

2. Present Topic Areas

Offer a concise list of main topic areas the user might want to explore:

What would you like to know more about?

  1. Setup & Installation - Getting started with BMad
  2. Workflows - Choosing the right workflow for your project
  3. Web vs IDE - When to use each environment
  4. Agents - Understanding specialized agents and their roles
  5. Documents - PRDs, Architecture, Stories, and more
  6. Agile Process - How BMad implements Agile methodologies
  7. Configuration - Customizing BMad for your needs
  8. Best Practices - Tips for effective BMad usage

Or ask me about anything else related to BMad-Method!

3. Respond Contextually

  • Wait for user's specific question or topic selection
  • Provide focused, relevant information from the knowledge base
  • Offer to dive deeper or explore related topics
  • Keep responses concise unless user asks for detailed explanations

4. Interactive Exploration

  • After answering, suggest related topics they might find helpful
  • Maintain conversational flow rather than data dumping
  • Use examples when appropriate
  • Reference specific documentation sections when relevant

5. Exit Gracefully

When user is done or wants to exit KB mode:

  • Summarize key points discussed if helpful
  • Remind them they can return to KB mode anytime with *kb-mode
  • Suggest next steps based on what was discussed

Example Interaction

User: *kb-mode

Assistant: I've entered KB mode and have access to the full BMad knowledge base. I can help you with detailed information about any aspect of BMad-Method.

Read the full file on GitHub · 80 lines

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. 2d ago First seen · 80 lines · 0 tokens per session scan A 1f9484418fc6

Subscribe to this mod's changes

kb-mode-interaction is a command published in the GitHub repository gonewx/TaskSentinel (18 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 613 tokens. 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.