agentleFS
AstralKnown publisherastral-sh/uv/.codex/skills/load-github-action-thread/SKILL.md

load-github-action-thread

Skill90k starsChanged 4 months agoApache-2.0View on GitHub

When given an issue instead of a run, find the related issue-triage run first. Resolve the issue title and number, then match the run display title: Use the newest matching run. An issue-triage run can contain both the triage and bug-reproduction threads. Also check for directly dispatched bug-reproduction runs; their display title does not include the issue title. If the issue title changed or a run was manually dispatched, list recent candidates and confirm them from their logs: When given…

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 2 mentionsFeb 2026: 3 mentionsMar 2026: 2 mentionsApr 2026: 2 mentionsMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 3 mentionsAug 2026: 1 mentionSep 2026: 2 mentionsOct 2026: 2 mentionsNov 2026: 2 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the astral-sh/uv repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about astral-sh/uv

The biggest 5 of 99 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 99

Talked about on Bluesky, GitHub and Hacker News (99 times).

On Bluesky · 50

45 more on Bluesky

On GitHub · 30

25 more on GitHub

On Hacker News · 19

14 more on Hacker News
  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When given an issue instead of a run, find the related issue-triage run first.

    line 11
  2. Distinctive:

    Use the newest matching run.

    line 25
  3. Distinctive:

    When given a pull request, find its security-review run from the pull request checks.

    line 36
  4. Distinctive:

    Run the repository utility with the GitHub Actions run URL:

    line 48
  5. Very specific:

    Use --artifact PATTERN to select a particular retained thread and --cwd PATH to attach the imported history to a different local checkout:

    line 67
  6. Very specific:

    Use the matching step title for codex-thread-pull-request-security-review-* and codex-thread-release-prepare-*.

    line 87

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Load GitHub Action Thread

When given an issue instead of a run, find the related issue-triage run first. Resolve the issue title and number, then match the run display title:

repository=astral-sh/uv
issue=20477
issue_title="$(gh issue view "$issue" --repo "$repository" --json title --jq '.title')"
issue_number="$(gh issue view "$issue" --repo "$repository" --json number --jq '.number')"

gh run list --repo "$repository" --workflow issue-triage.yml --limit 500 \
  --json databaseId,displayTitle,event,status,conclusion,createdAt,url \
  | jq -c --arg title "$issue_title" '.[] | select(.displayTitle == $title)'

Use the newest matching run. An issue-triage run can contain both the triage and bug-reproduction threads. Also check for directly dispatched bug-reproduction runs; their display title does not include the issue title. If the issue title changed or a run was manually dispatched, list recent candidates and confirm them from their logs:

gh run list --repo "$repository" --workflow reproduce-bug.yml --limit 100 \
  --json databaseId,event,status,conclusion,createdAt,url
gh run view <run-id> --repo "$repository" --log | rg -m 2 "ISSUE: $issue_number|issue: $issue_number"

When given a pull request, find its security-review run from the pull request checks. The check link contains the Actions run URL and can be passed directly to the loader:

pull_request=20482
gh pr checks "$pull_request" --repo "$repository" --json name,workflow,state,link \
  --jq '.[] | select(.name | test("review"; "i"))'

The security-review job only runs for eligible same-repository pull requests; a skipped review has no thread artifact to load.

Run the repository utility with the GitHub Actions run URL:

./agents/scripts/load-github-action-thread.sh https://github.com/astral-sh/uv/actions/runs/123456789

The utility downloads every matching codex-thread-* artifact, finds the root codex exec rollout for each step, and forks it into an interactive local Codex thread. Subagent rollouts are ignored; they inherit the root prompt and would otherwise produce duplicate-looking tasks. The first line of the root preview becomes the task title, including the step, source number, and issue or pull request title. Forking is required because codex-action uses codex exec; copying an exec rollout into ~/.codex/sessions alone does not make it visible in the Codex app.

For a numeric run ID, pass the repository when it cannot be inferred from the current checkout:

./agents/scripts/load-github-action-thread.sh 123456789 --repo astral-sh/uv

Use --artifact PATTERN to select a particular retained thread and --cwd PATH to attach the imported history to a different local checkout:

./agents/scripts/load-github-action-thread.sh 123456789 \
  --repo astral-sh/uv \
  --artifact 'codex-thread-reproduce-bug-*' \
  --cwd /path/to/uv

The utility requires gh, jq, and codex, plus zstd for compressed rollouts. It prints the resolved title and a codex://threads/<id> link for every imported task and automatically opens the Codex app when exactly one task is imported on macOS. For multiple steps, return a Markdown list with a clickable link labeled by the corresponding task title without repeatedly switching the app:

- [Issue triage for #20477: Example issue](codex://threads/<id>)
- [Bug reproduction for #20477: Example issue](codex://threads/<id>)

Use the matching step title for codex-thread-pull-request-security-review-* and codex-thread-release-prepare-*.

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.