From 5f1ef495d145b44df783cceba343ca5fda2e0b1c Mon Sep 17 00:00:00 2001 From: Javier Canales <56018501+jcanalesluna@users.noreply.github.com> Date: Tue, 3 Nov 2026 09:04:57 +0100 Subject: [PATCH] fix(claude-code): replace /cost content in the /goal node (#10527) The node with ID vw9cc6_33nHnNPNyhLo_d was renamed from /cost to /goal but kept the /cost description, so goal@... held /cost text and a stale cost@... file shared the same ID. Write the /goal description and remove the stale cost file. Co-authored-by: Claude Sonnet 5.5 --- .../claude-code/content/cost@vw9cc6_33nHnNPNyhLo_d.md | 8 -------- .../claude-code/content/goal@vw9cc6_33nHnNPNyhLo_d.md | 8 ++++---- 2 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 roadmaps/claude-code/content/cost@vw9cc6_33nHnNPNyhLo_d.md diff --git a/roadmaps/claude-code/content/cost@vw9cc6_33nHnNPNyhLo_d.md b/roadmaps/claude-code/content/cost@vw9cc6_33nHnNPNyhLo_d.md deleted file mode 100644 index b71874ea6..000000000 --- a/roadmaps/claude-code/content/cost@vw9cc6_33nHnNPNyhLo_d.md +++ /dev/null @@ -1,8 +0,0 @@ -# /cost - -The `/cost` command is a financial monitoring tool that provides a real-time snapshot of the monetary expenses and token usage for your active session. While the `/usage` command focuses on how much of your context window is occupied, /cost translates that activity into USD amounts, showing you exactly how much your current conversation has cost based on your API pricing tier. - -Visit the following resources to learn more: - -- [@official@Built-in commands](https://code.claude.com/docs/en/interactive-mode) -- [@official@Using the /cost command](https://code.claude.com/docs/en/costs) \ No newline at end of file diff --git a/roadmaps/claude-code/content/goal@vw9cc6_33nHnNPNyhLo_d.md b/roadmaps/claude-code/content/goal@vw9cc6_33nHnNPNyhLo_d.md index b71874ea6..7414a479b 100644 --- a/roadmaps/claude-code/content/goal@vw9cc6_33nHnNPNyhLo_d.md +++ b/roadmaps/claude-code/content/goal@vw9cc6_33nHnNPNyhLo_d.md @@ -1,8 +1,8 @@ -# /cost +# /goal -The `/cost` command is a financial monitoring tool that provides a real-time snapshot of the monetary expenses and token usage for your active session. While the `/usage` command focuses on how much of your context window is occupied, /cost translates that activity into USD amounts, showing you exactly how much your current conversation has cost based on your API pricing tier. +`/goal` sets a completion condition, and Claude keeps working turn after turn until the condition is met, without you prompting each step. After every turn a small model reads the conversation and decides whether the goal is met, not yet met or impossible. Run `/goal` with no argument to see the status, and `/goal clear` to remove an active goal. Write the condition as something Claude's own output can prove, like "`npm test` exits 0", and add a turn limit if you want to bound the run. Visit the following resources to learn more: -- [@official@Built-in commands](https://code.claude.com/docs/en/interactive-mode) -- [@official@Using the /cost command](https://code.claude.com/docs/en/costs) \ No newline at end of file +- [@official@Keep Claude working toward a goal](https://code.claude.com/docs/en/goal) +- [@official@Prompt-based hooks](https://code.claude.com/docs/en/hooks-guide#prompt-based-hooks)