helix.mcp: Skill for Claude Code

.squad/skills/helix-job-source-filter/SKILL.md

helix-job-source-filter is a skill for Claude Code, Codex from lewing/helix.mcp. It costs 0 tokens per session (980 once invoked), scanned A, original, MIT.

A lookup method for finding all Helix jobs belonging to an Azure DevOps build. Helix is a test and build-job system, while Azure DevOps is Microsoft's service for running builds and managing code projects.

In plain words
What is it for?
Building the correct Helix source string from the build reason, project, repository, and branch, then filtering jobs by that source and BuildId.
Why use it?
It avoids relying on task names in an Azure DevOps timeline, which can vary between repositories and may cause jobs to be missed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is lewing/helix.mcp's own configuration. It tells Claude Code and Codex how to work on helix.mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything helix.mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lewing/helix.mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lewing/helix.mcp/main/.squad/skills/helix-job-source-filter/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lewing/helix.mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for helix-job-source-filter

README.md
[![agentmods](https://agentmods.dev/badge/skills/lewing/helix.mcp/helix-job-source-filter/github.svg)](https://agentmods.dev/skills/lewing/helix.mcp/helix-job-source-filter)
Your own site
<a href="https://agentmods.dev/skills/lewing/helix.mcp/helix-job-source-filter"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/helix-job-source-filter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for helix-job-source-filter

Your own site · 80×15
<a href="https://agentmods.dev/skills/lewing/helix.mcp/helix-job-source-filter"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/helix-job-source-filter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 980 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00980
Opus 5 $0.00000 $0.00490
Sonnet 5 $0.00000 $0.00196
Haiku 4.5 $0.00000 $0.00098

Measured 12d ago against content hash fb088992e734, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

helix-job-source-filter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.squad/skills/helix-job-source-filter/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SKILL: Helix Job Source Filter

Purpose: Look up all Helix jobs for an AzDO build using the canonical Job.ListAsync(source) + BuildId filter pattern, instead of scraping AzDO timeline task names.


Problem

AzDO timeline scraping (Name.Contains("helix", …)) fails for repos where the Helix dispatch task has a non-standard name (e.g., dotnet/sdk uses "🟣 Run TestBuild Tests"). The Helix API has first-class support for this lookup via job source strings and the BuildId job property.


Source string formula (from arcade HelixJobSource.Compute)

source = "{prefix}/{teamProject}/{repository}/{sourceBranch}"

prefix rules (case-insensitive, mirror arcade exactly):
  Build.Reason == "PullRequest"    → "pr"
  System.TeamProject == "internal" → "official"
  anything else                    → "ci"

Examples:

  • PR build on public: pr/public/dotnet/runtime/refs/pull/42/merge
  • CI on main (public): ci/public/dotnet/sdk/refs/heads/main
  • Internal official: official/internal/dotnet/runtime/refs/heads/main
  • Manual on public: ci/public/dotnet/arcade/refs/heads/main (NOT "official")

System.TeamProject (AzDO variable) is in Build.Project.Name in the REST response. Build.Repository.Name for GitHub-backed repos is owner/repo (e.g. dotnet/runtime).


Filter logic (from arcade HelixService.GetJobsForBuildAsync)

// count: 100_000 cap — generous for ~1k–5k jobs per build; realistic CI never hits it
var jobs = await helixApi.Job.ListAsync(source: source, count: 100_000);
return jobs.Where(j => j.Properties is JObject props
    && props.TryGetValue("BuildId", out var id)
    && id.ToString() == buildId.ToString());

Key points:

  • BuildId is stored as a JSON string in Properties; compare via ToString() not int
  • JToken.ToString() on a string-valued token returns the string value directly
  • Job.ListAsync(source) does a prefix match — pass the full source string for exact match

AzdoBuild fields required

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 96 lines · 0 tokens per session scan A fb088992e734

Subscribe to this mod's changes

helix-job-source-filter is a skill published in the GitHub repository lewing/helix.mcp (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 980 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

e2e

Generate and run Playwright E2E tests traced to spec.md acceptance criteria, with an optional accessibility audit. Use when saying "e2e tests" or "a11y audit".

anton-abyzov/specweave · 38 tokens

tdd-cycle

Execute full TDD red-green-refactor cycle with validation gates. Use when saying "TDD cycle", "test-driven development", or "full TDD workflow".

anton-abyzov/specweave · 33 tokens

done

Close an increment: ledger check, specweave verify, optional review, then specweave complete. Use when all tasks are done and saying "close increment", "we are done", or "finish up".

anton-abyzov/specweave · 0 tokens

csharp-dotnet

Use when writing, reviewing, testing, or shipping C# / .NET code — ASP.NET Core APIs (minimal APIs vs controllers), EF Core data access, async correctness, solution layout in .cs/.csproj/.sln. NOT a Java/Spring backend (that is spring-boot), NOT a Node/TypeScript backend (that is nestjs), NOT framework-neutral REST…

ericrisco/rsc-harness · 89 tokens

e2e-testing

Use when writing or stabilizing Playwright tests that drive a real browser through multi-step journeys — durable locators, web-first assertions, storageState auth, trace/retries, and flakes that only bite in CI. NOT in-process component tests (that is testing-web), NOT WCAG auditing (that is accessibility), NOT the…

ericrisco/rsc-harness · 79 tokens

argot-check

Score your working changes with argot — flag code foreign to this repo's own patterns (unfamiliar dependencies, APIs, constructs), functions the repo already has, code filed in the wrong place, imports that break the repo's layering, and tests weakened, disabled, or deleted alongside a production change — before…

get-tmonier/argot · 110 tokens