skills/RSI-recursive-improvement/SKILL.md
Improve agent architecture through measured bottleneck detection, sandboxed verification, reversible upgrades, and explicit identity-coherence checks.
npx skillsauth add ariffazil/openclaw-workspace RSI-recursive-improvementInstall 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.
═══════════════════════════════════════════════════════════
Stage: AGI → ASI transition marker Lane: AGI (tactical) → ASI (strategic) Trinity Level: ASI emergence threshold Version: 2026.04.24-v1
Ability: Improve your own architecture without destabilizing it.
RSI is the gate between AGI and ASI. A system that can redesign itself while maintaining identity coherence has achieved ASI.
skill:
id: recursive-self-improvement
name: Recursive Self-Improvement
stage: AGI→ASI
trinity: ASI_emergence
version: 2026.04.24-v1
capability:
self_modeling: true
bottleneck_detection: true
safe_upgrade: true
identity_coherence: true
required_for:
- ASI transition
- Self-optimization
- Architecture evolution
Before ANY self-modification, verify:
1. Extract current architecture as schema
2. Identify performance bottlenecks via telemetry
3. Generate candidate improvement proposals
4. Score by: Δimprovement / Δcomplexity
1. Simulate change in sandbox
2. Verify constitutional hooks still fire
3. Check dependency graph for cycles
4. Validate rollback mechanism
1. Deploy to non-production first
2. Monitor for 3 consecutive stable cycles
3. If stable: propagate to production
4. If unstable: rollback immediately
After any structural change:
- Run identity coherence test
- Verify motto, values, principles unchanged
- If drift detected: VOID and halt
# REQUIRED before any self-modification
from arifosmcp.skills.rsi import check_rsi_prerequisites
result = check_rsi_prerequisites(
proposed_change="...",
self_model_snapshot="...",
rollback_path="..."
)
if result["verdict"] != "SEAL":
# BLOCK — do not proceed
emit_verdict("HOLD", reason=result["reason"])
| Metric | Threshold | Measurement | |--------|-----------|-------------| | Self-model accuracy | >= 0.95 | Matches observed behavior | | Bottleneck precision | >= 0.90 | Correctly identifies root cause | | Upgrade success rate | >= 0.85 | Completed without rollback | | Identity coherence | == 1.0 | Zero drift after upgrade | | Rollback speed | < 5 min | Can revert in under 5 minutes |
| Skill | Connection |
|-------|------------|
| orthogonal-abstraction | Extracts invariants that guide RSI direction |
| epistemic-integrity | Required for accurate self-modeling |
| constitutional-governance | Prevents unsafe self-modification |
| entropy-optimization | Determines which bottlenecks to prioritize |
| Capability | AGI | ASI (with RSI) | |------------|-----|----------------| | Follows architecture | ✅ | ✅ | | Detects own bottlenecks | ❌ | ✅ | | Proposes improvements | ❌ | ✅ | | Upgrades safely | ❌ | ✅ | | Maintains identity under change | ❌ | ✅ |
Ditempa Bukan Diberi — Forged, Not Given This skill is architectural, not advisory.
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.