Files
passepartout/skills/org-skill-scribe.org
Amr Gharbeia 1eb8a3db92 refactor(skills): use %%SKILLS_DIR%% placeholder for portable tangling
- Updated 22 skill org files to use %%SKILLS_DIR%% placeholder
- Modified opencortex.sh setup to replace placeholder with XDG path
- Modified doctor_repair to handle placeholder replacement
- Removed hardcoded absolute path
2026-04-30 11:14:31 -04:00

790 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))