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.
curl -O https://raw.githubusercontent.com/lewing/helix.mcp/main/.squad/skills/helix-job-source-filter/SKILL.mdgit clone --depth 1 https://github.com/lewing/helix.mcpWrote 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.
[](https://agentmods.dev/skills/lewing/helix.mcp/helix-job-source-filter)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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:
BuildIdis stored as a JSON string inProperties; compare viaToString()not intJToken.ToString()on a string-valued token returns the string value directlyJob.ListAsync(source)does a prefix match — pass the full source string for exact match
AzdoBuild fields required
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.
- 12d ago First seen · 96 lines · 0 tokens per session scan A fb088992e734
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.
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".
tdd-cycle
Execute full TDD red-green-refactor cycle with validation gates. Use when saying "TDD cycle", "test-driven development", or "full TDD workflow".
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".
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…
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…
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…