boundary-bbcr-fallback
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Apply BBAM (BigBig Attention Modulation) to optimize attention distribution and focus reasoning on critical elements.
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/wfgy-bbamContext preview
What this command does when you run it.
Apply BBAM (BigBig Attention Modulation) to optimize attention distribution and focus reasoning on critical elements.
tools: - read - write - edit - grep arguments: $FOCUS
Apply BBAM (BigBig Attention Modulation) to optimize attention distribution and focus reasoning on critical elements.
Based on the WFGY project: https://github.com/onestardao/WFGY
â_i = a_i * exp(-γ * std(a)) Where: - a_i: Raw attention score for element i - â_i: Modulated attention score - std(a): Standard deviation of attention scores - γ: Modulation factor (0.618, golden ratio)
1. **Analyze Attention Distribution**
2. **Compute Attention Statistics**
3. **Apply Modulation Formula**
4. **Optimize Focus Distribution**
5. **Generate Focused Reasoning**
BBAM Attention Modulation Analysis ═══════════════════════════════════════ Focus Area: "$FOCUS" Attention Distribution: ┌─────────────────────────────────────┐ │ Element │ Raw │ Modulated │ ├─────────────────────────────────────┤ │ [Element 1] │ 0.35 │ 0.42 ▓▓▓▓ │ │ [Element 2] │ 0.25 │ 0.28 ▓▓▓ │ │ [Element 3] │ 0.20 │ 0.18 ▓▓ │ │ [Element 4] │ 0.15 │ 0.08 ▓ │ │ [Element 5] │ 0.05 │ 0.04 ░ │ └─────────────────────────────────────┘ Statistics: - Mean Attention: [value] - Std Deviation: [value] - Modulation Factor: [value] - Entropy: [value] Critical Focus Points: 1. [High attention element] - [why it matters] 2. [High attention element] - [why it matters] 3. [High attention element] - [why it matters] Optimized Reasoning: [Reasoning focused on high-attention elements] Attention Gaps Identified: [Areas needing more focus]
{
"gamma": 0.618,
"min_attention": 0.05,
"top_k_elements": 5,
"smoothing_factor": 0.1,
"outlier_threshold": 2.0
}Combine with:
A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Analyze semantic position relative to knowledge boundaries to prevent hallucination and identify uncertainty zones.
Generate a visual heatmap of knowledge boundaries showing safe zones, risk areas, and semantic coverage.
Evaluate the current risk level and provide detailed analysis of potential hallucination or reasoning failure.
Find and construct semantic bridges to safely navigate from current position to target concept without crossing dangerous boundaries.
Takes an input prompt and returns ONLY a token-optimized version that preserves meaning while minimizing token count. Based on LLM tokenization principles:…