From 44629bd1a47ef1a068555dfb9bcd4412845ea5a0 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sun, 5 Apr 2026 01:43:48 -0700 Subject: [PATCH] feat: add includeSkills to HostConfig + update OpenClaw config Add includeSkills allowlist field with union logic (include minus skip). Update OpenClaw to generate only 4 native methodology skills (office-hours, plan-ceo-review, investigate, retro). Remove staticFiles.SOUL.md reference (pointed to non-existent file). --- hosts/openclaw.ts | 5 +---- scripts/host-config.ts | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/hosts/openclaw.ts b/hosts/openclaw.ts index 81f511ff..86c99307 100644 --- a/hosts/openclaw.ts +++ b/hosts/openclaw.ts @@ -23,6 +23,7 @@ const openclaw: HostConfig = { generation: { generateMetadata: false, skipSkills: ['codex'], + includeSkills: ['office-hours', 'plan-ceo-review', 'investigate', 'retro'], }, pathRewrites: [ @@ -69,10 +70,6 @@ const openclaw: HostConfig = { coAuthorTrailer: 'Co-Authored-By: OpenClaw Agent ', learningsMode: 'basic', - // SOUL.md ships as a static file alongside generated skills - staticFiles: { - 'SOUL.md': 'openclaw/SOUL.md', - }, adapter: './scripts/host-adapters/openclaw-adapter', }; diff --git a/scripts/host-config.ts b/scripts/host-config.ts index 240fb0d4..4421c4a7 100644 --- a/scripts/host-config.ts +++ b/scripts/host-config.ts @@ -62,6 +62,8 @@ export interface HostConfig { metadataFormat?: string | null; /** Skill directories to exclude from generation for this host. */ skipSkills?: string[]; + /** Skill directories to include (allowlist). Union logic: include minus skip. */ + includeSkills?: string[]; }; // --- Content Rewrites ---