agentleFS
jnurre64jnurre64/sandbox-pal-action/.claude/skills/update/SKILL.md

update

Skill3 starsChanged 3 months agoMITView on GitHub

Update a standalone sandbox-pal-dispatch installation from the upstream repository. Shows what changed, handles merges intelligently.

  • Reads credentials

70 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use end, pause and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • torarnvSkill

    end

    Wrap up a work session. Updates memory files, logs decisions and lessons, appends to the session log.

    Also in 3 projects that use this

  • kennethleungtySkill

    pause

    Pause — stop the music (alias for /stop)

    Also in 4 projects that use this

  • MicrosoftSkill

    create

    Also in 4 projects that use this

  • renatoworksSkill

    tutorial

    Learn Strudel step by step. Use when the user wants to learn live coding, understand the syntax, or improve their skills.

    Also in 3 projects that use this

  • MicrosoftSkill

    help

    Entry point for the MedImageInsight plugin, covering the getting-started walkthrough, how the skills work, what MI2 is, and troubleshooting.

    Also in 9 projects that use this

  • p0Skill

    tools

    Also in 3 projects that use this

  • +1 more from microsoft

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 8 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Update a standalone sandbox-pal-dispatch installation by comparing against the latest upstream version and helping the user selectively …

    line 10
  2. Very specific:

    If the user provided a path argument, use that.

    line 20
  3. Very specific:

    Read .sandbox-pal-dispatch/.upstream to get:

    line 22
  4. Very specific:

    If .upstream doesn't exist, tell the user this installation predates the update mechanism and offer to create the tracking file based on …

    line 27
  5. Distinctive:

    Read the latest commit SHA:

    line 38
  6. Distinctive:

    Ask the user: "Apply all auto-updates?

    line 92
  7. Distinctive:

    If they're in different parts of the file: suggest applying both (no conflict)

    line 99
  8. Distinctive:

    If they touch the same area: explain the conflict and ask the user what to do

    line 100
  9. Distinctive:

    Check whether upstream has added any new workflow templates that the user's repo doesn't have yet.

    line 111
  10. Very specific:

    Describe it: Read the template's name: field and on: trigger to give the user a one-line summary.

    line 127
  11. Very specific:

    Show the generated workflow: Read the template, replace all {{BOT_USER}} occurrences with the confirmed bot username, and show the result …

    line 135
  12. Very specific:

    If yes: write the file (create .github/workflows/ if it doesn't exist).

    line 138
  13. Distinctive:

    If no: skip it.

    line 139
  14. Very specific:

    After applying changes, update .sandbox-pal-dispatch/.upstream:

    line 145
  15. Very specific:

    Write the updated .upstream file.

    line 149
  16. Distinctive:

    If any manual review items remain

    line 156
  17. Very specific:

    Do not copy the example over an active agent-profiles.json, replace saved .agent-profile selection, or enable AGENT_ENGINE_PROFILES during …

    line 187

“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Update: Sync Standalone Installation with Upstream

Update a standalone sandbox-pal-dispatch installation by comparing against the latest upstream version and helping the user selectively apply changes.

This skill is for standalone mode only. Reference mode users get updates automatically via @v1 tags and git pull.

Prerequisites

The standalone installation must have a .sandbox-pal-dispatch/.upstream file (created by the setup process). This file tracks which upstream version was last synced and checksums of each file at that time.

Step 1: Locate the Installation

If the user provided a path argument, use that. Otherwise, look for .sandbox-pal-dispatch/ in the current working directory or ask the user where it is.

Read .sandbox-pal-dispatch/.upstream to get:

  • repo — the upstream repo URL
  • version — the commit SHA or tag last synced from
  • checksums — SHA256 of each file at last sync time

If .upstream doesn't exist, tell the user this installation predates the update mechanism and offer to create the tracking file based on the current state (treating all current files as the baseline).

Step 2: Fetch Latest Upstream

Clone or fetch the upstream repo to a temporary location:

UPSTREAM_DIR=$(mktemp -d)
git clone --depth=1 https://github.com/jnurre64/sandbox-pal-action.git "$UPSTREAM_DIR"

Read the latest commit SHA:

LATEST_SHA=$(git -C "$UPSTREAM_DIR" rev-parse HEAD)

Compare against the stored version. If they match, tell the user they're already up to date.

Step 3: Categorize Files

For each file in the upstream installation (scripts, lib, prompts, labels.txt):

  1. Compute current checksum of the user's local file
  2. Compare against stored checksum from .upstream to detect local modifications
  3. Compare against upstream file to detect upstream changes

Classify each file into one of these categories:

CategoryLocal modified?Upstream changed?Action
Up to dateNoNoSkip
Auto-updateNoYesSafe to overwrite — user hasn't modified
Needs reviewYesYesBoth sides changed — show diff, user decides
Local onlyYesNoUser modified, upstream hasn't — skip
New upstream(doesn't exist)YesNew file from upstream — offer to add

Step 4: Present Summary

Show the user a table of all files and their categories. Example:

Update Summary (v1.0.0 → v1.2.0):

  Auto-update (safe to overwrite):
    scripts/sandbox-pal-dispatch.sh
    scripts/lib/common.sh

  Needs review (both sides changed):
    prompts/implement.md

  New from upstream:
    scripts/lib/new-module.sh

  Up to date:
    scripts/lib/worktree.sh
    prompts/triage.md

  Local only (your changes, upstream unchanged):
    prompts/review.md
    config.env

Step 5: Apply Updates

Auto-update files

Ask the user: "Apply all auto-updates? These files haven't been modified locally." If yes, copy each file from the upstream temp directory to the installation.

Needs-review files

For each file that both sides modified:

  1. Show the upstream diff (what changed in the upstream version since last sync)
  2. Show the user's local diff (what they changed from the original)
  3. Use your judgment as Claude to analyze both changes:
    • If they're in different parts of the file: suggest applying both (no conflict)
    • If they touch the same area: explain the conflict and ask the user what to do
    • Options: accept upstream, keep local, or merge (you write the merged version)
  4. Apply the user's choice

New files

For each new upstream file, show its contents and ask if the user wants to add it.

Step 6: Detect New Workflow Templates

Step 5 handles new files within .sandbox-pal-dispatch/. This step handles workflow templates that need to be installed to .github/workflows/ with bot username substitution — a separate concern.

Check whether upstream has added any new workflow templates that the user's repo doesn't have yet.

Scan for new templates

  1. List all .yml files in the upstream clone's .claude/skills/setup/templates/standalone/ directory.
  2. For each template file (e.g., sandbox-pal-direct-implement.yml), check if .github/workflows/<same-filename> exists in the user's repo.
  3. Collect any templates that don't have a matching installed workflow — these are new.

If no new templates found

Report: "No new workflow templates detected." and proceed to the next step.

If new templates found

For each new template:

  1. Describe it: Read the template's name: field and on: trigger to give the user a one-line summary. Example:
    New workflow template available:
      sandbox-pal-direct-implement.yml — "Claude Agent: Direct Implement" (triggers on issues labeled)
  2. Confirm bot username (first template only): Read AGENT_BOT_USER from .sandbox-pal-dispatch/config.defaults.env. If it is empty or not set, also check .sandbox-pal-dispatch/config.env (if it exists). If still not found, ask the user to provide the bot username. Ask the user to confirm: "I'll substitute <bot-username> for the bot user in the workflow — does that look right?" Reuse the confirmed value for all subsequent templates without re-asking.
  3. Show the generated workflow: Read the template, replace all {{BOT_USER}} occurrences with the confirmed bot username, and show the result to the user.
  4. Ask to install: "Install this workflow to .github/workflows/<template-filename>?"
    • If yes: write the file (create .github/workflows/ if it doesn't exist).
    • If no: skip it.
  5. Repeat for each new template.

Step 7: Update Tracking

After applying changes, update .sandbox-pal-dispatch/.upstream:

  • Set version to the latest upstream commit SHA
  • Recompute checksums for all files (both updated and unchanged)

Write the updated .upstream file.

Step 8: Summary

Tell the user:

  • How many files were updated, skipped, and merged
  • How many new workflow templates were installed (if any)
  • If any manual review items remain
  • Remind them to commit the changes: git add .sandbox-pal-dispatch/ .github/workflows/ && git commit -m "Update sandbox-pal-dispatch from upstream"

File Format: .sandbox-pal-dispatch/.upstream

# Upstream tracking for standalone sandbox-pal-dispatch installation
# Do not edit manually — managed by /update skill and setup.sh
repo: https://github.com/jnurre64/sandbox-pal-action.git
version: abc123def456  # commit SHA of last sync
synced_at: "2026-03-21T01:00:00Z"
checksums:
  scripts/sandbox-pal-dispatch.sh: "sha256:abc..."
  scripts/lib/common.sh: "sha256:def..."
  scripts/lib/worktree.sh: "sha256:ghi..."
  scripts/lib/data-fetch.sh: "sha256:jkl..."
  scripts/lib/defaults.sh: "sha256:mno..."
  scripts/cleanup.sh: "sha256:pqr..."
  scripts/check-prereqs.sh: "sha256:stu..."
  scripts/create-labels.sh: "sha256:vwx..."
  prompts/triage.md: "sha256:..."
  prompts/implement.md: "sha256:..."
  prompts/reply.md: "sha256:..."
  prompts/review.md: "sha256:..."
  labels.txt: "sha256:..."

Named dispatch profile assets

The shared installation inventory delivers and checksums agent-profiles.example.json, scripts/agent-profile.sh and its library modules. Do not copy the example over an active agent-profiles.json, replace saved .agent-profile selection, or enable AGENT_ENGINE_PROFILES during setup/update. Preserve existing project configuration on repeated setup. Add .agent-profile (or the configured selection path) and the catalog capture lock directory to the consuming project's ignore rules. For explicit adoption, follow docs/configuration.md → “Named dispatch profiles”: migrate legacy Codex settings, capture actual legacy routing, preview, then select a profile.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.