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-chronicle-client-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-chronicle-client-typescript)<a href="https://agentmods.dev/skills/cratis/ai/cratis-chronicle-client-typescript"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-chronicle-client-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-chronicle-client-typescript"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-chronicle-client-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.00040 | $0.03925 |
| Opus 5.5 | $0.00016 | $0.01570 |
| Sonnet 5.5 | $0.00008 | $0.00785 |
| Haiku 4.5 | $0.00004 | $0.00392 |
Grade A, and why
cratis-chronicle-client-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 3d 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 — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The Chronicle client for TypeScript
@cratis/chronicle is a standalone Node.js client SDK that speaks gRPC to a
Chronicle server. It is not a browser library and it is not the Arc TypeScript
proxy layer — an Arc frontend calls generated command and query proxies over
HTTP and never sees this package.
Common pitfalls
| Pitfall | Why it bites |
|---|---|
| Naming a reactor method after the handler's purpose | Use the camelCase event class name or explicit @handles(EventType) |
instanceof on the event inside a handler |
It is a JSON.parsed plain object, not your class |
Event fields with no @field types under tsx |
No type metadata is emitted; unresolved members make registration fail |
Two @eventType() classes sharing a class name |
The id defaults to the class name and they collide |
Deploying compiled dist/*.js with default discovery |
Compiled-JS entries do not scan; import artifact modules explicitly |
| Omitting a side-effect import of an artifact module | Its decorator never runs, so it is never registered |
Forgetting import 'reflect-metadata' at the entry point |
Decorators do not work at runtime |
Forgetting to install @cratis/fundamentals |
It is a peer dependency and is not installed for you |
Importing ChronicleConnectionString |
There is no ./connection export; pass a string |
| Carrying a pre-6.0 stream forward | Pass all three route dimensions explicitly; omitted routes now resolve to Default/All/Default |
| A connection string with no credentials | Silently falls back to the development client credentials |
| Shipping the default TLS behavior | skipTlsValidation defaults to true |
Constructor-injecting without an artifactActivator |
By default the client constructs the artifact itself |
Side-effect reactor without @onceOnly() |
Reactors run again on kernel replay by default |
Reading result.sequenceNumber as a number |
It is a bigint behind .value |
A @globalFor mapping targeting a property one variant lacks |
GlobalHandlerPropertyNotOnVariant when the group is built, not a silently skipped mapping |
Expecting a @globalFor-only class to appear as a projection |
It is never registered on its own; it is merged into its variants |
What ships with it
8 files 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.
- 3d ago Changed · -74 tokens per session 7993bfea1578
- 4d ago Changed · +18 lines 6ee12c668c10
- 11d ago Changed · -44 tokens per session 7c1bfe80b418
- 15d ago Changed · -94 lines 209e0f5b6698
- 17d ago Changed · +9 lines 7b2d7e42202d
- 20d ago Changed · -76 lines de7b115cd2aa
- 1mo ago Changed · +68 lines · +30 tokens per session 11cb007b306a
- 1mo ago Changed · +4 lines a42b7229cca6
- 1mo ago First seen · 397 lines · 128 tokens per session scan A 9fff19538b2b
cratis-chronicle-client-typescript is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 3,925 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-09-06.
Other skills, from other repositories
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.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…