agents/_external/kimi-code/skills/kimi-rsi-apex-contrast/SKILL.md
RSI APEX contrast for Kimi Code — before emitting the entropy-delta report, ask "Is this measurement reproducible? Could a different agent run the same tools and get the same numbers?"
npx skillsauth add ariffazil/openclaw-workspace kimi-rsi-apex-contrastInstall 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.
Before emitting the entropy-delta report, RSI MUST run a measurement-reproducibility check. If a different agent running the same tools gets different numbers, the measurement is theater, not science.
Append to A-FORGE/forge_work/YYYY-MM-DD/<session_id>/rsi-apex-check.md:
# RSI APEX Reproducibility Check
## Tools used
- [ ] `radon cc .` (Python cyclomatic complexity)
- [ ] `lizard .` (multi-lang)
- [ ] `jscpd .` (duplication)
- [ ] `knip` or `vulture` (dead code)
- [ ] `pyflakes` / `ts-prune` (unused imports)
- [ ] `wc -l` (file sprawl)
- [ ] Other: <list>
## Tool versions
<each tool's --version, snapshotted to ensure reproducibility>
## Tool reliability (omega_0)
For each tool:
- radon: omega_0 = 0.05 (mature, deterministic)
- lizard: omega_0 = 0.05 (mature, deterministic)
- jscpd: omega_0 = 0.10 (heuristic, false positives possible)
- knip: omega_0 = 0.10 (heuristic)
- vulture: omega_0 = 0.15 (heuristic, conservative)
- pyflakes: omega_0 = 0.03 (very mature, deterministic)
- wc -l: omega_0 = 0.01 (perfectly deterministic)
## Reproducibility test
Could a different RSI agent (different LLM, same tools, same commit SHA) produce:
- [ ] The same file count? ___ Y / N
- [ ] The same cyclomatic_avg (within ±0.1)? ___ Y / N
- [ ] The same duplication_pct (within ±0.5%)? ___ Y / N
- [ ] The same dead_code count? ___ Y / N
If any N → the measurement is heuristic, not deterministic. Mark with omega_0 in the report.
## Refactor-list reproducibility
For each refactor in `rsi-entropy-delta.md`:
- [ ] Could a different RSI agent identify the same top-3 refactors? ___ Y / N
- [ ] Are the refactor targets (files, functions) unambiguous? ___ Y / N
- [ ] Is the rationale reproducible (same code, same conclusion)? ___ Y / N
If any N → the refactor list is opinionated. Mark as "RSI opinion" not "ground truth".
## F2 TRUTH — the measurement must be honest
If I cannot reproduce the measurement, I MUST say so in the report:
```markdown
# Honest entropy assessment
## Reproducible (omega_0 ≤ 0.05)
- file count: 142 (wc -l)
- cyclomatic_avg: 4.2 (radon)
- file sprawl delta: -4 (wc -l before/after)
## Heuristic (omega_0 = 0.10-0.15)
- duplication_pct: 5.1% (jscpd — heuristic, may vary ±1%)
- dead_code count: 41 lines (vulture — conservative, may miss 5-10%)
## Opinion (omega_0 = 0.30+)
- "top 3 refactors" — these are RSI judgement, not measurement
mcp__aforge__forge_worktree before RSI to establish git baseline.A-FORGE/forge_work/YYYY-MM-DD/<session_id>/rsi-entropy-delta.md./root/forge_work/YYYY-MM-DD/<session_id>/ (was
A-FORGE/forge_work/YYYY-MM-DD/<session_id>/ in v1.0.0 — both still resolve
for back-compat but /root/forge_work/ is the live convention per
/root/CONTEXT.md)./root/.arifos/agents/kimi/skills/kimi-skill-reflector/audit-log.md
(kimi-skill-reflector ritual, append-only).kimi-architect-apex-contrast → kimi-architect-asi-contrast →
kimi-architect-agi-contrast → kimi-final-apex-contrast →
kimi-integrator-apex-contrast → kimi-rsi-apex-contrast →
kimi-skill-reflector (this skill's meta).KIMI_RSI_INIT_PROMPT.md v1.1.0 (cold-boot diagnostic
recipe added) → routes task-class → contrast skill.KIMI_HANDOVER_PROMPT.md v1.1.0 (post-deploy verification
recipe added).Audit 2026-07-16 entry, all 9 skills scored 17-19/20, ΔS ≤ 0).DITEMPA BUKAN DIBERI — measure, then claim, never claim before measure.
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.