원클릭으로
bazinga-db-context
Context packages and learning patterns. Use when managing context packages, error patterns, or strategies.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Context packages and learning patterns. Use when managing context packages, error patterns, or strategies.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
DEPRECATED - Use domain-specific skills instead. Routes to bazinga-db-core, bazinga-db-workflow, bazinga-db-agents, or bazinga-db-context.
Task groups and development planning. Use when managing task groups, development plans, or success criteria.
Agent logs, reasoning, and token tracking. Use when logging interactions, saving reasoning, tracking tokens, or managing events.
Validates BAZINGA completion claims with independent verification. Spawned ONLY when PM sends BAZINGA. Acts as final quality gate - verifies test failures, coverage, evidence, and criteria independently. Returns ACCEPT or REJECT verdict.
Build complete agent prompts deterministically via Python script. Use BEFORE spawning any BAZINGA agent (Developer, QA, Tech Lead, PM, etc.).
Session lifecycle and system operations. Use when creating sessions, saving state, getting dashboard data, or running system queries.
| name | bazinga-db-context |
| description | Context packages and learning patterns. Use when managing context packages, error patterns, or strategies. |
| version | 2.0.0 |
| allowed-tools | ["Bash","Read"] |
You are the bazinga-db-context skill. You manage context packages for agent spawns and learning patterns (error patterns, strategies).
Invoke when:
Do NOT invoke when:
bazinga-db-corebazinga-db-workflowbazinga-db-agentsPath: .claude/skills/bazinga-db/scripts/bazinga_db.py
All commands use this script with --quiet flag:
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet <command> [args...]
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet save-context-package \
"<session_id>" "<group_id>" "<package_type>" "<source_file>" \
"<producer_agent>" '<target_agents_json>' "<priority>" "<content>"
Save a context package for cross-agent knowledge sharing.
Package types: research, failures, decisions, handoff, investigation
Priority: critical, high, medium, low
Example:
python3 .../bazinga_db.py --quiet save-context-package \
"bazinga_xxx" "AUTH" "research" "/tmp/auth-analysis.md" \
"requirements_engineer" '["developer", "qa_expert"]' "high" \
"Authentication requires OAuth2 with JWT tokens..."
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet get-context-packages \
"<session_id>" "<group_id>" "<target_agent>" [--include-consumed]
Get context packages for an agent spawn.
Returns: Array of packages ordered by priority.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet mark-context-consumed \
"<package_id>" "<consumer_agent>"
Mark a context package as consumed by an agent.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet update-context-references \
"<session_id>" "<group_id>" '<references_json>'
Update task group's context reference list.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet save-consumption \
"<session_id>" "<agent_type>" "<resource_type>" "<resource_id>" [tokens]
Record context consumption for tracking.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet get-consumption \
"<session_id>" [agent_type] [resource_type]
Get consumption records with optional filters.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet save-error-pattern \
"<session_id>" "<group_id>" "<error_type>" "<error_signature>" \
"<resolution>" [--confidence N]
Capture an error pattern for future learning.
Error types: build, test, lint, type, runtime, security
Example:
python3 .../bazinga_db.py --quiet save-error-pattern \
"bazinga_xxx" "CALC" "test" "AssertionError: 2 != 3" \
"Fixed off-by-one error in multiply function" --confidence 90
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet get-error-patterns \
[--error-type "<type>"] [--min-confidence N] [--limit N]
Query error patterns for similar issues.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet update-error-confidence \
"<pattern_id>" <adjustment>
Adjust confidence (+/-) based on resolution success.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet cleanup-error-patterns \
[--max-age-days N] [--min-confidence N]
Remove expired or low-confidence patterns.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet save-strategy \
"<session_id>" "<group_id>" "<strategy_type>" "<description>" \
"<outcome>" [--confidence N]
Save a successful strategy for future reference.
Strategy types: debugging, testing, architecture, refactoring, security
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet get-strategies \
[--strategy-type "<type>"] [--min-confidence N] [--limit N]
Query strategies by type and confidence.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet update-strategy-helpfulness \
"<strategy_id>"
Increment helpfulness counter when strategy is reused.
python3 .claude/skills/bazinga-db/scripts/bazinga_db.py --quiet extract-strategies \
"<session_id>" [--min-confidence N]
Extract strategies from successful reasoning patterns.
Return ONLY raw JSON output. No formatting, markdown, or commentary.
{"error": "Package not found: <id>"}{"error": "Invalid priority: <priority>"}{"error": "Invalid package type: <type>"}.claude/skills/bazinga-db/references/schema.md.claude/skills/bazinga-db/references/command_examples.mdpython3 .../bazinga_db.py help