agentleFS
MicrosoftKnown publishermicrosoft/vcpkg/.github/skills/fetch-vcpkg-ci-logs/SKILL.md

fetch-vcpkg-ci-logs

Skill28k starsChanged 2 months agoMITView on GitHub

Fetch vcpkg Azure DevOps metadata, failed-step logs, and selected artifacts. Use for acquiring CI evidence, not diagnosing or reporting regressions; use analyze-ci-failures for those tasks. Skip when supplied logs are sufficient.

Trending

Quiet this year.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the microsoft/vcpkg repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/vcpkg

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

See all 32

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

On GitHub · 25

20 more on GitHub

On Bluesky · 1

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer the narrowest sufficient scope.

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Fetch vcpkg CI Logs

First read and follow .\.github\skills\shared\azure-vcpkg-ci-notes.md. For endpoint shapes, artifact naming, and ZIP layout, see references/azure-devops-api.md.

Prerequisites

  • PowerShell with network access. The vcpkg/public Azure DevOps project is anonymously readable, so no Azure credentials are needed.
  • GitHub access (gh CLI or the GitHub MCP server) — required only to resolve a PR number to its head SHA and check runs.

Inputs

An Azure build URL/ID or microsoft/vcpkg PR URL/number, optionally narrowed by job ID, triplet, port, or artifact.

Workflow

  1. Resolve the build ID from the Azure URL or the PR head SHA's check runs. Preserve jobId or j.
  2. Fetch metadata, timeline, and artifacts in parallel.
  3. Fetch failed-step logs first by directly invoking:

    & '.\.github\skills\shared\Get-VcpkgAzureFailureLogs.ps1' -BuildId <id>
    & '.\.github\skills\shared\Get-VcpkgAzureFailureLogs.ps1' -PrNumber <pr> [-JobId <job>]

    Save its raw output as failed-step-logs.txt. Ensure every failed Validate version files timeline record is included; if the helper omits one, fetch its exact log.url and append the raw body.

  4. Unless only step logs were requested, download relevant failure logs for {triplet} ZIPs from each artifact's resource.downloadUrl. Narrow by the requested job, triplet, or port; fetch other artifacts only when requested. Skip file lists for {triplet} unless asked.
  5. Extract each ZIP into artifacts/{triplet}/. Keep only the ZIPs that were requested, and record any download or extraction failure with the artifact name and URL instead of retrying indefinitely.
  6. Return the save location, build ID/status, Azure and PR URLs, PR title/author for PR builds, failed jobs/triplets, and errors.

Downloading Rules

  • Download ZIPs with Invoke-WebRequest -UseBasicParsing or curl. web_fetch cannot download binary content.
  • Artifacts are PipelineArtifact, not Container; use resource.downloadUrl directly. The Container API does not work for them.
  • Each ZIP contains one top-level folder named exactly failure logs for {triplet}, with one subdirectory per failing port.

Storage

Store evidence under the session folder provided in the environment context, never relative to the repository working directory:

{session-folder}/files/ci-failure-logs/build-{buildId}/
├── metadata.json
├── timeline.json
├── artifacts.json
├── failed-step-logs.txt
└── artifacts/{triplet}/

Prefer the narrowest sufficient scope. Record artifact names and download errors. Do not diagnose failures.

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.