Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

app-assistant-trace

БесплатноЗапускает вложенные скриптыНе проверен

Trace a submitted App Block back to the App Assistant chats that built it and diagnose why it came out the way it did (e.g. why it shipped with the default…

civitaiот civitai★ 7 333 звезды на GitHub

Об этом скилле

App Assistant trace

Reads the moderator trace API (/api/mod/apps/assistant-trace/*). While the app-assistant-tracing flag is on, civitai links each App Assistant chat to the app it works on. When an app is submitted, civitai freezes the submitter's chats for that version as transcripts and computes signals for the submission. This skill reads those. It writes nothing.

🔴 Transcripts are users' private chats. Never paste a transcript, or any part of one, into a PR, issue, commit, public channel or anything outside the moderator tooling. Summarise what you found (for example: "the assistant never read the theme docs; the user never asked for a look") and cite the publish request id. Every transcript read is audited under your moderator account.

Setup

cp .claude/skills/app-assistant-trace/.env.example .claude/skills/app-assistant-trace/.env
# put a moderator's FULL-ACCESS personal API key in CIVITAI_API_KEY
Variable Required Default Description
CIVITAI_API_KEY Yes - A moderator's full-access personal API key (any other key is refused)
CIVITAI_API_URL No https://civitai.com API base URL

The process environment wins over .env. The key is never printed.

Commands

T=.claude/skills/app-assistant-trace/trace.mjs
node $T request <publishRequestId>          # one submission: request, trace (signals, snapshots), live links
node $T app <slug> [--limit 20] [--cursor <publishRequestId>]   # every submission of the app + every linked chat
node $T transcript <publishRequestId> <conversationId> [--tool-output-chars 2000]   # one frozen chat
node $T signals [--from 2026-09-01] [--to 2026-12-01]           # per week + per docs topic, max 366 days

Output is the API's JSON on stdout. On failure the exit status is non-zero: 1 means the API or the network refused, and stderr carries { status, code, error } from the API. 2 means a usage error or a missing key. A 401 or 403 means the key is not a full-access moderator key. A 404 on transcript names why: no trace, chat not in the trace, or chat not frozen.

Diagnosis workflow (e.g. "why did this app ship with the default theme?")

  1. Resolve the app to its submissions. app <slug> lists the requests newest first, each with its trace (or null when tracing was off at submit or nothing could be written) and every links row for the app. Pick the request in question.
  2. Read the signals. Use request <publishRequestId>, then trace.signals:
    • accentCustomized: the signal for "did it ship the default look?" false = Civitai's stock look, true = an accent of its own, null = nothing to judge. A row with signalsVersion: 1 has no accentCustomized; judge it from its theme by the same rule (below). themeCustomized is the v1 signal. It is true on ANY colour literal or token the app sets (80 of 93 traces), so it cannot tell a look of its own from the stock look. Don't use it for that.
    • theme, the evidence: tokenOverrides (the --civitai-* tokens the app sets), customColorCount and customColorFiles (its own colours), usesThemePackage and stylingDependencies.
    • readDocsTopics: which developer-docs pages the build read, in order. Look for a theme or design page.
    • editedFiles: did the build ever touch src/index.css, index.html or a style file?
    • toolCallCounts: did read_docs run at all? Were there many failed or repeated sandbox calls?
    • sessionCount, turnCount, buzzTotal, models.
    • trace.snapshots[].error and trace.snapshotError: a chat that is not-found or consent was never frozen. With no frozen chat there is no transcript evidence; say so.
  3. Read the transcripts. Use transcript <publishRequestId> <conversationId> for each snapshot with a key. Skim the user's messages first, then the assistant's tool calls. Raise --tool-output-chars only for the calls you need.
  4. Classify where the cause sits, one primary cause per submission, with the evidence:
    • User never asked: no message asks for a look, colours, brand or style. The default is the expected outcome.
    • Assistant never read the theme docs: the user asked for a look, but readDocsTopics has no theme or design page and the styling was never attempted.
    • Read the docs but didn't apply them: the theme page was read, but editedFiles shows no style file and no token was set. Or the assistant said it styled the app and the bundle shows nothing (accentCustomized: false).
    • Template or docs gap: the assistant tried and the docs or template
Полный SKILL.md на GitHub

Установить app-assistant-trace в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.env.examplelib.mjstrace.mjs

FAQ

Что делает скилл app-assistant-trace?

Trace a submitted App Block back to the App Assistant chats that built it and diagnose why it came out the way it did (e.g. why it shipped with the default theme): the submission's signals, the chats' frozen transcripts, and the signals in aggregate. Moderator API key required. Use for: 'why did this app ship with the default theme?', 'which sessions built <slug>?', 'read the build transcript of <publishRequestId>', 'how many submissions keep the default theme per week?'.

Как установить скилл app-assistant-trace?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл app-assistant-trace запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить app-assistant-trace с