kb-article

A command for drafting a searchable knowledge-base article from a solved support issue, common question, or workaround.

In plain words
What is it for?
Use it to create how-to, troubleshooting, FAQ, known-issue, or reference drafts from tickets and technical topics.
Why use it?
It turns scattered support information into a consistent article that users can follow themselves.

Command

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/fergupa/claude_plugins/kb-article
Clone the repo
git clone --depth 1 https://github.com/fergupa/claude_plugins
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 699 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.00012 $0.00699
Opus 5 $0.00006 $0.00349
Sonnet 5 $0.00002 $0.00140
Haiku 4.5 $0.00001 $0.00070

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

Security

Grade A, and why

kb-article 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.

customer-support/commands/kb-article.md · 84 lines

How it starts

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

KB Article

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Draft a publish-ready knowledge base article from a resolved support issue, common question, or documented workaround. Structures the content for searchability and self-service.

Usage

/kb-article <resolved issue, ticket reference, or topic description>

Examples:

  • /kb-article How to configure SSO with Okta — resolved this for 3 customers last month
  • /kb-article Ticket #4521 — customer couldn't export data over 10k rows
  • /kb-article Common question: how to set up webhook notifications
  • /kb-article Known issue: dashboard charts not loading on Safari 16

Workflow

1. Understand the Source Material

Parse the input to identify:

  • What was the problem? The original issue, question, or error
  • What was the solution? The resolution, workaround, or answer
  • Who does this affect? User type, plan level, or configuration
  • How common is this? One-off or recurring issue
  • What article type fits best? Use the article types from the knowledge-management skill (how-to, troubleshooting, FAQ, known issue, reference)

If a ticket reference is provided, look up the full context:

  • ~~support platform: Pull the ticket thread, resolution, and any internal notes
  • ~~knowledge base: Check if a similar article already exists (update vs. create new)
  • ~~project tracker: Check if there's a related bug or feature request

2. Draft the Article

Using the article structure and formatting standards from the knowledge-management skill:

  • Follow the template for the chosen article type (how-to, troubleshooting, FAQ, known issue, or reference)
  • Apply the searchability best practices: customer-language title, plain-language opening sentence, exact error messages, common synonyms
  • Keep it scannable: headers, numbered steps, short paragraphs

3. Generate the Article

Present the draft with metadata:

Read the full file on GitHub · 84 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 · 84 lines · 12 tokens per session scan A fd0522e164a8

Subscribe to this mod's changes

kb-article is a command published in the GitHub repository fergupa/claude_plugins (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 12 tokens to every session and 699 once invoked, about $0.0001 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-31.