From fcb53222995bd247a3f9169c8f64961b30918cdc Mon Sep 17 00:00:00 2001 From: Aleksander Slominski Date: Thu, 3 Sep 2026 17:16:37 -0400 Subject: [PATCH] Fix: Step 1 clone layout so cd targets the sibling clone Split the combined `mkdir -p ... && cd ...` into two lines and change the post-clone `cd "$HOME/rossoctl-src/rossoctl-cli"` to a relative `cd rossoctl-cli`. Since the clones now run from inside $HOME/rossoctl-src, the relative cd lands in the just-created clone and stays consistent with the sibling `../cortex` replace path, whichever scratch dir the reader used. Addresses the Step 1 finding in rossoctl/agent-skills#35. Assisted-By: Claude (Anthropic AI) Signed-off-by: Aleksander Slominski --- skills/byo-rossoctl-cortex/SKILL.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/skills/byo-rossoctl-cortex/SKILL.md b/skills/byo-rossoctl-cortex/SKILL.md index adc4aef..e80995d 100644 --- a/skills/byo-rossoctl-cortex/SKILL.md +++ b/skills/byo-rossoctl-cortex/SKILL.md @@ -96,14 +96,15 @@ stacked on `fix_litellm_plugin`, so it has the response-header fix (+ `-original fallback) **and** streaming (SSE) cost tracking for Claude Code's `/v1/messages`: ```sh -mkdir -p "$HOME/rossoctl-src" && cd "$HOME/rossoctl-src" # scratch dir; anywhere writable +mkdir -p "$HOME/rossoctl-src" +cd "$HOME/rossoctl-src" # scratch dir; anywhere writable git clone https://github.com/rossoctl/rossoctl-cli.git git clone -b fix_streaming_litellm_plugin https://github.com/aslom/cortex.git # branch: https://github.com/aslom/cortex/tree/fix_streaming_litellm_plugin # (header fix + -original fallback + streaming usage pricing). # For the header fix only (no streaming) use -b fix_litellm_plugin. -cd "$HOME/rossoctl-src/rossoctl-cli" +cd rossoctl-cli # replace path is relative to rossoctl-cli's go.mod, i.e. the sibling cortex clone: go mod edit -replace github.com/rossoctl/cortex/authbridge/authlib=../cortex/authbridge/authlib GOFLAGS=-mod=mod go mod tidy