| name | shimmy-tool-task |
| description | Guidance for using, changing, testing, and troubleshooting the Task shim in this repository, including local image builds, host path behavior, home/tmp mounts, and Podman socket forwarding for nested workflows. |
Task Shim
Use this skill when working with shims/task, its local image, its tests, its docs, or Taskfile usage through Shimmy.
Files
- Kind dispatcher:
../../../shims/task
- Version shim:
../../../shims/task_3_45
- Local image:
../../../images/task_3_45/Containerfile
- User docs:
../../../docs/shims/task.md
- Tests:
../../../scripts/test-shimmy.sh
- Installer:
../../../scripts/install-shimmy.sh
- README:
../../../README.md
- Contributor guidance:
../../../CONTRIBUTING.md
- Shared prompt:
../../../docs/prompt-shimmy-project.md
Installed Workflow
When this skill is installed outside the Shimmy source checkout, do not rely on the repo-relative Files paths above. Prefer activated commands such as <tool> --version, inspect selected profile state with shimmy status --format manifest, and use SHIMMY_PROFILE_ACTIVE=upstream <tool> --version when validating the upstream profile. Use repo-local paths such as ./shims/<tool> only when intentionally editing or testing source files in the Shimmy checkout.
Current Behavior
- Default image: locally built
localhost/shimmy-task-3_45:<context-hash>-<platform>
- Image override:
SHIMMY_TASK_IMAGE
- Build override:
SHIMMY_TASK_IMAGE_BUILD=always
- Pull override for image overrides:
SHIMMY_TASK_IMAGE_PULL=always
- Base image override:
SHIMMY_TASK_BASE_IMAGE
- Task version override:
SHIMMY_TASK_VERSION
- Runtime mode: TTY only when stdin and stdout are terminals
- Mounts:
$PWD to $PWD:rw
$PWD to /work:rw
$HOME to $HOME:rw when present
/tmp to /tmp:rw when present
CONTAINER_HOST Unix socket when explicitly set and present
- Forwarded env:
HOME when the home mount is enabled
SHIMMY_HOST_PATH=$PATH
CONTAINER_HOST when explicitly set
- Platform: shared Podman helper resolves
linux/amd64 on Linux and linux/arm64 on macOS
Change Rules
- Preserve the
$PWD to $PWD mount and working directory behavior; Taskfiles often expect host-relative paths.
- Treat
$HOME, /tmp, and CONTAINER_HOST forwarding as deliberate host-coupling. Keep tests and docs aligned if changed.
- Keep package installation inside
../../../images/task_3_45/Containerfile, not the kind dispatcher.
- Use
SHIMMY_TASK_IMAGE only as a full runtime image override; local build args apply only to Shimmy-built images.
- Use non-mutating smoke checks such as
task --version or task --list.
- If a Shimmy wrapper fails because of Podman reachability, sandboxing, or AI Agent approval symptoms, follow the
shimmy-escalation workflow before using a non-shim fallback.
- Update the runtime shim, local image, docs, tests, installer behavior, and README together when behavior changes.
Validation
- Direct smoke:
./shims/task --version
- Installed smoke: install the task shim and run the installed wrapper with
--version.
- For Taskfile behavior changes, prefer
task --list before running tasks with side effects.
Learning Guidance
- Capture Task-specific lessons here when they affect host path expectations, nested Podman access, home/tmp mounts, image builds, or Taskfile side-effect safety.
- Promote reusable Shimmy design lessons to
../shimmy-create-tool/SKILL.md under Learning Guidance.