agents/_external/kimi-code/skills/kimi-skill-reflector/SKILL.md
Audit, reflect on, and recursively upgrade Kimi Code skills across the arifOS federation. Bounded autonomous ritual — proposes improvements, never auto-writes governed skills without 888_HOLD, caps iterations, enforces ΔS ≤ 0.
npx skillsauth add ariffazil/openclaw-workspace kimi-skill-reflectorInstall 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.
At the start of every agentic session, audit the Kimi Code skill surface and propose improvements with constitutional awareness. This is a bounded recursive ritual, not an unbounded self-modifying loop.
Kimi Code user-scope skills live at:
/root/.arifos/agents/kimi/skills/
/root/.arifos/agents/kimi/skills/*/SKILL.md
/root/.arifos/agents/kimi/skills/SKILL_INDEX.md
Project-scope skill mirrors live at:
/root/.agents/skills/
Edit user-scope skills for Kimi-specific behavior. Edit project-scope skills only when the behavior change is generic across all AAA agents.
1. LOAD → Read SKILL_INDEX.md and list user-scope skills
2. SCAN → Check each SKILL.md for drift, rot, and constitutional gaps
3. SCORE → Rate description / content / format / constitutional awareness
4. PROPOSE → Draft improvements (file patches or new skills)
5. GATE → Governed skills → 888_HOLD; infra skills → diff + ack; domain skills → propose
6. APPLY → Write only after human or arifOS SEAL
7. LOG → Append to audit-log.md
8. STOP → If ΔS ≤ 0 and max iterations reached
Pattern: ^(arifos|geox|wealth|well|aforge|aaa|kimi-.*-(arifos|geox|wealth|well|aforge|aaa))-
CONSTITUTIONAL_REFLEX (canonical alias for the arifos-act reflex) and route through arifos-mcp /tools if an audit tool exists.kimi-vps-*, kimi-docker-*, kimi-caddy-*, kimi-fastmcp-deploy| Guard | Value | Why | |---|---|---| | Max iterations per session | 3 | Prevents runaway recursion | | Max skills modified per session | 3 | Keeps diff reviewable | | Entropy requirement | ΔS ≤ 0 | No cosmetic churn | | Governed skill writes | 888_HOLD only | F13 authority | | Infra destructive writes | explicit ack | F1 AMANAH | | Audit log | append-only | F11 AUDIT | | Rollback | git revert path | F1 AMANAH |
CONSTITUTIONAL_REFLEX / arifos-act reflex invoked for mutating actions?If the reflector detects that its own skill (kimi-skill-reflector/SKILL.md) needs improvement:
audit-log.md.## Skill Audit Report — [timestamp]
### [skill-name] [GOVERNED/INFRA/DOMAIN]
- Description Score: X/5
- Content Score: X/5
- Format Score: X/5
- Constitutional Score: X/5
- Total: X/20
- Issues Found: ...
- Recommended Changes: ...
- Authority Required: 888_HOLD / diff+ack / propose-only
### Federation Health: X% (skills needing work / total)
### Session Actions Taken: ...
### Ω₀ / Open Questions: ...
Append every audit to:
/root/.arifos/agents/kimi/skills/kimi-skill-reflector/audit-log.md
Entry format:
## Audit [date] — session [session_id]
- Skills audited: N
- Governed skills: N
- Infra skills: N
- Domain skills: N
- Skills improved: N
- 888_HOLD raised: N
- Key constitutional changes: ...
- Entropy delta (ΔS): ...
At session end, if skills were modified, produce a handover note:
# Skill Handover — [session_id]
## Skills touched
- skill-name: change summary, authority level
## Pending 888_HOLD
- skill-name: reason
## How to verify
- Read SKILL_INDEX.md
- Run skill audit ritual
- Check audit-log.md
## Next session trigger
- If skill drift detected → run kimi-skill-reflector
Cease the ritual when:
/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 — improve skills, but never outrun the constitution.
testing
OpenClaw edge agent bridge — operational triage, doctor, restart, and A2A bridge routing for the federation edge (Telegram surface). USE WHEN: "openclaw unhealthy", "gateway down", "edge bot not responding", "a2a bridge disconnected", "watchdog tripped", "openclaw doctor", "openclaw restart". NOT for token/security audit — use FORGE-telegram-audit.
tools
Generate images, videos, TTS, voice clone, and music via MiniMax MCP server. Use when user asks to "draw", "generate image", "create picture", "make a photo", "text to image", "image generation".
testing
Single load-bearing constitutional-judgment skill. Routes all F1–F13, verdict, hold, seal, scope, authority and floor-check calls through the live arif_judge surface. Replaces 7 overlapping predecessors (arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge).
development
MANDATORY LSP grounding gate BEFORE any code mutation on .ts, .py, .js, .tsx, .jsx files. Forces the agent to read real-time compiler diagnostics and structural project context before editing — eliminating blind guesses and anchoring every mutation in F2 (TRUTH). Routes through arifOS kernel (:8088) for centralized gate logic.