AgentSkillsCN

Update

根据内容重新生成平台配置文件。当用户提出“更新适配器”“重新生成配置”“重建平台文件”“刷新适配器输出”或“运行‘forge update’”时,应使用此技能。它会读取config.yaml,并基于源内容与系统默认值重新构建配置。

SKILL.md
--- frontmatter
name: Update
description: Regenerate platform config files from content. This skill should be used when the user asks to update adapters, regenerate configs, rebuild platform files, refresh adapter output, or run "forge update". Reads config.yaml and rebuilds from source content + SYSTEM defaults.
version: 0.1.0

Forge Update

Regenerate platform-specific config files from your content (Identity, Preferences, Goals) and Forge SYSTEM defaults (conventions, steering, approach).

Usage

Run the update script via Bash:

bash
# Use config.yaml config
bash Core/bin/forge-update.sh

# Override platform
bash Core/bin/forge-update.sh --platform cursor

Requires config.yaml to exist (created by /Init), unless --platform is specified.

What It Does

  1. Reads config.yaml for platform and content source
  2. Resolves content from external vault, content path, or scaffold templates
  3. Collects SYSTEM defaults from forge-obsidian and forge-steering modules
  4. Generates platform config with body + SYSTEM defaults baked in

Content Source Priority

  1. external_vault (absolute path to Obsidian vault Orchestration/)
  2. content_path (relative to forge-core root)
  3. Modules/forge-avatar/scaffold/ (built-in templates)

When to Run

  • After editing Identity.md, Preferences.md, or Goals.md
  • After updating agents in the Agents/ directory
  • After upgrading forge modules (SYSTEM defaults may have changed)