Auto-Card Engine (Non-Blocking Story Card Generator & Manager)

Auto-Card Engine creates and updates Story Cards for characters, locations, factions, and events as you play—with zero extra "Continue" clicks. Features confidence scoring, anti-junk filtering, deduplication, automatic prose/header schema detection (including /ac-mode and /ac-sync), card adoption/release commands (/ac-adopt, /ac-release, /ac-list, /ac-clean), and compact HUD support. It is a non-blocking Story Card generator and lifecycle manager for AI Dungeon that tracks characters, locations, factions, and events as your story unfolds—without forcing extra "Continue" clicks or stalling narrative pacing. Key Features Zero Extra Continues: Runs synchronously in JavaScript without hijacking the turn loop or forcing multi-step generation passes—one player action stays one story beat. Smart Scoring & Anti-Junk Filtering: Filters out stop-words, sentence starters, and fleeting noise while scoring dialogue attribution, honorifics, spatial cues, and faction/place names so minor mentions don't clutter your deck. Three-Layer Deduplication: Checks normalized titles, existing keys and name-token aliases, and plural/close-spelling variants to prevent duplicate Story Cards. Scenario- & Script-Agnostic Schema Adaptation: Automatically detects whether a scenario favors freeform prose or structured Header: / [Header] sections (cloning the newest header layout per category and routing cues like outfit details, pronouns, and roles to matching sections). Works alongside other scenario scripts without overwriting pre-authored cards by default. Mid-Game Format Switching & Migration: Switch formatting on the fly with /ac-mode [auto|prose|structured] and upgrade earlier script-managed prose cards to newly detected header layouts with /ac-sync while preserving existing text. Selective Card Ownership & Cleanup: Bring existing cards into management with /ac-adopt, hand cards off to other scripts or manual edits with /ac-release, inspect managed cards with /ac-list, and sweep deleted cards with /ac-clean. Compact & Full HUD Readouts: Supports both a compact single-line status readout (great for mobile screens) and a fuller multi-line view. Slash Commands /cards or /ac — View the full Auto-Card HUD and queued candidates /approve <name|all> — Promote queued candidate(s) into Story Cards /dismiss <name|all> — Dismiss queued candidate(s) /card <type>: <Title> | <notes> — Manually create or update a Story Card /ac-mode [auto|prose|structured] — Switch or cycle card formatting mode /ac-adopt <title> — Opt an existing Story Card into Auto-Card management /ac-release <title> — Remove a Story Card from Auto-Card management /ac-list — List managed Story Cards and their format modes /ac-clean — Remove deleted/missing cards from managed tracking /ac-sync — Migrate earlier managed prose cards to current structured headers

Cover art for Auto-Card Engine (Non-Blocking Story Card Generator & Manager), a s cript script on AI Dungeon