Files
passepartout/skills/org-skill-scribe.org
Amr Gharbeia dd8bb6e3c8 refactor(skills): use XDG paths for tangle destinations
- Updated all 22 skill org files to use $OC_DATA_DIR/skills/ paths
- Removed manually created .lisp file (tangling now targets XDG)
- Files will now tangle to ~/.local/share/opencortex/skills/
2026-04-30 11:09:21 -04:00

795 B

SKILL: Scribe (org-skill-scribe.org)

Overview

The Scribe Skill manages the agent's internal documentation and logs.

Implementation

Documentation Logic

(defun scribe-log-event (signal)
  "Logs a metabolic signal for later analysis."
  (let ((type (getf signal :type))
        (payload (getf signal :payload)))
    (harness-log "SCRIBE: [~a] ~s" type payload)))

Skill Registration

(defskill :skill-scribe
  :priority 100
  :trigger (lambda (ctx) (member (getf ctx :type) '(:LOG :STATUS)))
  :deterministic (lambda (action ctx) (declare (ignore action)) (scribe-log-event ctx) nil))