Skip to content

Alex72-py/termux-elite / skills/proot-boundaries

proot-boundaries

Verified

Decide whether a failure belongs to native Termux or a proot distro and which side should own the package, interpreter, and project path. Use when something works in one environment but not the other, when Ubuntu or Debian runs under Termux, when a glibc-only binary is needed, or before installing, backing up, or resetting a proot distro. Do NOT use for ordinary native Termux package errors, and never use proot-distro reset or remove as a generic repair.

FileKindSize
SKILL.mdskill md4.0 KB
scripts/detect-boundary.shexecutablescript1022 B

scripts/detect-boundary.sh

View on GitHub
#!/usr/bin/env sh
# Read-only evidence for native Termux versus proot. Hints, not proof.
set -eu
tracer=$(awk '/^TracerPid:/ {print $2}' /proc/self/status 2>/dev/null || true)
os_id=
if [ -r /etc/os-release ]; then os_id=$(. /etc/os-release && printf '%s' "${ID:-}"); fi
printf '%s\n' "prefix: ${PREFIX:-unset}"
printf '%s\n' "tracer_pid: ${tracer:-unknown}"
printf '%s\n' "proot_tmp_dir: ${PROOT_TMP_DIR:-unset}"
printf '%s\n' "os_release_id: ${os_id:-none}"
printf '%s\n' "uname_o: $(uname -o 2>/dev/null || printf unknown)"
side=unknown
case "${PREFIX:-}" in
  /data/data/*/files/usr) side=native ;;
  *) if [ -n "${PROOT_TMP_DIR:-}" ] || { [ -n "$tracer" ] && [ "$tracer" != 0 ]; }; then side=proot; fi ;;
esac
printf '%s\n' "likely_side: $side"
root="${PREFIX:-}/var/lib/proot-distro/installed-rootfs"
if [ -d "$root" ]; then
  printf '%s\n' "installed_distros:"
  for d in "$root"/*; do
    [ -d "$d" ] && printf '  %s\n' "$(basename "$d")"
  done
else
  printf '%s\n' "installed_distros: none visible from here"
fi
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall