fix: invoke fj scripts via uv run instead of python3 #11

Merged
jerome merged 1 commit from fj-uv into main 2026-06-26 14:17:25 +03:00
Owner

Goal

The forgejo-cli skill invoked its bundled scripts with a bare python3, which isn't always on PATH. Switch to uv run --no-project, which is always available.

Why

python3 is not guaranteed on every workstation; uv is. The scripts are stdlib-only, so uv run --no-project pulls no dependencies and just provisions a managed interpreter.

Changes

  • SKILL.md — fj_read.py / fj_write.py invocations now use uv run --no-project, with a one-line rationale.
  • agents/fj-worker.md — token extraction (python -c) and json pretty-print (python -m json.tool) routed through uv run --no-project.

No script logic changed; shebangs left as-is (irrelevant under uv run). Both scripts verified running under uv run --no-project.

## Goal The forgejo-cli skill invoked its bundled scripts with a bare `python3`, which isn't always on `PATH`. Switch to `uv run --no-project`, which is always available. ## Why `python3` is not guaranteed on every workstation; `uv` is. The scripts are stdlib-only, so `uv run --no-project` pulls no dependencies and just provisions a managed interpreter. ## Changes - `SKILL.md` — `fj_read.py` / `fj_write.py` invocations now use `uv run --no-project`, with a one-line rationale. - `agents/fj-worker.md` — token extraction (`python -c`) and json pretty-print (`python -m json.tool`) routed through `uv run --no-project`. No script logic changed; shebangs left as-is (irrelevant under `uv run`). Both scripts verified running under `uv run --no-project`.
fix: invoke fj scripts via uv run instead of python3
All checks were successful
gitleaks / gitleaks (pull_request) Successful in 4s
35f7b18234
The forgejo-cli scripts are stdlib-only but were invoked with a bare
`python3`, which isn't always on PATH. Switch the documented invocations
(SKILL.md and the fj-worker reference) to `uv run --no-project`, which is
always available and pulls no deps for stdlib scripts.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jerome merged commit 6088f465df into main 2026-06-26 14:17:25 +03:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/chiche-plugins!11
No description provided.