kb-output

kb-output is a command for Claude Code from thomascasali/claude-kb-workflow. It costs 0 tokens per session (785 once invoked), scanned A, original, MIT.

A command for turning an LLM Wiki page into a Marp slide deck, a Markdown-based presentation format.

In plain words
What is it for?
Use it to create slides, summaries, or reports from one wiki page or from all concepts, with the specified output structure.
Why use it?
It provides a repeatable way to present documented project or concept knowledge without rewriting the source manually.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to create slides, summaries, or reports from one wiki page or from all concepts, with the specified output structure.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thomascasali/claude-kb-workflow/kb-output
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.

Clone the repo
git clone --depth 1 https://github.com/thomascasali/claude-kb-workflow

Made for: Claude Code.

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-output

README.md
[![agentmods](https://agentmods.dev/badge/commands/thomascasali/claude-kb-workflow/kb-output.svg)](https://agentmods.dev/commands/thomascasali/claude-kb-workflow/kb-output)
Your own site
<a href="https://agentmods.dev/commands/thomascasali/claude-kb-workflow/kb-output"><img src="https://agentmods.dev/badge/commands/thomascasali/claude-kb-workflow/kb-output.svg" alt="Measured on agentmods" height="20"></a>
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 785 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.00000 $0.00785
Opus 5 $0.00000 $0.00392
Sonnet 5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00078

Measured 7d ago against content hash 3995a2b89c6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

kb-output 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 7d 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.

commands/kb-output.md · 81 lines

How it starts

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

/kb-output — Esporta wiki page come presentazione Marp

Esporta una pagina della LLM Wiki in formato slide deck Marp: $ARGUMENTS

Path: $LLM_WIKI_PATH per la wiki sorgente.

Parsing argomenti

  • Formato: /kb-output [pagina] [--slides|--summary|--report]
  • Esempi:
    • /kb-output flutter-architecture --slides
    • /kb-output nome-progetto --summary
    • /kb-output --slides (senza pagina = genera slides per tutti i concepts)

Steps

Modalità --slides (default)

  1. Leggi la pagina wiki specificata da $LLM_WIKI_PATH/wiki/

    • Se è un progetto: wiki/projects/[pagina].md
    • Se è un concetto: wiki/concepts/[pagina].md
  2. Genera un file Marp nella cartella $LLM_WIKI_PATH/output/:

    • Nome file: YYYY-MM-DD-[pagina].md
    • Frontmatter obbligatorio:
      ---
      marp: true
      theme: default
      paginate: true
      backgroundColor: #1a1a2e
      color: #eee
      style: |
        section { font-family: 'Segoe UI', sans-serif; }
        h1 { color: #e94560; }
        h2 { color: #0f3460; }
        code { background: #16213e; }
      ---
      
    • Struttura slide per progetto:
      • Slide 1: Titolo + Stack + Data
      • Slide 2: Quick Reference (repo, server, comandi deploy)
      • Slide 3-N: Stato corrente, sezioni principali
      • Slide finale: Open Questions + Link KB
    • Struttura slide per concetto:
      • Slide 1: Titolo + definizione
      • Slide 2-N: Pattern principali con code blocks
      • Slide finale: Progetti che usano questo concetto [[wikilinks]]
  3. Mostra il comando di esportazione da eseguire:

    # Preview nel browser
    npx @marp-team/marp-cli $LLM_WIKI_PATH/output/[file].md -o output.html --allow-local-files
    
    # PDF
    npx @marp-team/marp-cli $LLM_WIKI_PATH/output/[file].md --pdf -o output.pdf
    
    # PPTX
    npx @marp-team/marp-cli $LLM_WIKI_PATH/output/[file].md --pptx -o output.pptx
    

Modalità --summary

Genera un riassunto testuale della pagina in 5-10 bullet points. Utile per quick review prima di una sessione su quel progetto.

Read the full file on GitHub · 81 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. 7d ago First seen · 81 lines · 0 tokens per session scan A 3995a2b89c6a

Subscribe to this mod's changes

kb-output is a command published in the GitHub repository thomascasali/claude-kb-workflow (2 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 785 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-31.