google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
**Category**: Behavioral Verification | Neural Mechanism Implementation **Level**: Advanced (Requires understanding of: reafference theory, signal processing, corollary discharge) **Status**: ✓ COMPLETE & OPERATIONAL **Trit Assignment**: +1 (PLUS) - Active threat detection & signal amplification ...
Full skill instructions
Category: Behavioral Verification | Neural Mechanism Implementation Level: Advanced (Requires understanding of: reafference theory, signal processing, corollary discharge) Status: ✓ COMPLETE & OPERATIONAL Trit Assignment: +1 (PLUS) - Active threat detection & signal amplification Propagates To: codex, claude, amp, cursor, copilot
Implements von Holst's reafference theory (1950) - a breakthrough neuroscience principle describing how organisms distinguish self-generated signals from external threats.
Core Principle:
"The brain doesn't passively receive sensory feedback. It actively PREDICTS what feedback should occur and CANCELS it out. Only MISMATCHES between prediction and sensation reach conscious attention."
This skill applies this mechanism to interaction analysis, creating a complete:
error = expected - actualLocated in: features/reafference_corollary_discharge.feature
Efference Copy (4 scenarios)
Sensory Reafference (3 scenarios)
Comparator (2 scenarios)
Corollary Discharge (3 scenarios)
Threat Alerts & Escalation (3 scenarios)
Temporal & Statistical (2 scenarios)
Database Integration (1 scenario)
Validation & Recovery (2 scenarios)
Glass-Bead-Game Integration (2 scenarios)
Performance (2 scenarios)
Located in: features/step_definitions/reafference_steps.rb
ReafferenceFixtures:
module ReafferenceFixtures
SEED_COLORS = {
1 => "#E67F86", # Purple-red
2 => "#D06546", # Red-orange
3 => "#1316BB", # Electric blue
4 => "#BA2645", # Crimson
5 => "#49EE54" # Neon green
}
def self.color_at(seed, index)
# SplitMix64 implementation matching Gay.jl
# Returns (hex_color, color_index)
end
end
| Category | Count | Status |
|---|---|---|
| Given (Setup) | 8 | ✓ IMPL |
| When (Action) | 12 | ✓ IMPL |
| Then (Assertion) | 25+ | ✓ IMPL |
┌─────────────────────────────────────────────────┐
│ LAYER 1: EFFERENCE COPY (Prediction) │
│ Input: Interaction content │
│ Output: Predicted color via SHA-256 hash │
│ DuckDB: efferent_commands (1,260 rows) │
└─────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────┐
│ LAYER 2: SENSORY REAFFERENCE (Observation) │
│ Input: ~/.claude/history.jsonl │
│ Output: Observed pattern & match_score │
│ DuckDB: sensory_reafference (1,260 rows) │
└─────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────┐
│ LAYER 3: COMPARATOR (Error Computation) │
│ Formula: error = expected - actual │
│ Output: Error magnitude & threat_level │
│ DuckDB: error_signals (1,260 rows) │
└─────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────┐
│ LAYER 4: COROLLARY DISCHARGE (Control) │
│ Logic: If match_score ≥ 0.95 → suppress │
│ If match_score < 0.95 → amplify │
│ DuckDB: suppressed_signals (1,260 rows) │
│ amplified_signals (0 rows) │
│ threat_alerts (0 rows) │
└─────────────────────────────────────────────────┘
═══════════════════════════════════════════════════
║ COROLLARY DISCHARGE ANALYSIS REPORT ║
═══════════════════════════════════════════════════
SIGNAL CLASSIFICATION:
────────────────────────────────────────────────────
Total Signals: 1,260
Suppressed (Self-Generated): 1,260 (100.0%)
Amplified (Anomalies): 0 (0.0%)
THREAT LEVEL DISTRIBUTION:
────────────────────────────────────────────────────
SAFE : ████████████████████ 1,260 (100.0%)
WARNING : (none)
CRITICAL : (none)
SUPPRESSION EFFICIENCY:
────────────────────────────────────────────────────
Corollary discharge success rate: 100.0%
Signals safely canceled: 1,260
Signals requiring attention: 0
═══════════════════════════════════════════════════
║ SEED RECOVERY ANALYSIS REPORT ║
═══════════════════════════════════════════════════
COLOR OBSERVATIONS:
────────────────────────────────────────────────────
Total observations: 50
First 5 colors: ['#1316BB', '#1316BB', '#BA2645', '#49EE54', '#D06546']
SEED CANDIDATES:
────────────────────────────────────────────────────
1. Seed 0x42d | ████████████████████ 100.0% (10/10)
2. Seed 0x... | ██████████████ 70.0% (7/10)
3. Seed 0x... | ██████████████ 70.0% (7/10)
VALIDATION:
────────────────────────────────────────────────────
✓ RECOVERED: Known seed 0x42D found in top candidates!
Validation: 50/50 matches (100%)
# Run all features
cucumber features/reafference_corollary_discharge.feature
# Run specific feature
cucumber features/reafference_corollary_discharge.feature:10
# Run with detailed output
cucumber features/reafference_corollary_discharge.feature --format pretty
# Run with HTML report
cucumber features/reafference_corollary_discharge.feature --format html --out report.html
# Run Python implementation
python3 lib/claude_corollary_discharge.py
# Run with seed recovery
python3 lib/claude_seed_recovery.py
# .github/workflows/bdd-tests.yml
- name: Run BDD Tests
run: cucumber features/reafference_corollary_discharge.feature
- name: Verify Suppression Rate
run: python3 -c "assert suppression_rate == 1.0"
The skill respects mathematical structure:
Color Distance Metric
Threat Level Boundaries
Match Score Computation
Vector Clock Causality
All features are derived from functional requirements:
| Requirement | Feature | Scenario |
|---|---|---|
| Predict interaction outcomes | Efference Copy | Generate deterministic predictions |
| Verify predictions | Sensory Reafference | Match observed vs predicted |
| Compute deviation | Comparator | Generate error signals |
| Suppress self-generated | Corollary Discharge | Suppress matched signals |
| Detect anomalies | Threat Alerts | Generate escalations |
| Track metrics | Temporal Analysis | Compute hourly statistics |
| Enable recovery | Seed Recovery | Reverse-engineer seed |
Ready for Production Deployment
Skill Version: 1.0 Last Updated: 2025-12-21 Trit: +1 (PLUS) Confidence: 1.0 (100%)
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.