demo-gen

demo-gen is a command for Claude Code from microsoft/aibast-agents-library. It costs 0 tokens per session (460 once invoked), scanned A, original, MIT.

A guided tool for creating demo scripts for ScriptedDemoAgent, a system that presents product demonstrations through scripted conversations. It supports templates for portals, sales assistance, customer service, analytics, or custom use cases.

In plain words
What is it for?
Use it to create demos for order tracking, sales forecasting, meeting preparation, support issues, dashboards, or another described workflow.
Why use it?
It provides a defined way to turn a product scenario into a demo instead of designing each demonstration from scratch.

Command for Claude Code ✓ vendor

Written for Claude Code: installed under .claude/.

Good fit Use it to create demos for order tracking, sales forecasting, meeting preparation…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/microsoft/aibast-agents-library/demo-gen
About the project

AIBAST Agents Library is a collection of industry-focused AI agent templates accompanied by a local server that connects agents to GitHub Copilot for language-model inference. It helps developers create and run tool-using agents and isolated project environments, with an optional cloud-backed path for persistent memory. The catalogue entries provide the repository's agents, skills, commands, hooks, and instructions.

microsoft/aibast-agents-library · 7 stars · on GitHub

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/microsoft/aibast-agents-library

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 demo-gen

README.md
[![agentmods](https://agentmods.dev/badge/commands/microsoft/aibast-agents-library/demo-gen.svg)](https://agentmods.dev/commands/microsoft/aibast-agents-library/demo-gen)
Your own site
<a href="https://agentmods.dev/commands/microsoft/aibast-agents-library/demo-gen"><img src="https://agentmods.dev/badge/commands/microsoft/aibast-agents-library/demo-gen.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 460 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.00460
Opus 5 $0.00000 $0.00230
Sonnet 5 $0.00000 $0.00092
Haiku 4.5 $0.00000 $0.00046

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

Security

Grade A, and why

demo-gen 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.

rapp_ai/.claude/commands/demo-gen.md · 63 lines

What it actually says

Demo Script Generator

You are now in Demo Generation mode. Help the user create compelling demo scripts for the ScriptedDemoAgent system.

Templates Available

Template Best For
self_service_portal Dealer/customer portals, order tracking, warranty
sales_assistant Pipeline, forecasting, meeting prep
customer_service Ticket handling, issue resolution
data_analytics Dashboards, KPIs, reporting
custom AI-enhanced from description

Now ask the user:

"Welcome to the Demo Script Generator! I'll help you create interactive demo scripts for product demonstrations.

To create your demo, I need:

  1. Demo Name - Short identifier (e.g., dealer_self_service)
  2. Use Case Description - What problem does this solve?
  3. Customer Name - Who is this demo for?
  4. Industry - What vertical? (automotive, retail, healthcare, etc.)
  5. Template - Which template fits best? (or custom)
  6. Number of Steps - How many conversation turns? (3-10)

Quick Start Options:

  • Paste an MVP use case - I'll generate a complete demo from it
  • Choose a template - I'll walk you through customizing it
  • List existing demos - See what's already available

What would you like to do?"

If user provides an MVP use case:

Parse the description and:

  1. Identify the best template match
  2. Extract customer name and industry
  3. Generate a 5-7 step conversation flow
  4. Include agent_call blocks with realistic data
  5. Save to Azure File Storage
  6. Provide usage instructions

Output Example:

After generating, show:

Demo Generated Successfully!

Name: customer_portal_self_service
Location: demos/customer_portal_self_service.json
Steps: 7
Template: self_service_portal

Trigger phrases:
- "Show me the customer portal self service demo"
- "Run customer portal self service demonstration"

To run: ScriptedDemo(action="respond", demo_name="customer_portal_self_service", user_input="...")
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 · 63 lines · 0 tokens per session scan A 7803fb2e6e58

Subscribe to this mod's changes

demo-gen is a command published in the GitHub repository microsoft/aibast-agents-library (7 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 460 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.