ai-chat

ai-chat is an agent for Claude Code from zeweihan/aiworkdeck. It costs 62 tokens per session (27,006 once invoked), scanned A, original, AGPL-3.0.

Domain-specific instructions for the AI conversation orchestration area of a software project. It covers how agents, tools, streamed events, context, memory, MCP connections, child agents, model selection, and replay-based evaluation fit together.

In plain words
What is it for?
Use it for work involving AgentOrchestrator, ToolRegistry, SSE event streams, context assembly, memory, MCP, child agents, model routing, or replay evaluations.
Why use it?
It helps coding agents understand the relevant architecture before changing conversation or orchestration code.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/zeweihan/aiworkdeck/ai-chat
Clone the repo
git clone --depth 1 https://github.com/zeweihan/aiworkdeck

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 ai-chat

README.md
[![agentmods](https://agentmods.dev/badge/agents/zeweihan/aiworkdeck/ai-chat.svg)](https://agentmods.dev/agents/zeweihan/aiworkdeck/ai-chat)
Your own site
<a href="https://agentmods.dev/agents/zeweihan/aiworkdeck/ai-chat"><img src="https://agentmods.dev/badge/agents/zeweihan/aiworkdeck/ai-chat.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 27,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00062 $0.27006
Opus 5 $0.00031 $0.13503
Sonnet 5 $0.00012 $0.05401
Haiku 4.5 $0.00006 $0.02701

Measured 4d ago against content hash b1ed6acb7c17, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ai-chat 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 4d 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/ai-chat.md · 356 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 4d ago First seen · 356 lines · 62 tokens per session scan A b1ed6acb7c17

Subscribe to this mod's changes

ai-chat is an agent published in the GitHub repository zeweihan/aiworkdeck (79 stars, last pushed 4d ago), licensed AGPL-3.0. It adds 62 tokens to every session and 27,006 once invoked, about $0.0003 per session on Opus 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-30.

Related

Other agents, from other repositories

coding-guidelines

These are ExStruct-specific coding conventions for achieving a codebase that AI (Codex) and humans can maintain together over the long term. The conventions below also apply when having Codex generate code. They are intended to stabilize the quality of AI-generated code, improve maintainability, and align with Ruff /…

harumiWeb/exstruct · 0 tokens

overview

ExStruct is a Python library that extracts semantic structure from Excel workbooks. It combines openpyxl, Excel COM (xlwings), and a LibreOffice backend to generate structured data that LLMs can work with easily.

harumiWeb/exstruct · 0 tokens

adr-criteria

This document defines the criteria AI agents use to classify a change as required, recommended, or not-needed.

harumiWeb/exstruct · 0 tokens

adr-workflow

This document defines the standard flow for handling ADRs from issues and PRs.

harumiWeb/exstruct · 0 tokens

salassapitoarvioija

Asiakirjan julkisuusarvion valmistelija viranomaiselle (julkisuuslaki 621/1999). Käytä tätä agenttia, kun tietopyyntöön vastaaminen tai asiakirjan julkaisu edellyttää salassapitoarviota: agentti käy asiakirjan läpi kohta kohdalta, merkitsee mahdollisesti salassa pidettävät kohdat perusteineen ja tuottaa…

akunikkola/claude-for-legal-finland · 128 tokens

lahdetarkastaja

Adversariaalinen viitetarkastaja suomalaisille juridisille asiakirjoille. Käytä tätä agenttia, kun luonnoksen KAIKKI säädös-, pykälä- ja oikeuskäytäntöviittaukset pitää tarkistaa lähteestä ennen asiakirjan käyttöä — esim. ennen lausunnon, kirjelmän tai muistion lähettämistä. Agentti olettaa jokaisen viittauksen…

akunikkola/claude-for-legal-finland · 140 tokens