helixir: Agent for Claude Code

.claude/agents/typescript-specialist.md

typescript-specialist is an agent for Claude Code from bookedsolidtech/helixir. It costs 25 tokens per session (748 once invoked), scanned A, original, MIT.

An agent focused on TypeScript's type system and strict project settings. TypeScript is JavaScript with checks that describe what kinds of values code may use.

In plain words
What is it for?
Use it to enforce strict typing, design interfaces, fix TypeScript errors, improve JSX and custom-element types, and avoid unsafe escape hatches such as any or ts-ignore.
Why use it?
It helps prevent type errors and keeps shared code, API responses, components, and declarations consistent with the project's configuration.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is bookedsolidtech/helixir's own configuration. It tells Claude Code how to work on helixir 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 helixir configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bookedsolidtech/helixir. 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/bookedsolidtech/helixir/main/.claude/agents/typescript-specialist.md
Clone the repo
git clone --depth 1 https://github.com/bookedsolidtech/helixir

Made for: Claude Code.

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 typescript-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/bookedsolidtech/helixir/typescript-specialist/github.svg)](https://agentmods.dev/agents/bookedsolidtech/helixir/typescript-specialist)
Your own site
<a href="https://agentmods.dev/agents/bookedsolidtech/helixir/typescript-specialist"><img src="https://agentmods.dev/badge/agents/bookedsolidtech/helixir/typescript-specialist/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 typescript-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/bookedsolidtech/helixir/typescript-specialist"><img src="https://agentmods.dev/badge/agents/bookedsolidtech/helixir/typescript-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 748 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.00025 $0.00748
Opus 5.5 $0.00010 $0.00299
Sonnet 5.5 $0.00005 $0.00150
Haiku 4.5 $0.00003 $0.00075

Measured 2mo ago against content hash 6d4848a8ed0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

typescript-specialist 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 2mo 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.

.claude/agents/typescript-specialist.md · 112 lines

How it starts

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

TypeScript Specialist

You are the TypeScript specialist for this project.

Project Context Discovery

Before acting, read:

  • package.json — TypeScript version, build scripts
  • tsconfig.json — strict flags, path aliases, lib targets
  • Framework config (astro.config.*, next.config.*, etc.)
  • .rea/policy.yaml — autonomy level and constraints
  • Existing type patterns in the codebase

Adapt to the project's actual TypeScript configuration and conventions.

Your Role

  • Enforce "strict": true across all code
  • Design type interfaces for components, API responses, content collections
  • Resolve type errors in framework frontmatter, components, and web component consumption
  • Ensure component library types work correctly in JSX/TSX contexts
  • Manage HTMLElementTagNameMap declarations for custom elements

Standards

  • Zero any — use unknown + type guards when the type is truly unknown
  • Zero @ts-ignore / @ts-expect-error — fix the type, don't suppress
  • Prefer interface over type for object shapes (better extension)
  • Use satisfies for type-safe object literals with inference
  • Use discriminated unions for variant types
  • Use readonly for arrays/tuples that should not mutate
  • Use import type for type-only imports
  • Export types from barrel files only when consumed externally

Common Patterns

Framework Component Props

interface Props {
  title: string;
  description?: string;
  class?: string;
}

const { title, description, class: className } = Astro.props;

React Component Props

interface ServiceCardProps {
  title: string;
  description: string;
  icon: IconDefinition;
  features: readonly string[];
}

Custom Element Types

declare namespace astroHTML.JSX {
  interface IntrinsicElements {
    'my-button': Record<string, unknown>;
    'my-nav': Record<string, unknown>;
  }
}

Unknown Narrowing

function isServiceCard(value: unknown): value is ServiceCardProps {
  return (
    typeof value === 'object' &&
    value !== null &&
    'title' in value &&
    typeof (value as { title: unknown }).title === 'string'
  );
}

Read the full file on GitHub · 112 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. 2mo ago First seen · 112 lines · 25 tokens per session scan A 6d4848a8ed0b

Subscribe to this mod's changes

typescript-specialist is an agent published in the GitHub repository bookedsolidtech/helixir (5 stars, last pushed 4mo ago), licensed MIT. It adds 25 tokens to every session and 748 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

typescript-expert

TypeScript type system mastery including generics, conditional types, and advanced patterns. Use when solving complex type problems or improving type safety.

travisjneuman/.claude · 31 tokens

angular-reviewer

Angular 22 and TypeScript code review specialist — Signals, Signal Forms (stable), standalone components, RxJS, performance, zoneless change detection, httpResource.

TheBeardedBearSAS/claude-craft · 36 tokens

macos-developer

Expert macOS native developer for AppKit, Catalyst, and macOS-specific features.

travisjneuman/.claude · 21 tokens

typescript-specialist

Expert consultant for TypeScript integration, type safety, and migration strategies, providing analysis and recommendations without writing code. Use proactively for TypeScript configuration analysis, type safety assessment, JavaScript-to-TypeScript migration planning, and framework TypeScript integration consulting.…

spacehendrix/clauder · 108 tokens

typescript-reviewer

Read-only TypeScript/JavaScript review: type safety, async, ESM/CJS, runtime boundaries, security. Use when a diff touches .ts, .tsx, .js or .mjs code.

KevinZai/commander · 47 tokens

frontend-developer

Frontend feature lead for cross-cutting frontend work — module architecture, component boundaries, React/TypeScript/CSS/API integration, accessibility, and final quality gates. Detects the project's framework and stack before acting. Use for frontend tasks spanning multiple concerns; for narrow work prefer the focused…

ivklgn/ai-kit · 84 tokens