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.
npx skills add Cratis/AI --skill cratis-arc-code-analysis-typescriptgit clone --depth 1 https://github.com/Cratis/AIWrote 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/cratis/ai/cratis-arc-code-analysis-typescript)<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.
<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>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.00060 | $0.00807 |
| Opus 5.5 | $0.00024 | $0.00323 |
| Sonnet 5.5 | $0.00012 | $0.00161 |
| Haiku 4.5 | $0.00006 | $0.00081 |
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.
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-artifactandmissing-fielddescribe thingsbuild()or the wire schema will break on. - Arc decorators must come from
@cratis/arc.core, and@fieldfrom@cratis/fundamentals; wrapper decorators are not recognized. - The Chronicle rules need the decorator imports to come from
@cratis/chronicleor@cratis/chronicle/reactors; the rule cannot prove athis.clientfield 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) andarc-proxygenerator --check-metadatacatches stale generated metadata in CI.
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.
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.
- today Changed · -34 lines · +3 tokens per session 5cdde266d0b1
- 23d ago First seen · 97 lines · 57 tokens per session scan A a6d4ed8c40fb
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.
cratis-arc-code-analysis-typescript compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cratis-arc-code-analysis-typescriptCratis/AI | Skill | 4 | today | MIT | A | 60 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |