.claude/skills/bma-data-check/SKILL.md
Check if enough source_accuracy data has accumulated for BMA Phase 2
npx skillsauth add tadams95/kardashev-network bma-data-checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Query production MongoDB to check whether per-source accuracy data is sufficient for BMA (Bayesian Model Averaging) Phase 2 implementation.
BMA requires per-source sigma_i (error standard deviation) per lead-time bucket. Each bucket needs >= 30 events for a reliable estimate. As of 2026-03-13, the <=18h bucket had only 9 events.
ssh [email protected] "mongosh '$MONGODB_URI' --quiet --eval '
db.source_accuracy.aggregate([
{ \$match: { absError: { \$exists: true, \$lte: 25 } } },
{ \$addFields: {
leadBucket: {
\$switch: {
branches: [
{ case: { \$lte: [\"\$leadHours\", 18] }, then: \"<=18h\" },
{ case: { \$lte: [\"\$leadHours\", 30] }, then: \"18-30h\" },
{ case: { \$lte: [\"\$leadHours\", 42] }, then: \"30-42h\" }
],
default: \">42h\"
}
}
}},
{ \$group: {
_id: { source: \"\$source\", leadBucket: \"\$leadBucket\" },
count: { \$sum: 1 },
rmse: { \$sqrt: { \$avg: { \$pow: [\"\$absError\", 2] } } },
mae: { \$avg: \"\$absError\" }
}},
{ \$sort: { \"_id.source\": 1, \"_id.leadBucket\": 1 } }
]).forEach(r => print(JSON.stringify(r)))
'"
development
Web3 integration with wagmi and viem - wallet connection, contract interactions, transactions, RainbowKit. Use when implementing wallet features, reading/writing contracts, or handling blockchain transactions.
content-media
Three.js textures - loading, configuration, UV mapping, environment maps. Use when loading images, configuring texture properties, or working with HDR environments.
data-ai
Three.js shaders - GLSL, ShaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or extending built-in materials.
testing
Three.js post-processing - EffectComposer, bloom, depth of field, custom passes. Use when adding visual effects, screen-space effects, or enhancing rendered output.