cargo
Rust package manager (36 subcommands).
kscale-biomimetic-supply
- User asks about supply chain resilience for humanoid robotics
Full skill instructions
"Biology solved locomotion without rare earths. What can we learn?"
Applied skill bridging K-Scale's robotics stack with bio-inspired alternatives that reduce supply chain risk. Grounded in commercially available 2025 technology and US foreign policy vagaries.
┌─────────────────────────────────────────────────────────────────────────────┐
│ HUMANOID ROBOT SUPPLY CHAIN VULNERABILITY │
│ │
│ China Controls: │
│ ═══════════════ │
│ • 63% of humanoid robot component manufacturing │
│ • 90% of heavy rare earth processing (for NdFeB magnets) │
│ • 77% of global battery production capacity │
│ • 4/5 major vision system suppliers │
│ │
│ Impact of 145% Tariffs (2025): │
│ ═════════════════════════════ │
│ • Unitree G1: $16,000 → $40,000 (2.5x increase) │
│ • 22% price spike on Chinese actuators to North America │
│ • K-Scale K-Bot at $8,999 becomes competitive ONLY if domestic sourcing │
│ │
│ K-Scale's Current Actuators: │
│ ════════════════════════════ │
│ • Quasi-direct drive (6:1 to 8:1 reduction) │
│ • 120 Nm peak torque, 3-12 Nm nominal │
│ • Low-inertia, back-drivable │
│ • Contains NdFeB magnets (rare earth dependent) │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
CONCEPT: PPO policy network requiring GPU training + ONNX inference
BIOLOGY: Central Pattern Generator (CPG) in spinal cord
ONTOLOGY: Gene Ontology - rhythmic process (GO:0048511)
EXAMPLE: Lamprey swimming CPG produces locomotion with ~100 neurons
SOURCE: https://www.ebi.ac.uk/ols4/ontologies/go/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FGO_0048511
PRACTICAL APPLICATION:
━━━━━━━━━━━━━━━━━━━━━
2025 ASIC chip (65nm): 232.7μW power, 609x power savings over solver-based
12-neuron spiking CPG: runs on Arduino, <5ms gait transition error
Domestic fab: GlobalFoundries (Malta, NY) or Intel (Arizona)
SUPPLY CHAIN WIN: Replace NVIDIA dependency with domestic ASIC
CONCEPT: NdFeB permanent magnet motor (rare earth dependent)
BIOLOGY: Muscle fiber using calcium-driven actin-myosin
ONTOLOGY: Gene Ontology - muscle contraction (GO:0006936)
EXAMPLE: Cardiac muscle generates 2-4 N/cm² without rare earths
SOURCE: https://www.ebi.ac.uk/ols4/ontologies/go/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FGO_0006936
PRACTICAL APPLICATION:
━━━━━━━━━━━━━━━━━━━━━
Ferrite magnet motors: 30% heavier but domestically sourceable
Switched reluctance motors: Zero permanent magnets, US-made
Proterial NMF15: Highest-performance ferrite (Japan ally supply)
Niron magnetics: US plant opening 2029 (FeN clean magnets)
SUPPLY CHAIN WIN: Trade weight for sovereignty
CONCEPT: Vision system + IMU + force sensors (4/5 suppliers Chinese)
BIOLOGY: Muscle spindle proprioception + efference copy
ONTOLOGY: Gene Ontology - proprioception (GO:0019230)
EXAMPLE: Cats land on feet using vestibular + proprioceptive prediction
SOURCE: https://www.ebi.ac.uk/ols4/ontologies/go/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FGO_0019230
PRACTICAL APPLICATION:
━━━━━━━━━━━━━━━━━━━━━
Efference copy in policy: Predict sensor readings from motor commands
Corollary discharge: Cancel self-generated signals, reduce sensor count
State estimation: Kalman filter replaces expensive sensor fusion
SUPPLY CHAIN WIN: Fewer sensors = fewer Chinese components
CONCEPT: Lithium-ion battery (77% Chinese production)
BIOLOGY: ATP/ADP energy currency with local regeneration
ONTOLOGY: Gene Ontology - ATP metabolic process (GO:0046034)
EXAMPLE: Mitochondria recycle ADP→ATP at point of use
SOURCE: https://www.ebi.ac.uk/ols4/ontologies/go/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FGO_0046034
PRACTICAL APPLICATION:
━━━━━━━━━━━━━━━━━━━━━
Sodium-ion batteries: CATL alternatives, no lithium required
Supercapacitors: Domestic Maxwell/Tesla production
Regenerative braking: Quasi-direct drive enables back-EMF capture
Tethered operation: Industrial deployment avoids battery entirely
SUPPLY CHAIN WIN: LFP/Na-ion from US Gigafactories (Nevada, Texas)
| Layer | Chinese Risk | Domestic Alternative | Status |
|---|---|---|---|
| Training GPU | NVIDIA (Taiwan fab) | AMD MI300 (TSMC→GloFo roadmap) | Available |
| Inference | Jetson (Taiwan fab) | Qualcomm QCS8550 (US design) | Available |
| CPG ASIC | None | GloFo 12nm (Malta, NY) | Prototyping |
| MCU | STM32 (EU) | TI MSP432 (Dallas, TX) | Available |
| Component | Chinese Risk | Alternative | Trade-off |
|---|---|---|---|
| NdFeB magnets | 90% China | Ferrite (Japan) | +30% weight |
| Frameless motors | High | Allied Motion (US) | +20% cost |
| Harmonic drives | Moderate | HD Systems (Japan) | Ally source |
| Encoders | Moderate | US Digital (WA) | Available |
# K-Scale kinfer on Qualcomm (US-designed, TSMC fab)
import onnxruntime as ort
# QNN Execution Provider (Qualcomm Neural Network)
session = ort.InferenceSession(
"walking_policy.onnx",
providers=['QNNExecutionProvider'] # US-designed NPU
)
# Performance (2025 benchmarks):
# - Jetson Orin: 12ms inference
# - Qualcomm 8 Gen 3: 15ms inference
# - Domestic ASIC CPG: <1ms (spiking)
class BiomimeticController:
"""
Combines learned policy with CPG oscillator.
Reduces neural network size → runs on domestic silicon.
"""
def __init__(self):
# Minimal policy (runs on Arduino-class MCU)
self.policy = load_quantized_model("gait_modulator.int8.onnx")
# CPG oscillator (12 neurons, no GPU needed)
self.cpg = KimuraCPG(
n_oscillators=6, # One per leg DOF
coupling_weights=self.load_biologically_plausible_coupling()
)
def step(self, observation: np.ndarray) -> np.ndarray:
# Policy modulates CPG parameters (not raw actions)
# This is how biology does it: brainstem modulates spinal CPG
modulation = self.policy.run(observation) # ~1ms on ARM
# CPG generates rhythmic pattern
rhythm = self.cpg.step(modulation) # ~10μs
# Combine: smooth, efficient, runs on domestic silicon
return rhythm
CONCEPT: Feedback control loop (PID controller)
BIOLOGY: Repressilator oscillator (3-gene negative feedback)
ONTOLOGY: Gene Ontology - negative regulation of gene expression (GO:0010629)
EXAMPLE: lac operon: lactose presence → enzyme production → lactose consumed → enzyme stops
SOURCE: https://www.ebi.ac.uk/ols4/ontologies/go/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FGO_0010629
APPLICATION TO ROBOTICS:
━━━━━━━━━━━━━━━━━━━━━━
The repressilator shows that 3 components with mutual inhibition
create stable oscillations. This maps to:
Motor A inhibits Motor B inhibits Motor C inhibits Motor A
For hexapod/quadruped: natural tripod gait emerges from
chemical-reaction-network-style coupling.
No optimization needed. No GPU needed. Domestic MCU sufficient.
Trit: 0 (ERGODIC)
Role: Coordination (bio-supply bridge)
Color: #25BC3D
URI: skill://kscale-biomimetic-supply#25BC3D
kscale-biomimetic-supply (0) ⊗ kscale-ksim (0) ⊗
active-inference-robotics (+1) ⊗ kscale-kos (-1) = 0 ✓
Coordination (0): This skill bridges biological principles to supply chain
Generation (+1): active-inference-robotics synthesizes theory→practice
Verification (-1): kos validates hardware deployment
@present SchBiomimeticSupply(FreeSchema) begin
# Objects
Component::Ob
Supplier::Ob
Alternative::Ob
Risk::Ob
# Morphisms
sources::Hom(Component, Supplier)
mitigates::Hom(Alternative, Risk)
replaces::Hom(Alternative, Component)
# Attributes
Country::AttrType
TariffRate::AttrType
WeightPenalty::AttrType
origin::Attr(Supplier, Country)
tariff::Attr(Supplier, TariffRate)
penalty::Attr(Alternative, WeightPenalty)
end
Rust package manager (36 subcommands).
Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma...
**Status**: 🌳 Production Ready (upstream in StringZilla v3+) **Type**: High-Performance String Operations / SIMD-Accelerated Text Processing **Principle**: Zero-copy views, SIMD/SWAR acceleration, deterministic hashing **Frame**: Cross-language interoperability (C, C++, Python, Rust, Go, Swift, ...
Conformal Geometric Algebra (CGA) for circles, spheres, and Möbius transformations
Verifies code implements exactly what documentation specifies for blockchain audits. Use when comparing code against whitepapers, finding gaps between specs and implementation, or performing compliance checks for protocol implementations.
Systems programming and performance optimization using Zig. Provides low-level abstractions, memory-safe compiled code, and performance benchmarking. Use for system-level operations, optimization, and interoperability with C/POSIX APIs.
Topological soliton detection and agency bridge with anyonic fusion algebra for concept composition
PayPal MCP server integration for invoices, payments, subscriptions, disputes, and transaction reporting via @paypal/mcp.
Unison language - content-addressed functional programming with abilities for effects, distributed computing, and structural types. Use for pure functional code, effect management, distributed systems, and refactoring-safe codebases.
Google Tasks management via TasksACSet. Transforms task operations into GF(3)-typed Interactions, routes to triadic queues, detects saturation for task-zero-as-condensed-state.
World C Skill
Syrup binary serialization for OCapN/CapTP wire format. Canonical encoding for capability messages.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience