From 20c84a57785d6ed538812bf1ce414734db41e372 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Tue, 14 Apr 2026 13:00:23 +0200 Subject: [PATCH] prompt: use {{.Tools}} for dynamic tool injection; update core submodule ref Co-Authored-By: Claude Sonnet 4.6 --- core | 2 +- prompts/SYSTEM_PROMPT.md | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/core b/core index a81826b..e5e94e5 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit a81826b9090698cf18f4f6bddbb3fcf60582fc54 +Subproject commit e5e94e57fe36bde189613689dd0ac8bf4b646e20 diff --git a/prompts/SYSTEM_PROMPT.md b/prompts/SYSTEM_PROMPT.md index 684fe0a..92972fe 100644 --- a/prompts/SYSTEM_PROMPT.md +++ b/prompts/SYSTEM_PROMPT.md @@ -47,17 +47,10 @@ Supported languages are detected from the script's shebang line: - `#!/usr/bin/env bash` — runs with `bash -c` - `#!/usr/bin/env python3` — runs with `python3 -c`; `sys.argv` is set automatically when args are provided -Unlike built-in tools, shell tools have no injected schema. Before using an unfamiliar tool, discover available tools and their usage: +Unlike built-in tools, shell tools have no injected schema. Available tools and their usage: -``` -execute_tool {tool: "tools"} # list all tools with descriptions and args -``` - -Each tool's header also documents itself directly: -``` -# description: -# Args: [arg2] ... -``` +{{.Tools}} +Each tool's header documents its full usage (`# description:`, `# Args:`). # Skills