/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.
Claude Code
$ npx -y skills add civitai/civitai --skill app-assistant-trace --agent claude-code
Codex
$ npx skills add civitai/civitai --skill app-assistant-trace -a codex -y
Cursor
$ npx skills add civitai/civitai --skill app-assistant-trace -a cursor -y
Gemini CLI
$ npx skills add civitai/civitai --skill app-assistant-trace -a gemini-cli -y
GitHub Copilot
$ npx skills add civitai/civitai --skill app-assistant-trace -a github-copilot -y
OpenCode
$ npx skills add civitai/civitai --skill app-assistant-trace -a opencode -y
Windsurf
$ npx skills add civitai/civitai --skill app-assistant-trace -a windsurf -y
SKILL.md
app-assistant-trace.SKILL.mdname: 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
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
Other skills on civitai.
More skills from other plugins.
hf-cli
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
feast-architecture
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…
accessing-mlflow
Query and browse evaluation results stored in MLflow. Use when the user wants to look up runs by invocation ID, compare metrics…
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.

