kb-article

kb-article is a command for Claude Code from fergupa/claude_plugins. It costs 12 tokens per session (699 once invoked), scanned A, original, Apache-2.0.

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 for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../CONNECTORS.md)..

Part of the customer-support plugin — 5 skills, 5 commands shipped together

Good fit Use it to create how-to, troubleshooting, FAQ, known-issue, or reference drafts from tickets and technical topics.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/fergupa/claude_plugins
agentmods
npx agentmods add commands/fergupa/claude_plugins/kb-article

Made for: Claude Code.

Or install customer-support, the plugin that ships this one along with the rest of its 5 skills, 5 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kb-article

README.md
[![agentmods](https://agentmods.dev/badge/commands/fergupa/claude_plugins/kb-article/github.svg)](https://agentmods.dev/commands/fergupa/claude_plugins/kb-article)
Your own site
<a href="https://agentmods.dev/commands/fergupa/claude_plugins/kb-article"><img src="https://agentmods.dev/badge/commands/fergupa/claude_plugins/kb-article/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kb-article

Your own site · 80×15
<a href="https://agentmods.dev/commands/fergupa/claude_plugins/kb-article"><img src="https://agentmods.dev/badge/commands/fergupa/claude_plugins/kb-article.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00012 $0.00699
Opus 5.5 $0.00005 $0.00280
Sonnet 5.5 $0.00002 $0.00140
Haiku 4.5 $0.00001 $0.00070

Measured 1mo ago against content hash fd0522e164a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 8mo ago), licensed Apache-2.0. It adds 12 tokens to every session and 699 once invoked, about $0.0000 per session on Opus 5.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.