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/sdk-adapter-extension/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/sdk-adapter-extension)<a href="https://agentmods.dev/skills/lewing/helix.mcp/sdk-adapter-extension"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/sdk-adapter-extension/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/sdk-adapter-extension"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/sdk-adapter-extension.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.00581 |
| Opus 5 | $0.00000 | $0.00291 |
| Sonnet 5 | $0.00000 | $0.00116 |
| Haiku 4.5 | $0.00000 | $0.00058 |
Grade A, and why
sdk-adapter-extension 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 10d 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 — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Extending SDK-Backed Adapter Interfaces
When to use: Adding new fields from an upstream SDK (e.g., Microsoft.DotNet.Helix.Client) through our mockable interface → adapter → cache-DTO layer.
Pattern
Our Core layer wraps SDK concrete types behind mockable interfaces (IWorkItemSummary, IJobDetails, etc.). Three classes must stay in sync when a new SDK field is surfaced:
- Interface (
IHelixApiClient.cs) — add nullable property - Adapter (
HelixApiClient.csinner class) — map from SDK type - Cache DTO (
CachingHelixApiClient.csrecord) — add to constructor +From()factory
Checklist
- New property is nullable (SDK may not populate on older data)
- Adapter delegates directly to SDK property (no transformation)
- Cache DTO includes field in both the record positional params and
From()method - Old cached data (missing new fields) deserializes to
null— verify JSON round-trip - Update any mocks/fakes in test projects that implement the interface
- If the field enables skipping a downstream API call, add the optimization in
HelixService, not in the adapter layer
Files (always this set)
| Layer | File |
|---|---|
| Interface | src/HelixTool.Core/Helix/IHelixApiClient.cs |
| SDK Adapter | src/HelixTool.Core/Helix/HelixApiClient.cs |
| Cache Adapter | src/HelixTool.Core/Helix/CachingHelixApiClient.cs |
| Service Logic | src/HelixTool.Core/Helix/HelixService.cs |
Anti-patterns
- Don't rename SDK fields at the interface boundary — keep names aligned to reduce cognitive load
- Don't add transformation logic in adapters — they are pass-through only
- Don't make non-nullable what the SDK provides as nullable
Testing pattern
When the adapter/cache types stay private nested classes, cover them without widening visibility:
- Use reflection (
GetNestedType,Activator.CreateInstance) to instantiate the private adapter against the real SDK model. - Invoke the private DTO's public static
From()factory via reflection, thenJsonSerializer.Serialize/Deserialize(..., dtoType)to validate the cache round-trip. - Add an explicit backward-compat test that deserializes legacy JSON missing the new fields and asserts the surfaced interface properties come back as
null. - Keep behavior tests separate: assert service-layer call-count optimizations through
IHelixApiClientmocks, and assert MCP JSON shape by serializing the real result type.
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.
- 10d ago First seen · 45 lines · 0 tokens per session scan A 37446fac89ab
sdk-adapter-extension 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 581 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
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…
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…
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.
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.
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.
voiden
Create and edit Voiden .void files for API testing. Covers the .void file format and all enabled extension block types.