helix.mcp: Skill for Claude Code

.squad/skills/dto-consolidation/SKILL.md

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

A method for combining duplicate data-transfer objects, which are structures used to shape data sent between program parts or across an API. It focuses on preserving the exact serialized output when moving shared definitions.

In plain words
What is it for?
Comparing wire contracts, centralizing compatible result types, keeping separate types when formats differ, updating call sites, and verifying the result with builds, tests, and serialized-output checks.
Why use it?
It removes repeated definitions without accidentally changing property names, casing, null handling, or other parts of the data format that callers depend on.

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/dto-consolidation/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 dto-consolidation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lewing/helix.mcp/dto-consolidation"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/dto-consolidation.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 301 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.00301
Opus 5 $0.00000 $0.00151
Sonnet 5 $0.00000 $0.00060
Haiku 4.5 $0.00000 $0.00030

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

Security

Grade A, and why

dto-consolidation 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 11d 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/dto-consolidation/SKILL.md · 22 lines

What it actually says

DTO consolidation

Use when

  • The same output contract is defined in multiple files or layers.
  • One copy is CLI-facing and another is MCP/API-facing.
  • You need to remove duplication without changing wire format.

Safe pattern

  1. Diff the actual wire contract first: property names, casing, nullability, ignored/default fields, and extra properties.
  2. Do not assume near-identical DTOs are reusable as-is. If one side relies on default serializer naming and the other uses [JsonPropertyName], they are different contracts.
  3. Centralize definitions in one results file, but keep separate DTO types when contracts differ.
  4. Alias centralized types at call sites to minimize behavioral edits.
  5. Delete the old duplicate definitions only after the call sites compile against the centralized types.
  6. Verify wire compatibility twice:
    • full build + existing tests
    • schema or serialized-output spot-checks on the commands/tools that changed

HelixTool example (2026-05-22)

  • Moved CLI JSON DTOs out of src/HelixTool/Program.cs into src/HelixTool.Mcp.Tools/McpToolResults.cs.
  • Kept separate CLI DTOs because CLI output intentionally mixes PascalCase and camelCase, while MCP DTOs are explicit camelCase.
  • Reused the shared results file as the single definition location, not the same CLR type for both surfaces.
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. 11d ago First seen · 22 lines · 0 tokens per session scan A 2b80e3631410

Subscribe to this mod's changes

dto-consolidation is a skill published in the GitHub repository lewing/helix.mcp (4 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 301 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

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

argot-suggest-rules

Turn a convention argot has already discovered into a scripted custom rule. Runs argot conventions, surfaces the repo's mined placement conventions (where a kind of code lives — "validation in schema files", "DB access only in migrations", "business logic in the service layer, not views") and internal-API vocabulary…

get-tmonier/argot · 173 tokens

codegen

Use for .NET code generation work with Roslyn, Microsoft.OpenApi, Razor templates, DTO/manager/controller generation, REST API generation, C# HttpClient generation, Angular/Axios TypeScript request clients, generated formatting, and deterministic output.

AterDev/Perigon.CLI · 53 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens

voiden

Create and edit Voiden .void files for API testing. Covers the .void file format and all enabled extension block types.

VoidenHQ/voiden · 28 tokens