cratis-arc-code-analysis-typescript

cratis-arc-code-analysis-typescript is a skill for Claude Code, Codex from Cratis/AI. It costs 60 tokens per session (807 once invoked), scanned A, original, MIT.

An ESLint plug-in for TypeScript Arc server projects. ESLint is a tool that checks source code against rules; this plug-in checks Arc command, read-model and validator bindings before the application is built or receives its first request.

In plain words
What is it for?
Use it to configure ESLint 10, run checks on TypeScript files and fix Arc-specific findings such as missing fields or invalid model bindings. It does not check Arc frontend packages or generated client proxies.
Why use it?
Binding mistakes can otherwise appear late, during a build or only when a request reaches the server. Lint findings show these specific mistakes earlier in the development process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure ESLint 10, run checks on TypeScript files and fix Arc-specific findings such as missing fields or invalid model bindings. It does not check Arc frontend packages or generated client proxies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-arc-code-analysis-typescript
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Cratis/AI --skill cratis-arc-code-analysis-typescript
Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

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 cratis-arc-code-analysis-typescript

README.md
[![agentmods](https://agentmods.dev/badge/skills/cratis/ai/cratis-arc-code-analysis-typescript/github.svg)](https://agentmods.dev/skills/cratis/ai/cratis-arc-code-analysis-typescript)
Your own site
<a href="https://agentmods.dev/skills/cratis/ai/cratis-arc-code-analysis-typescript"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-arc-code-analysis-typescript/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 cratis-arc-code-analysis-typescript

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-arc-code-analysis-typescript"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-arc-code-analysis-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 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.00060 $0.00807
Opus 5.5 $0.00024 $0.00323
Sonnet 5.5 $0.00012 $0.00161
Haiku 4.5 $0.00006 $0.00081

Measured today against content hash 5cdde266d0b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cratis-arc-code-analysis-typescript 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 today.

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.

.cratis/ai/skills/cratis-arc-code-analysis-typescript/SKILL.md · 63 lines

How it starts

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

Lint Arc server artifacts with @cratis/eslint-plugin-arc-core

The plugin finds model-bound binding mistakes in @command(), @readModel() and validator classes before build() or the first request. It targets ESLint 10 flat config and typescript-eslint. It is for Node server artifacts, not the Arc frontend. Install the plugin and tooling in the server project:

npm install --save-dev @cratis/eslint-plugin-arc-core eslint@10 typescript-eslint
// eslint.config.mjs
import arc from '@cratis/eslint-plugin-arc-core';
import tseslint from 'typescript-eslint';

export default tseslint.config(
    ...tseslint.configs.recommended,
    arc.configs['recommended-type-checked']
);

Run npx eslint src, substituting the server source directory. Use the type-checked preset by default. Choose recommended when the files cannot use TypeScript project information. Either preset applies to **/*.ts and **/*.tsx under the arc-core/ rule prefix. Exclude generated files and any files outside the TypeScript project when using the type-checked preset, or add the handwritten files to the project.

Preset Needs type information Rules
recommended no every rule except query-argument-name, arcchr0006 and arcchr0010; type-dependent comparisons are skipped
recommended-type-checked yes (projectService) recommended plus arcchr0006 and arcchr0010

arc-core/query-argument-name is opt-in in both presets.

Read the rule catalog when ESLint reports an arc-core/* finding.

Pitfalls

  • A suppression comment hides the finding, not the bug: unexported-artifact and missing-field describe things build() or the wire schema will break on.
  • Arc decorators must come from @cratis/arc.core, and @field from @cratis/fundamentals; wrapper decorators are not recognized.
  • The Chronicle rules need the decorator imports to come from @cratis/chronicle or @cratis/chronicle/reactors; the rule cannot prove a this.client field belongs to the reactor, so a non-match is not a clean bill.
  • Lint complements, not replaces, build(): the builder validates the whole graph (missing services, lifetime mismatches, misplaced decorators, stale metadata) and arc-proxygenerator --check-metadata catches stale generated metadata in CI.

Read the full file on GitHub · 63 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · -34 lines · +3 tokens per session 5cdde266d0b1
  2. 23d ago First seen · 97 lines · 57 tokens per session scan A a6d4ed8c40fb

Subscribe to this mod's changes

cratis-arc-code-analysis-typescript is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 807 once invoked, about $0.0002 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-11-07.

Related

cratis-arc-code-analysis-typescript compared with skills from other repositories

cratis-arc-code-analysis-typescript next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-arc-code-analysis-typescriptCratis/AISkill4todayMITA60Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code