Skip to content

Customization

RunWield keeps Pi’s customizable terminal-agent foundation and adds RunWield-specific layers for agents, prompts, skills, settings, and themes.

For the full upstream concepts, see:

RunWield resolves customization in this order:

  1. Project-local .wld/
  2. Home ~/.wld/
  3. Bundled defaults in the RunWield install

Project-local resources override home resources, which override bundled resources.

Settings live at:

  • global: ~/.wld/settings.json
  • project: .wld/settings.json

Project settings override global settings. See Settings Reference.

Agent definitions are Markdown files. RunWield looks for them in:

  1. .wld/agents/
  2. ~/.wld/agents/
  3. bundled src/agent-definitions/

Use agent overrides when you want to change prompts, role behavior, or tool access for a project or user.

Prompt templates can become slash commands when they do not collide with built-in commands. RunWield Core resolves and runs these commands for TUI, Workspace, and ACP sessions. The surface sends the raw slash text, such as /commit staged changes, and Core stores that compact command while sending the resolved template body to the model.

RunWield loads prompts from:

  1. .wld/prompts/
  2. ~/.wld/prompts/
  3. bundled src/prompt-templates/
  4. installed Pi package pi.prompts resources

Prompt Template Front Matter can include:

description: "Explain the current diff"
argument-hint: "<focus>"
agent: operator
model: anthropic/claude-sonnet-4
thinkingLevel: low

agent defaults to operator. model and thinkingLevel are one-turn overrides. If they are omitted, RunWield uses the selected Agent’s normal model and thinking settings. Invalid Agents, models, or thinking levels fail before a model call. Prompt Templates run one auxiliary turn, then the root Agent, model, thinking level, workflow owner, and workflow checkpoint are restored. File changes made by that turn are not rolled back.

Installed package prompts are passive Markdown templates. They do not need the code-extension compatibility marker, but they cannot override built-in slash command names. RunWield warns at startup when a package prompt is blocked by a built-in command collision. Run /reload after editing prompts in an active session.

RunWield loads skills from:

  1. project skills: .wld/skills/
  2. home skills: ~/.wld/skills/
  3. bundled skills: src/skills/
  4. external ecosystem skills: ~/.agents/skills/

Each skill lives in a directory with a SKILL.md file. Skills are advertised by name and description, and full instructions are loaded when invoked with /skill:<name>. A Skill invocation expands into the current Agent’s ordinary turn. It does not select another Agent, and it keeps the current model, thinking level, workflow tools, and active workflow working directory.

Bundled skills include documentation (Markdown project docs), diagnose (disciplined bug diagnosis), prototype (throwaway prototypes to validate design), improve-codebase-architecture (visual architecture review and deepening), codebase-design (shared deep-module vocabulary and interface design), research (source-backed Markdown research notes), wizard (terminal wizards for human-only external setup), write-a-skill (creating new agent skills), runwield (user-facing RunWield and wld usage answers), and agent-browser-use (headed browser feedback loop for frontend work). The documentation skill is the replacement for the former dedicated docs-writer agent. Skill availability is separate from file-mutation capability: writable agents use their normal tools for documentation work, while Guide has restricted write_docs and edit_docs tools only for explicit requests to preserve or update ordinary .md documents from an ongoing Guide conversation.

RunWield includes an embedded catppuccin-mocha theme and supports theme packages from npm, git, or local paths.

Terminal window
wld theme --list
wld theme <name>
wld install npm:<package-spec>
wld install git:<repo-url>
wld install local:<path>
wld remove <source>

See Themes.

Use /reload in the TUI after changing settings, instructions, prompts, skills, models, themes, or memories. Reload re-scans Prompt Template and Skill layers, rebuilds the active Agent, and replaces the TUI autocomplete and collision data only after the reload succeeds.