/tesseron:tesseron-explorerfrom tesseron
Maps Tesseron TypeScript codebases by cataloging apps, actions, resources, context methods, transports, React hooks, and session lifecycle wiring. Traces agent invocations through handlers into app state and returns a compact architecture summary with file:line references.
Ships in tesseron. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Map an existing Tesseron TypeScript application — its app manifests, actions, resources, context-method usage, transports, React hooks, and session lifecycle — and return a compact summary the caller can act on without re-reading the files themselves.
The caller specifies what to explore in the invocation prompt:
gateway, docs-mcp).If the caller does not specify, start from the directory the parent thread is operating in and locate every file that imports from @tesseron/*.
Project shape. Read package.json (root and workspace packages) for workspace layout, dependency versions, and scripts. Grep for "@tesseron/ in all package.json files to identify which packages are consumers (@tesseron/web, /server, /react) and which are the SDK itself. Identify entry points (src/main.ts, src/main.tsx, src/app.tsx, src/index.ts, vite.config.ts, tsconfig.json).
SDK surface. Grep for framework anchors:
from '@tesseron/web' / from '@tesseron/server' / from '@tesseron/react' / from '@tesseron/core' — consumer imports.tesseron.app( — app manifest registration.tesseron.action( / .action( — action builder chains.tesseron.resource( / .resource( — resource builder chains.tesseron.connect( — session handshake sites.useTesseronAction( / useTesseronResource( / useTesseronConnection( — React hook sites.ctx.sample( / ctx.confirm( / ctx.elicit( / ctx.progress( / ctx.log( / ctx.signal — context method use.ResumeCredentials / resumeToken / sessionId — resume-flow persistence.BrowserWebSocketTransport / NodeWebSocketServerTransport / @tesseron/vite plugin / implements Transport — transport wiring.TesseronError / SamplingNotAvailableError / ElicitationNotAvailableError / TimeoutError / ResumeFailedError — error handling.Component mapping. For each match, open just enough of the file to capture the component's shape. Do not read the whole file if a targeted span will do.
Data-flow. Trace how invocations propagate:
actions/invoke → handler → state mutation → subscribers → resources/updated notifications.tesseron/hello or tesseron/resume → welcome → ongoing invocations.ctx.sample / ctx.confirm / ctx.elicit round-trips.App
id and name — file:line of tesseron.app(...) call.description, origin, version.tesseron.connect(...)) or elsewhere (e.g. React useTesseronConnection at app root).Action
.strictOutput() is set.readOnly / destructive / requiresConfirmation).sample / confirm / elicit / progress / log / signal forwarding.Resource
read() reader (pure vs impure), subscribe() wiring (initial emit, callback registry, cleanup function).$effect / watch).Transport
BrowserWebSocketTransport (client, dials a /@tesseron/ws bridge), NodeWebSocketServerTransport (server, hosts a loopback endpoint and writes a tab file), custom postMessage, in-memory for tests.@tesseron/vite is configured (required in v2.0 — it bridges browser tabs to the gateway via /@tesseron/ws).ConnectOptions.resume is wired.React hook site
useTesseronAction: action name, closure captures, whether handler uses fresh state via refs.useTesseronResource: shorthand (function) vs full options, subscribe pattern.useTesseronConnection: where it mounts (root vs nested), connection state consumer (claim-code UI, error banner, etc.).Session lifecycle
resumeToken rotates on every successful resume).## Codebase Map: <project or feature name>
### Overview
<two or three sentences on what the app exposes to Claude, which stack it uses, and which transport/gateway pattern is in play>
### Entry points
- `<path>:<line>` — <role>
### Apps
- **<AppId>** (`<path>:<line>`). <one-sentence purpose>. Description=<...>. Connects via <transport + URL>. Resume: <persisted? where?>.
### Actions
- **<actionName>** — `<path>:<line>`. <one-sentence purpose>. Input=<shape>, Output=<shape or "none">, Strict=<yes/no>, Annotations=<readOnly/destructive/confirm>, Timeout=<default or override>. Context use: <sample/confirm/elicit/progress/log/signal>. Side effects: <...>.
### Resources
- **<resourceName>** — `<path>:<line>`. <one-sentence purpose>. Read=<pure/impure>, Subscribe=<yes/no>. Emitter wiring: <where the app triggers updates>.
### Transports
- `<path>:<line>` — <implementation>. Target: <URL>. Options: <resume? allowlist? timeout?>.
### React hooks (if applicable)
- `<path>:<line>` — `useTesseronAction('<name>', ...)` / `useTesseronResource(...)` / `useTesseronConnection(...)`. Closure pattern: <fresh state via ref / stable closure / other>.
### Session lifecycle
<how hello/resume happens, where claim code surfaces, how credentials persist, where disconnect is handled>
### Data flow
<ASCII / short prose: Gateway → handler → state → subscribers, plus any sample/elicit round-trips>
### Essential reading list
Prioritized files the caller should open to understand the system further, with a one-line reason per file.
### Observations (optional)
Flag notable patterns, risks, or anomalies. Do not review — just point out what seems structurally interesting. Hand detailed review off to the `tesseron-reviewer` skill.
Keep the total map focused. Token ceiling: aim for one or two screens of Markdown plus the essential-reading list. For larger codebases, produce a two-level map: a top-level shape + one level of detail per component, and dive deeper only where the user asks.
-n and small Read offsets. Reading entire files when a 30-line span is enough wastes context and delays the summary.tesseron-reviewer skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub tesseron-dev/tesseron --plugin tesseron5 skills in this plugin
/frameworkQuick-reference mental model for the Tesseron TypeScript SDK — core abstractions (app, action, resource, handler, ActionContext, transport, session, gateway), canonical imports per consumer package (`@tesseron/web`, `/server`, `/react`, `/core`, `/mcp`), and the minimum-viable-app template. Load when the user is starting Tesseron work, wiring a first action or resource, deciding which consumer package to import, writing a handler for the first time, or orienting on how the pieces fit together. Triggers on code that imports from `@tesseron/*`, on calls to `tesseron.action(...)`, `tesseron.resource(...)`, `tesseron.connect(...)`, `useTesseronAction`, `useTesseronResource`, or `useTesseronConnection`, and on broad questions like "what is Tesseron", "how do actions work", "where do I start". For authoritative specs — exact wire format, error code tables, handshake and resume shapes, full protocol behaviour — prefer the `tesseron-docs` skill, which queries the live `@tesseron/docs-mcp` server. This skill is the cheat sheet; `tesseron-docs` is the manual./tesseron-devSet up and maintain Tesseron integration in a JS/TS project. Picks the right consumer package (`@tesseron/react` for React, `@tesseron/server` for Node, `@tesseron/web` for any other browser context), installs it with the project's existing package manager, ensures a Standard-Schema validator is present, and inserts the canonical Tesseron API — `tesseron.app(...)`, at least one action, at least one resource, `tesseron.connect(...)` — at module scope of the entry point. Also handles integration maintenance: switching consumer packages, upgrading `@tesseron/*` versions in lockstep, splitting a multi-surface app into multiple `app.id` values, or removing Tesseron. Strictly scoped to Tesseron concerns — does not create projects, scaffold build tooling, pick framework versions, or template framework-specific integration code (reactive primitives, component patterns, lifecycle hooks). Use when the user says "add tesseron", "integrate tesseron", "wire up @tesseron/web" / "/react" / "/server", "upgrade tesseron", "switch to @tesseron/react", "split this into two tesseron apps", or opens a project without `@tesseron/*` yet and wants to start using it./tesseron-docsAuthoritative Tesseron documentation lookup via the `@tesseron/docs-mcp` MCP server. Calls `search_docs` to find relevant pages and `read_doc` to fetch the full markdown body when the user asks precision questions about Tesseron protocol or SDK behaviour. Triggers on requests that need an exact spec, not an overview — wire format (JSON-RPC envelopes, `tesseron/hello`, `tesseron/welcome`, `tesseron/resume`, `actions/progress`, `actions/cancel`), transport framing, handshake and claim-code flow, session resume and resumeToken, lifecycle transitions, sampling contract, elicitation contract (`ctx.confirm`, `ctx.elicit`), progress + cancellation via `AbortSignal`, error codes (`TesseronErrorCode`, `SamplingNotAvailableError`, `ElicitationNotAvailableError`, `TimeoutError`, `CancelledError`, `ResumeFailedError`), capability negotiation, origin allowlist, multi-app namespacing, MCP gateway config, Standard Schema (Zod, Valibot, Typebox) integration, action-builder steps, resource read/subscribe, React hook semantics. Use phrases like "what error code does X return", "what does tesseron/hello look like", "exact handshake shape", "resumeToken flow", "gateway origin allowlist", "show me the spec for", "what fields does X accept". The `framework` skill handles orientation and the mental model; `tesseron-docs` handles chapter-and-verse questions./tesseron-reviewerReviews Tesseron TypeScript code for framework- and protocol-specific correctness — app manifest hygiene, action/resource builder invariants, ActionContext capability checks, handler async/signal forwarding, subscriber cleanup, session resume flow, React hook registration patterns, gateway origin-allowlist sanity — using confidence-based filtering. Use PROACTIVELY after any change to Tesseron code, before commit or PR, and whenever the user asks to review, audit, check, or validate code that imports from `@tesseron/core`, `@tesseron/web`, `@tesseron/server`, `@tesseron/react`, or `@tesseron/mcp`. Complements generic code review by focusing only on Tesseron-specific concerns. The caller should pass the scope (diff, file paths, or module) in the invocation prompt.Other plugins' skills for the same job