Claude-skill-registry bazinga-db
DEPRECATED - Use domain-specific skills instead. Routes to bazinga-db-core, bazinga-db-workflow, bazinga-db-agents, or bazinga-db-context.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/bazinga-db" ~/.claude/skills/majiayu000-claude-skill-registry-bazinga-db && rm -rf "$T"
manifest:
skills/data/bazinga-db/SKILL.mdsource content
BAZINGA-DB (Deprecated Router)
This skill is deprecated. Use domain-specific skills instead:
| Domain | Skill | Use For |
|---|---|---|
| Sessions & State | | Sessions, state snapshots, dashboard |
| Tasks & Plans | | Task groups, development plans, success criteria |
| Agent Tracking | | Logs, reasoning, tokens, skill output, events |
| Context & Learning | | Context packages, error patterns, strategies |
Command Routing Table
| Command | Target Skill |
|---|---|
, , | |
, , | |
, , | |
, | |
, , | |
, , | |
, , | |
, | |
, , | |
| |
, | |
, , | |
| |
, | |
, , | |
| |
, | |
, | |
, | |
, | |
, | |
Quick Reference
⚠️ DO NOT use CLI directly. Instead, invoke the domain-specific skill:
| Need | Invoke |
|---|---|
| Session/state ops | |
| Task groups/plans | |
| Logging/reasoning | |
| Context packages | |
Reference docs (for skill authors only):
- Schema:
.claude/skills/bazinga-db/references/schema.md - Examples:
.claude/skills/bazinga-db/references/command_examples.md
If You're Here By Mistake
- Identify what you're trying to do
- Invoke the correct domain skill:
- Session ops? →
Skill(command: "bazinga-db-core") - Task groups? →
Skill(command: "bazinga-db-workflow") - Logging/reasoning? →
Skill(command: "bazinga-db-agents") - Context packages? →
Skill(command: "bazinga-db-context")
- Session ops? →
Migration Notes
The original monolithic bazinga-db skill (v1.x, 887 lines) has been split into 4 domain-focused skills for better maintainability and to stay within file size limits.
All scripts remain in this directory:
- Main CLI (unchanged)scripts/bazinga_db.py
- Database initializationscripts/init_db.py
- Session creation helperscripts/init_session.py
All references remain in this directory:
- Full database schemareferences/schema.md
- Detailed command examplesreferences/command_examples.md
Technical Notes
Event Idempotency (v17+)
Events support idempotency keys via
idx_logs_idempotency unique index:
- Index:
WHERE(session_id, event_subtype, group_id, idempotency_key)idempotency_key IS NOT NULL AND log_type = 'event' - Pattern: INSERT-first, catch IntegrityError, return existing row
- Recommended key format:
{session_id}|{group_id}|{event_type}|{iteration}
Group ID Validation (v18+)
Three explicit validators for group_id scope (See: research/domain-skill-migration-phase6-ultrathink.md):
| Validator | Allows 'global' | Use For |
|---|---|---|
| ✅ Yes | Events, reasoning, state (session-level) |
| ❌ No | Investigation state, consumption, strategies |
| ❌ No (+ reserved) | Task group creation (rejects 'session', 'all', 'default') |
Reserved identifiers (cannot be used as task_group_id):
global, session, all, default
Legacy Data Diagnostic
# Scan for invalid group_ids (CI/CD) python3 .claude/skills/bazinga-db/scripts/bazinga_db.py diagnose-group-ids # Auto-fix issues python3 .claude/skills/bazinga-db/scripts/bazinga_db.py diagnose-group-ids --fix