codex-self-rewriting

Enable Codex self-modification via MCP Tasks and Narya bridges.

60|13|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/plurigrid/asi --skill codex-self-rewriting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-self-rewriting
Source: https://github.com/plurigrid/asi/tree/main/skills/codex-self-rewriting
Command: npx skills add https://github.com/plurigrid/asi --skill codex-self-rewriting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables Codex to self-rewrite code through MCP Tasks and toBridge types using the Narya observation framework.

Core Capabilities

  • MCP Tasks integration: manage task states (LIVE, VERIFY, BACKFILL).
  • Bridge types: topos-style structure-aware updates.
  • Bisimulation-ready: ensures consistent skill distribution.

Quick Start

Install a frontend-design skill as an MCP task and trigger a self-rewrite cycle.

Frequently Asked Questions about codex-self-rewriting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable self-rewriting in Codex using MCP Tasks?

Self-rewriting in Codex leverages MCP Tasks integration to manage task states (LIVE, VERIFY, BACKFILL) and toBridge types for structure-aware updates. Install a frontend-design skill as an MCP task and trigger a self-rewrite cycle within your Narya observation framework to enable Lisp-machine-style code modification.

Can I synchronize code changes across Claude, Codex, Cursor, and Copilot?

Yes. This Skill enables cross-editor synchronization through Narya observational bridges and bridge-based change tracking. State forking and dynamic cognitive-state management via Babashka transients ensure consistent skill distribution across multiple editors simultaneously.

What are MCP Tasks and how do they support autonomous self-rewriting?

MCP Tasks are lifecycle-tracked workflows with three states: LIVE (active), VERIFY (validation), and BACKFILL (historical sync). They enable autonomous self-rewriting by orchestrating task execution, monitoring state transitions, and integrating JSON/Elisp tooling for installation and dispersion across editors.

Do I need prior experience with Babashka transients to use this Skill?

The Skill abstracts Babashka transient complexity for managing dynamic cognitive state. Familiarity with MCP Tasks workflows and JSON/Elisp tooling is recommended. Entry-level users should understand task lifecycle concepts (LIVE, VERIFY, BACKFILL) before proceeding with self-rewrite cycles.

How does toBridge technology ensure consistent code distribution?

toBridge types apply topos-style structure-aware updates, making the system bisimulation-ready. This guarantees that code modifications propagate consistently across all connected editors and maintain structural integrity throughout the self-rewriting and state-forking process.

What happens when self-rewrite cycles encounter state conflicts?

Bridge-based change tracking and VERIFY state validation detect conflicts before propagation. State forking allows parallel branches to resolve independently, and cross-editor synchronization reconciles changes using Narya observation semantics to maintain consistency.