Files
passepartout/skills/org-skill-self-edit.org
Amr Gharbeia 21c792b019 refactor(skills): absolute XDG paths for tangling
- Updated all 23 skill org files to use absolute path
- Tangle now outputs directly to ~/.local/share/opencortex/skills/
- Removed  env var (org-babel doesn't expand it)
2026-04-30 11:09:46 -04:00

687 B

SKILL: Self Edit (org-skill-self-edit.org)

Overview

The Self Edit skill allows the OpenCortex Agent to modify its own literate source code.

Implementation

Self-Edit Logic

(defun self-edit-apply (filepath old-text new-text)
  "Applies a transformation to a source file."
  (harness-log "SELF-EDIT: Applying changes to ~a" filepath))

Skill Registration

(defskill :skill-self-edit
  :priority 100
  :trigger (lambda (ctx) (declare (ignore ctx)) nil))