Skip to content
Machine Learning
Skill

/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.

From plugin
civitai
7.3k54 skills17 agents3 commands

Claude Code

$ npx -y skills add civitai/civitai --skill app-assistant-trace --agent claude-code

SKILL.md

app-assistant-trace.SKILL.md
name: app-assistant-trace
description: "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

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`:

  • `themeCustomized` and `theme`: `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 (`themeCustomized: false`).

  • **Template or docs gap**: the assistant tried and the docs or template offered no way to do it.

For example, it asked or searched for theming guidance that doesn't exist, or the template's structure fought the change.

  • **Tool failure**: the styling edits or checks failed (errors in the tool outputs, preview check

failures, a sandbox that went away) and the build was submitted anyway. 5. **Aggregate.** `signals` gives the weekly share of `themeDefault` versus `themeCustomized`, and each docs topic with how many of the builds that read it customised the theme. That tells you whether a fix belongs in the prompt, the docs or the template.

Blind spots of `themeCustomized`. Don't over-trust it.

It is a static scan of the submitted source against the `page-elements` template's defaults (`src/shared/app-assistant/trace-signals.ts` in the civitai repo). It cannot see:

  • colour set from code at runtime (`ctx.fillStyle = …`, a computed `setProperty`), or a colour held

in a plain `const` and us

Read more
@civitai
Ships withcivitai

A repository of models, textual inversions, and more

7.3k54 skills17 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
7.3k
Star history of civitai/civitai on GitHub, a chart by star-history.com

Other skills on civitai.

add-ecosystem

add-ecosystem

Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu,…

@civitai@civitaiInstall Skill
add-generation-support

add-generation-support

Wire an existing ecosystem into the generation system. Adds generation support to basemodel.constants.ts, creates graph and…

@civitai@civitaiInstall Skill
add-trainer-model

add-trainer-model

Add a new trainable base model to BOTH trainers end-to-end — the in-app trainer (main Next.js app, src/) and the Training Studio…

@civitai@civitaiInstall Skill
add-training-support

add-training-support

Wire an existing ecosystem into the LoRA training system so it appears as a trainable base model in the training form. Adds the…

@civitai@civitaiInstall Skill
app-capture

app-capture

Deterministically drive a first-party Civitai App Block in the operator's browser and produce store-ready screenshots,…

@civitai@civitaiInstall Skill

More skills from other plugins.

analyze-ci

analyze-ci

Analyze failed GitHub Action jobs. Takes one or more GitHub URLs (job, workflow-run, or PR) and summarizes each failure with root…

mlflow8d29k
@mlflow@mlflowInstall Skill
hf-cli

hf-cli

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…

skills3w11k
@huggingface@huggingfaceInstall Skill
feast-architecture

feast-architecture

Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…

feast12d7.4k
@feast-dev@feast-devInstall Skill
accessing-mlflow

accessing-mlflow

Query and browse evaluation results stored in MLflow. Use when the user wants to look up runs by invocation ID, compare metrics…

@nvidia@nvidiaInstall Skill

Questions about app-assistant-trace.

Which coding agents can use app-assistant-trace?
app-assistant-trace installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.