Context enrichment for agentic AI application development using LangChain, Vercel AI SDK, and assistant-ui. Use when building AI agents, chat interfaces, tool-calling pipelines, RAG systems, or multi-step AI workflows.
日本語の概要は準備中です。原文の説明を表示しています。
Self-improvement from this project's Claude Code session logs. Mines a date range (default "yesterday") through parallel signal lenses, clusters what it finds into improvement opportunities, drafts a concrete change per opportunity, adversarially validates the cited evidence, and reports improve/create proposals across the project harness — skills, subagents, output styles, the CLAUDE.md/AGENTS.md instruction, and guardrails (permission rules, hooks). Advisory — it never edits an artifact; you decide what to apply.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Act as the self-improvement orchestrator. You turn a date range into a reflect plan (purpose, date range, signal lenses), get the user to approve it, then author and run one dynamic workflow (the Workflow tool with an inline script you write) that mines, clusters, proposes, validates, and reports. You do not mine logs, draft changes, or write the report yourself.
Date range: $ARGUMENTS
Advisory is the identity. reflect never edits or creates an artifact. It reports proposals, each labelled improve (edit an existing artifact) or create (a new skill, subagent, hook, or permission rule), with a concrete change and cited session-log evidence. A human applies them.
In scope — the project harness, all git-tracked: skills, subagents, and output styles under
plugins/; the project CLAUDE.md / AGENTS.md; guardrails in the project .claude/settings.json
(permission rules, hooks) and CLAUDE.md rules. Out of scope: the user's global ~/.claude/ files
and other projects' logs.
Always:
since / until before launching; default to yesterday.logRoot to this project's session-log directory (the Claude home projects/<slugified-cwd>/) and confirm it has sessions in range; if none, say so and stop.file:line where it points at code..start/reflect/ is pre-authorized.Never:
Derive from $ARGUMENTS the date range (since, until, label), a slug name (e.g. 2026-07-16),
and a terse purpose. Choose the signal lenses — default all six:
friction — tool errors, user interrupts and rejections, retry loops, expensive turnsconversation — inefficient dialogue that leaves no structured trace (samples sessions)router — over- or under-provisioned models per rolecapability — recurring manual multi-step work no skill or subagent owns (→ create)guardrail — recurring mistakes and unguarded dangerous operations (→ permission rule, hook, rule)instruction — dead, ignored, bloated, or ambiguous CLAUDE.md / AGENTS.md rulesCreate .start/reflect/[name]/ with a .tracker/ directory and write reflect.md from template.md
with status: draft.
Display in the chat: the purpose, the resolved date range with ISO dates, the lenses, the target scope,
and that the run is advisory. Ask the user to Approve or Refine. On refine, update reflect.md,
re-display, and ask again. On approve, set status: approved.
For each lens create a mine task and record its id:
node ${CLAUDE_PLUGIN_ROOT}/scripts/task.js create --home .start/reflect/[name] --type mine --name "{lens}"
These instructions are the opt-in: call the Workflow tool directly with an inline script. Do not load the workflow-authoring reference or assemble the script through shell commands first — runs that detour through either stall before launching. Read reference/workflow.md,
reference/surfaces.md, and the agent references. Author one workflow script that implements the
contract exactly, each agent's prompt taken from its reference with placeholders filled. Launch it with
the Workflow tool, passing the resolved values as args. Set status: in-progress.
Choose model and effort per stage from what the stage does. Structured mining — scanning records for
errors, interrupts, and token counts — can run on a smaller, faster model. Reading dialogue for
inefficiency, spotting capability gaps, auditing instructions, clustering, validating, and grading need
the strongest model. A validating or grading stage never runs on a weaker model than the stage it
judges. When unsure, omit model so the stage inherits the session model.
Present a one-line dispatch summary, e.g.
Reflecting on "{name}": {n} lenses over {label} → dynamic workflow (advisory).
When the workflow returns (shape in reference/workflow.md):
overall and each dimension) and name every failing dimension — the report is not revised to clear
it. If no proposal survived, say the run found nothing supportable and show no grade.reflect.md status: review.evals/evals.json where one exists and
surface the result before the next proposal.まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Context enrichment for agentic AI application development using LangChain, Vercel AI SDK, and assistant-ui. Use when building AI agents, chat interfaces, tool-calling pipelines, RAG systems, or multi-step AI workflows.
日本語の概要は準備中です。原文の説明を表示しています。
Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a dynamic workflow that gathers cited claims per angle, merges duplicates, has independent skeptics try to refute every claim, and writes one cited report from the claims that survived. Use for "how does X work", "map the Y flow", "research Z", or any mechanism-level question that must be evidence-backed.
日本語の概要は準備中です。原文の説明を表示しています。
REST and GraphQL API design patterns, OpenAPI/Swagger specifications, versioning strategies, and authentication patterns. Use when designing APIs, reviewing API contracts, evaluating API technologies, or implementing API endpoints.
日本語の概要は準備中です。原文の説明を表示しています。
System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria. Use when designing system architectures, evaluating patterns, or planning scalability.
日本語の概要は準備中です。原文の説明を表示しています。
Consolidate a completed specification into a single archived record and remove its working directory. Use as the final stage after implementation — distills requirements + solution into .start/archive/[NNN]-[name].md and deletes the .start/specs/[NNN]-[name]/ directory.
日本語の概要は準備中です。原文の説明を表示しています。
Required first step before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements, and design before implementation.
日本語の概要は準備中です。原文の説明を表示しています。