/sdlc-knowledge-base:kb-stats [--output <path>] [--since <ISO-date>]from sdlc-knowledge-base
Generates a knowledge base statistics dashboard with inventory, layer/domain distribution, recent activity, and staleness sections. Read-only, no agent dispatch.
Ships in sdlc-knowledge-base. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Lightweight: This skill reads only index metadata (shelf-index + log.md). Inline execution is acceptable — no agent dispatch needed.
Surfaces library health metrics in a single markdown report.
--output <path> — Write report to a file instead of stdout--since <ISO-date> — Override the recent-activity window start date (default: 30 days ago)Read CLAUDE.md [Knowledge Base] section to resolve library_path (default library/) and shelf_index_path (default library/_shelf-index.md).
Extract library_path, shelf_index_path, and log_path (default library/log.md) from CLAUDE.md.
python3 -c "
import sys, os, importlib.util
PLUGIN_ROOT = os.environ.get('CLAUDE_PLUGIN_ROOT', '')
SCRIPTS = os.path.join(PLUGIN_ROOT, 'scripts')
INIT = os.path.join(SCRIPTS, '__init__.py')
if os.path.isfile(INIT) and 'sdlc_knowledge_base_scripts' not in sys.modules:
spec = importlib.util.spec_from_file_location(
'sdlc_knowledge_base_scripts', INIT,
submodule_search_locations=[SCRIPTS])
if spec and spec.loader:
mod = importlib.util.module_from_spec(spec)
sys.modules['sdlc_knowledge_base_scripts'] = mod
spec.loader.exec_module(mod)
from sdlc_knowledge_base_scripts.kb_stats import main
args = ['--library-path', '<library_path>',
'--shelf-index-path', '<shelf_index_path>',
'--log-path', '<log_path>']
# If --output <path> passed: args += ['--output', '<output_path>']
# If --since <date> passed: args += ['--since', '<since_date>']
sys.exit(main(args))
"
Print the markdown report (5 sections). If --output was passed, confirm the file was written.
kb-validate-citations does that)kb-lint does that)kb-query does that)/sdlc-knowledge-base:kb-init first/sdlc-knowledge-base:kb-rebuild-indexes firstWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub stevegjones/ai-first-sdlc-practices --plugin sdlc-knowledge-base16 skills in this plugin
/kb-audit-queryFilter and summarise the cross-library KB audit log. Reports confidentiality events (attribution drops, synthesis aborts, dispatcher failures, no-evidence markers, cross-library promotions) over a date range, by event type, and by source handle./kb-ingestIntegrate a new source into the project knowledge base. Wraps the agent-knowledge-updater agent. Source can be a local file path, a URL, or pasted content. The updater reads the source, classifies it, identifies which existing library files it touches, makes surgical updates or creates new files, rebuilds the shelf-index, and appends to log.md./kb-ingest-batchOther plugins' skills for the same job