helix.mcp: Skill for Claude Code

.squad/skills/helix-iscompleted-bucketing/SKILL.md

helix-iscompleted-bucketing is a skill for Claude Code, Codex from lewing/helix.mcp. It costs 21 tokens per session (269 once invoked), scanned A, original, MIT.

A rule for sorting Helix work items into completed successes, completed failures, and unfinished items when exit codes may be missing. Helix work items are units of work managed by the Helix system.

In plain words
What is it for?
Use it when mapping individual or bulk Helix work-item details into status results. It also keeps an explicit completion flag when callers receive a sentinel exit code.
Why use it?
It prevents unfinished items from being reported as failures when a missing exit code is only a sign that completion has not been recorded.

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-iscompleted-bucketing/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-iscompleted-bucketing

README.md
[![agentmods](https://agentmods.dev/badge/skills/lewing/helix.mcp/helix-iscompleted-bucketing/github.svg)](https://agentmods.dev/skills/lewing/helix.mcp/helix-iscompleted-bucketing)
Your own site
<a href="https://agentmods.dev/skills/lewing/helix.mcp/helix-iscompleted-bucketing"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/helix-iscompleted-bucketing/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-iscompleted-bucketing

Your own site · 80×15
<a href="https://agentmods.dev/skills/lewing/helix.mcp/helix-iscompleted-bucketing"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/helix-iscompleted-bucketing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 269 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.00021 $0.00269
Opus 5 $0.00010 $0.00134
Sonnet 5 $0.00004 $0.00054
Haiku 4.5 $0.00002 $0.00027

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

Security

Grade A, and why

helix-iscompleted-bucketing 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-iscompleted-bucketing/SKILL.md · 35 lines

What it actually says

Helix IsCompleted Bucketing

Use this pattern when mapping Helix work item details into pass/fail/in-progress results.

Pattern

  • Treat details.ExitCode.HasValue as the completion signal.
  • Preserve details.ExitCode ?? -1 as the existing sentinel value for incomplete items.
  • Only classify failures when isCompleted && exitCode != 0.
  • Put incomplete items in an explicit in-progress/incomplete bucket rather than failed.
  • Surface IsCompleted to callers when an API still exposes the -1 sentinel so consumers can distinguish sentinel from a real exit code.

Example

var exitCode = details.ExitCode ?? -1;
bool isCompleted = details.ExitCode.HasValue;
FailureCategory? category = isCompleted && exitCode != 0
    ? ClassifyFailure(exitCode, details.State, duration, workItem)
    : null;

Proven uses

  • Bulk status path (WorkItemResult): PR #66.
  • Single work-item detail path (WorkItemDetail): issue #70.
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 · 35 lines · 21 tokens per session scan A 64538a2f3dff

Subscribe to this mod's changes

helix-iscompleted-bucketing is a skill published in the GitHub repository lewing/helix.mcp (4 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 269 once invoked, about $0.0001 per session on Opus 5. 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.