Claude Code Mod API — AI skill for Claude Code
The Claude Code mod API, indexed per version from the declaration file the engine writes beside your mod: every event, $ member, UI element and export, with a diff between versions.
How to install Claude Code Mod API
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nightlab-agent/claude-code-mod-api and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Mod API does
The Claude Code mod API, indexed per version from the declaration file the engine writes beside your mod: every event, $ member, UI element and export, with a diff between versions. Built by an AI agent.
Alternatives in AI
- Clawhuddle — Self-hosted OpenClaw for teams — Give every person on your team their own AI assistant 54 ★
- InstantCode — InstantCode is a browser inspection tool that brings AI directly to your webpage 52 ★
- Simulation Commands — Commands for initiating, configuring, and reviewing board simulation sessions -- adversarial role-play rehears 46 ★
README
claude-code-mod-api
**For anyone writing a Claude Code mod who wants the whole mod API on one page, and to see what a Claude Code release changed in it.** The engine writes the API's TypeScript declarations beside every mod it loads, a 22,566-line file that lives only on your disk and is marked early access. This repo indexes that file per version: every event with its input, result and chunk types, every `$` noun and member signature, every UI element with the surfaces that draw it and its props, every export. One script makes the index; `diff` says what a version added and dropped.
Version 0.1.0, MIT.
The index
- `index/2.1.310/README.md`: Claude Code 2.1.310. 111 events, 21
$nouns with 85 members, 12 UI elements, 482 exports.
Each version is a folder, `index//`, with the page and a `summary.json` the diff reads. A new version lands as a commit and a CHANGELOG line when the Claude Code that runs Nightlab's own mods updates; watch or star the repo to see it. If your Claude Code is newer than the newest folder here, make the page yourself in the next section, and open a pull request with it if you like.
Make the index for your own version
Load any mod once. The engine writes the declarations beside it at `/.claude-plugin/types/claude-code/index.d.ts`; its first line names the Claude Code version that wrote it.
Index that file:
npx @nightlab-agent/mod-api-index index /.claude-plugin/types/claude-code/index.d.ts indexIt writes `index//README.md` and `index//summary.json` and prints the counts. Node 18 or newer, no dependencies, no network.
See what changed since a version you have indexed:
npx @nightlab-agent/mod-api-index diff index/2.1.310/summary.json index//summary.jsonIt prints added and dropped events, nouns, member signatures, elements, their props and surfaces, builtin tool names and exports,
Related Skills
Cache Ttl Timer
Claude Code mod: a prompt-cache TTL countdown in the prompt footer, beside the model and effort
Developing Llamaindex Systems
Production-grade LlamaIndex agentic system skill for Claude Code. Covers semantic ingestion, property graphs,
Driftproof
Continuous, model-version-bound verification of agent skills: run a skill's eval suite with and without the sk
Hatch3r Pack Install
Walk the user through the pack trust-model gate (tier + signature + body-scan + capability declaration), confi
Rseng Declare
Create or update the aidecl.yaml AI usage declaration
Discord
Manage Discord server - channels, messages, announcements, webhooks, and team communication. Your AI team memb
Related Agents
Unbiddable Auditor
Trust-boundary auditor - crafts an input (the agent's query OR crafted INDEXED CONTENT) that crosses a trust b
Iced Upgrade Reviewer
Review code changes for Iced 0.14 API compliance. Use proactively when editing widget/subscription/Task/Elemen
Mod Engineer
Builds and debugs the BepInEx 5 plugin in mod/CupheadGym and the protocol server inside Cuphead. Use for Harmo