[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MAGE7RV60HH094ND7WDNG":3,"skill-same:01M75MAGE7RV60HH094ND7WDNG":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75MAGE7RV60HH094ND7WDNG","samplescope",null,"Browse experiment outputs (JSONL\u002FCSV\u002Finspect-ai .eval) together with the human via samplescope — start the server, then drive the human's browser view from the terminal with `sscope view` (open files, jump to rows, filter, mark, judge, pin plots). Use when the human wants to look at samples\u002Fresults\u002Ftranscripts together, asks to \"open X in the viewer\", or when you want to show them specific rows instead of pasting walls of text.","Butanium\u002Fsamplescope","Butanium","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55806347?v=4","01M75MACFRR89ZMY56XY00VA79","Clément Dumas","01M75MACGFQYY54X4M917Z537R",1,"MIT","https:\u002F\u002Fgithub.com\u002FButanium\u002Fsamplescope\u002Fblob\u002Fmaster\u002Fsrc\u002Fsamplescope\u002Fskill\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: samplescope\ndescription: Browse experiment outputs (JSONL\u002FCSV\u002Finspect-ai .eval) together with the human via samplescope — start the server, then drive the human's browser view from the terminal with `sscope view` (open files, jump to rows, filter, mark, judge, pin plots). Use when the human wants to look at samples\u002Fresults\u002Ftranscripts together, asks to \"open X in the viewer\", or when you want to show them specific rows instead of pasting walls of text.\n---\n\n# samplescope\n\nA local web app for close-reading experiment outputs, plus an `sscope view`\nCLI that drives the SAME view the human has open in their browser. You change\nthe view from your shell; their screen follows live. This makes it the best\nway to *show* the human data: instead of pasting samples into chat, open the\nfile, jump to the interesting row, and tell them to look.\n\n**Which situation are you in?**\n\n- **Terminal session** (Claude Code in a repo): you may need to start or find\n  the server — see the next section.\n- **Embedded chat agent** (the chat drawer inside samplescope): the server is\n  already running and `sscope view` is pre-targeted at it via\n  `SAMPLESCOPE_BASE_URL`. Skip the server section entirely; just drive.\n\n## Start (or find) the server — terminal sessions only\n\n```bash\nsscope view state            # a server already running for this cwd? (auto-discovery)\nsscope \u003Cdir>                 # serve datasets under \u003Cdir>; prints the URL\n                             # (shorthand for `sscope serve \u003Cdir>`)\n```\n\n- Run it in the background; it stays up. Relaunching on the same dirs is\n  idempotent (prints the existing URL instead of starting a twin).\n- Default port 8765, auto-picks the next free one — multiple instances for\n  different projects coexist fine.\n- Give the human the printed URL (e.g. http:\u002F\u002F127.0.0.1:8766).\n- `sscope view` auto-targets the instance whose scan root contains your\n  cwd. Outside any scan root: set `SAMPLESCOPE_BASE_URL` or pass\n  `sscope view --base-url \u003Curl> \u003Ccmd>`.\n\n## Drive the shared view\n\nThe core loop:\n\n```bash\nsscope view ls                      # what files does the server see\nsscope view open \u003Cpath>             # switch the human's view to this file\nsscope view goto 42                 # jump their view to row 42\nsscope view state                   # current shared view state\n```\n\nPaths are relative to the server's serving root — use exactly what\n`sscope view ls` prints.\n\nFull command reference (generated from the CLI itself — trust it over memory):\n\n\u003C!-- BEGIN GENERATED: sscope-view-reference (python -m samplescope._gen_cli_ref) -->\n```\nsscope view ls [options]\n  # List discoverable datasets (JSONL\u002FCSV\u002Fparquet\u002F.eval under scan roots).\n  --filter TEXT                     substring match on path\n  --json                            print the entries as a JSON list\nsscope view info \u003Cpath>\n  # Schema-detect one dataset: row count, columns, view kind.\nsscope view stats [path]\n  # Per-column distribution breakdown (dtype, nulls, min\u002Fmax, top values).\nsscope view open \u003Cpath>\n  # Open a dataset in the viewer (UI switches live).\nsscope view goto \u003Cidx>\n  # Move the viewer to row index `idx`.\nsscope view next\n  # Step the viewer forward one row (state-aware).\nsscope view prev\n  # Step the viewer back one row (state-aware, clamped at 0).\nsscope view filter \u003Cregex> [options]\n  # Add a regex filter to the open dataset (AND-composed with existing ones).\n  --column TEXT                     restrict to one column; omit for whole-row\n  --cmp                             REGEX is a numeric comparison like '>= 3' (needs --column)\nsscope view filters\n  # List the active filters (index, column, regex).\nsscope view rm-filter \u003Cidx>\n  # Remove the filter at index `idx` (see `sscope view filters`).\nsscope view clear-filter\n  # Clear all active filters.\nsscope view shuffle [options]\n  # Pick a fresh shuffle seed for the open dataset. Clears any active sort.\n  --seed INTEGER                    explicit seed; omit for random\nsscope view sort \u003Ccolumn> [options]\n  # Sort the open dataset by a column. Clears any active shuffle.\n  --desc                            sort direction (default ascending)\nsscope view clear-sort\n  # Drop the active sort and return to natural \u002F shuffled order.\nsscope view sample \u003Cn>\n  # Pull n random rows from the currently-open dataset.\nsscope view rows \u003Cpath> [options]\n  # Read a window of rows from a dataset on disk.\n  --offset INTEGER\n  --limit INTEGER                   [default: 20]\n  --filter TEXT                     regex filter (whole row or one column)\n  --column TEXT                     filter only this column\n  --shuffle INTEGER                 seed for stable shuffle\nsscope view row \u003Cpath> \u003Cidx>\n  # Read a single row by its original index.\nsscope view mark \u003Cidx> [options]\n  # Mark \u002F annotate a row in the currently-open dataset (or --path).\n  --tags TEXT                       comma-separated tags\n  --note TEXT\n  --path TEXT                       defaults to the open dataset\nsscope view unmark \u003Cidx> [options]\n  # Remove a row's mark.\n  --path TEXT\nsscope view marks [options]\n  # List marks across datasets, optionally narrowed.\n  --path TEXT                       filter to one dataset\nsscope view judges\n  # List configured judge presets.\nsscope view add-judge \u003Cname> [options]\n  # Save (or replace) a judge preset.\n  --prompt-file FILE                prompt-template file with {question}\u002F{answer} slots (mutex with --import-path)\n  --import-path TEXT                'module.path:attr' pointing at an inspect @scorer factory (mutex with --prompt-file)\n  --score-field TEXT                [default: score]\n  --schema-file FILE                optional JSON-schema file (prompt kind only); judge replies must conform\n  --model TEXT                      inspect provider\u002Fmodel id\n  --description TEXT\nsscope view settings \u003Caction> [key] [value]\n  # Read or write judge settings (currently only ``default_judge_model``).\nsscope view judge \u003Cpreset> [options]\n  # Run a judge over rows; results stream to stdout one row at a time.\n  --scope TEXT                      current | sample | indices  [default: current]\n  --n INTEGER                       for scope=sample  [default: 10]\n  --idx INTEGER (repeatable)        for scope=indices; repeat the flag\n  --path TEXT\n  --model TEXT\nsscope view sql \u003Cquery> [options]\n  # Run a read-only DuckDB query. `FROM t` aliases the chosen JSONL.\n  --path TEXT                       bound to FROM t; defaults to open dataset\n  --apply TEXT                      bind to viewer: 'selection' narrows the main view to __idx; 'view' replaces the main view with the SQL result table; omit to just print the result.\nsscope view clear-sql\n  # Drop any applied SQL selection\u002Fview, restoring the natural view.\nsscope view state\n  # Print the current view state (open dataset, row, filter, shuffle, …).\nsscope view highlights ls\n  # List all highlight rules in display order.\nsscope view highlights add \u003Cname> [options]\n  # Create a new highlight rule. The id is auto-generated.\n  --pattern TEXT                    literal substring or regex source\n  --regex                           treat pattern as regex\n  --case                            case-sensitive match\n  --color TEXT                      hex color, e.g. #fde047  [default: #fde047]\n  --role TEXT                       user|assistant|system|tool\n  --column TEXT                     restrict to one table column\n  --condition TEXT                  JS expression on (row, msg)\nsscope view highlights rm \u003Crule_id>\n  # Delete a rule by id.\nsscope view highlights toggle \u003Crule_id>\n  # Flip the ``enabled`` flag for a rule.\nsscope view plot ls\n  # List every tab currently in the plot panel.\nsscope view plot add [options]\n  # Add a new tab to the plot panel. Exactly one of --file \u002F --plotly.\n  --file FILE                       image (.png\u002F.jpg\u002F.svg\u002F...) or .pdf to attach; kind auto-detected\n  --plotly FILE                     JSON file with a plotly figure spec ({data, layout, ...})\n  --title TEXT                      display label for the tab\nsscope view plot rm \u003Ctab_id>\n  # Close a single tab by id.\nsscope view plot clear\n  # Close every tab in the plot panel.\nsscope view fields ls [options]\n  # Show the currently-pinned fields for a dataset.\n  --path TEXT                       defaults to the open dataset\nsscope view fields set \u003Ccolumns...> [options]\n  # Replace the pinned-field list for a dataset with the given columns.\n  --path TEXT\nsscope view fields add \u003Ccolumn> [options]\n  # Append a column to the pinned list.\n  --path TEXT\nsscope view fields rm \u003Ccolumn> [options]\n  # Remove a column from the pinned list.\n  --path TEXT\nsscope view fields clear [options]\n  # Unpin every field.\n  --path TEXT\n```\n\u003C!-- END GENERATED: sscope-view-reference -->\n\n## Collaboration patterns\n\n- **\"Look at this one\"**: `sscope view open \u003Cfile>` → `sscope view goto 42` →\n  tell the human what to look at. Faster and richer than pasting the sample.\n- **Triage together**: `sscope view filter \u003Cregex>`, the human reads with j\u002Fk\n  in the browser while you `sscope view mark \u003Cidx> --tags interesting,weird\n  --note \"…\"` the noteworthy rows. Marks persist across restarts — they're a\n  shared annotation layer. `filter` *adds* to the active list (each with an\n  optional `--column`); filters AND-compose, so repeated `filter` calls narrow\n  the view. Numeric thresholds are filters too:\n  `sscope view filter '>= 3' --column score --cmp` (no SQL needed). `sscope view\n  filters` lists them, `rm-filter \u003Cidx>` drops one, `clear-filter` removes all.\n- **Narrow by query**: `sscope view sql 'SELECT __idx, … FROM t WHERE …'\n  --apply selection` narrows the human's view to the matching rows so they\n  page through just those.\n- **Judge at scale, audit by hand**: `sscope view judge \u003Cpreset> --scope\n  sample --n 50` (or `--scope indices --idx 3 --idx 17` for specific rows),\n  then jump to outliers. `--scope current` (the default) judges only the row\n  the view is on.\n\n## Make your output files viewer-friendly\n\nWhen generating files the human will read here, pick a schema the viewer\nauto-detects a good view for (detection sniffs the first 64 rows):\n\n- **Chat view (best for anything conversation-shaped)** — two shapes work:\n  - One exchange per row: a prompt-like string column (`prompt`, `question`,\n    `input`, `instruction`, `query`) plus a response-like one (`completion`,\n    `response`, `answer`, `output`, `generation`, `model_response`) holding\n    long text; optional `system_prompt`\u002F`system` and `reasoning_content`\u002F\n    `reasoning`\u002F`thinking` columns become the system bubble and the reasoning\n    panel. No conversion needed — don't write a converter script.\n  - Multi-turn: a `messages: [{role, content}, ...]` list per row. Rules:\n    - EVERY row needs a non-empty `messages` list and every message needs\n      both a `role` and a `content` key — detection is all-rows, so one empty\n      or malformed row silently demotes the whole file to the generic card view.\n    - `content` is a plain string (simplest) or an OpenAI-style block list\n      (`[{type: \"text\", text: ...}, ...]`).\n    - Reasoning traces render as collapsible panels: put them in\n      `reasoning_content` \u002F `reasoning` \u002F `thinking` on the message, or as\n      `{type: \"reasoning\"|\"thinking\", ...}` blocks inside a content list.\n  - Either way, all other top-level row fields stay as metadata (filterable,\n    sortable, judgeable, pinnable above each row).\n- **Card view (per-sample JSON)** — flat rows where some field holds free\n  text >200 chars and that aren't one of the chat shapes above. A pair file\n  also offers `cards` in the header toggle (URL `view=cards`).\n- **Table view** — flat rows of short scalars only.\n- **Metrics view** — flat numeric rows with a `step` column that's ~unique\n  per row (a real logging curve), ≥3 numeric columns, no long text.\n- **Eval logs** — inspect-ai `.eval` files are first-class; no conversion.\n- **Parquet** — first-class: sniffed with the full JSONL heuristics, chat\n  detection included (STRUCT\u002FLIST columns survive as real objects).\n- **CSV\u002FTSV** — sniffed with the same heuristics as JSONL (a long-text CSV\n  opens as cards, a step curve as a plot), and JSON-encoded string cells\n  render expanded in the card view. Still prefer JSONL for anything with\n  nested structure; a CSV gets the chat view only through the prompt\u002Fresponse\n  column shape (a `messages` cell there is just a string).\n\nEvery multi-sample view has a samples\u002Ftable\u002Fplot\u002Fstats toggle in the header;\n`stats` shows per-column distributions (pies for categoricals, histograms for\nnumerics) over the currently visible (filtered) rows — also available as\n`sscope view stats`.\n\nPlot panel: pin matplotlib output via `sscope view plot add --file fig.png`;\nplotly figures via `--plotly fig.json` (the JSON is `figure.to_json()` output\nor any `{data, layout}` spec).\n","# samplescope\n\nA local web app for close-reading experiment outputs, plus an `sscope view`\nCLI that drives the SAME view the human has open in their browser. You change\nthe view from your shell; their screen follows live. This makes it the best\nway to *show* the human data: instead of pasting samples into chat, open the\nfile, jump to the interesting row, and tell them to look.\n\n**Which situation are you in?**\n\n- **Terminal session** (Claude Code in a repo): you may need to start or find\n  the server — see the next section.\n- **Embedded chat agent** (the chat drawer inside samplescope): the server is\n  already running and `sscope view` is pre-targeted at it via\n  `SAMPLESCOPE_BASE_URL`. Skip the server section entirely; just drive.\n\n## Start (or find) the server — terminal sessions only\n\n```bash\nsscope view state            # a server already running for this cwd? (auto-discovery)\nsscope \u003Cdir>                 # serve datasets under \u003Cdir>; prints the URL\n                             # (shorthand for `sscope serve \u003Cdir>`)\n```\n\n- Run it in the background; it stays up. Relaunching on the same dirs is\n  idempotent (prints the existing URL instead of starting a twin).\n- Default port 8765, auto-picks the next free one — multiple instances for\n  different projects coexist fine.\n- Give the human the printed URL (e.g. http:\u002F\u002F127.0.0.1:8766).\n- `sscope view` auto-targets the instance whose scan root contains your\n  cwd. Outside any scan root: set `SAMPLESCOPE_BASE_URL` or pass\n  `sscope view --base-url \u003Curl> \u003Ccmd>`.\n\n## Drive the shared view\n\nThe core loop:\n\n```bash\nsscope view ls                      # what files does the server see\nsscope view open \u003Cpath>             # switch the human's view to this file\nsscope view goto 42                 # jump their view to row 42\nsscope view state                   # current shared view state\n```\n\nPaths are relative to the server's serving root — use exactly what\n`sscope view ls` prints.\n\nFull command reference (generated from the CLI itself — trust it over memory):\n\n\u003C!-- BEGIN GENERATED: sscope-view-reference (python -m samplescope._gen_cli_ref) -->\n```\nsscope view ls [options]\n  # List discoverable datasets (JSONL\u002FCSV\u002Fparquet\u002F.eval under scan roots).\n  --filter TEXT                     substring match on path\n  --json                            print the entries as a JSON list\nsscope view info \u003Cpath>\n  # Schema-detect one dataset: row count, columns, view kind.\nsscope view stats [path]\n  # Per-column distribution breakdown (dtype, nulls, min\u002Fmax, top values).\nsscope view open \u003Cpath>\n  # Open a dataset in the viewer (UI switches live).\nsscope view goto \u003Cidx>\n  # Move the viewer to row index `idx`.\nsscope view next\n  # Step the viewer forward one row (state-aware).\nsscope view prev\n  # Step the viewer back one row (state-aware, clamped at 0).\nsscope view filter \u003Cregex> [options]\n  # Add a regex filter to the open dataset (AND-composed with existing ones).\n  --column TEXT                     restrict to one column; omit for whole-row\n  --cmp                             REGEX is a numeric comparison like '>= 3' (needs --column)\nsscope view filters\n  # List the active filters (index, column, regex).\nsscope view rm-filter \u003Cidx>\n  # Remove the filter at index `idx` (see `sscope view filters`).\nsscope view clear-filter\n  # Clear all active filters.\nsscope view shuffle [options]\n  # Pick a fresh shuffle seed for the open dataset. Clears any active sort.\n  --seed INTEGER                    explicit seed; omit for random\nsscope view sort \u003Ccolumn> [options]\n  # Sort the open dataset by a column. Clears any active shuffle.\n  --desc                            sort direction (default ascending)\nsscope view clear-sort\n  # Drop the active sort and return to natural \u002F shuffled order.\nsscope view sample \u003Cn>\n  # Pull n random rows from the currently-open dataset.\nsscope view rows \u003Cpath> [options]\n  # Read a window of rows from a dataset on disk.\n  --offset INTEGER\n  --limit INTEGER                   [default: 20]\n  --filter TEXT                     regex filter (whole row or one column)\n  --column TEXT                     filter only this column\n  --shuffle INTEGER                 seed for stable shuffle\nsscope view row \u003Cpath> \u003Cidx>\n  # Read a single row by its original index.\nsscope view mark \u003Cidx> [options]\n  # Mark \u002F annotate a row in the currently-open dataset (or --path).\n  --tags TEXT                       comma-separated tags\n  --note TEXT\n  --path TEXT                       defaults to the open dataset\nsscope view unmark \u003Cidx> [options]\n  # Remove a row's mark.\n  --path TEXT\nsscope view marks [options]\n  # List marks across datasets, optionally narrowed.\n  --path TEXT                       filter to one dataset\nsscope view judges\n  # List configured judge presets.\nsscope view add-judge \u003Cname> [options]\n  # Save (or replace) a judge preset.\n  --prompt-file FILE                prompt-template file with {question}\u002F{answer} slots (mutex with --import-path)\n  --import-path TEXT                'module.path:attr' pointing at an inspect @scorer factory (mutex with --prompt-file)\n  --score-field TEXT                [default: score]\n  --schema-file FILE                optional JSON-schema file (prompt kind only); judge replies must conform\n  --model TEXT                      inspect provider\u002Fmodel id\n  --description TEXT\nsscope view settings \u003Caction> [key] [value]\n  # Read or write judge settings (currently only ``default_judge_model``).\nsscope view judge \u003Cpreset> [options]\n  # Run a judge over rows; results stream to stdout one row at a time.\n  --scope TEXT                      current | sample | indices  [default: current]\n  --n INTEGER                       for scope=sample  [default: 10]\n  --idx INTEGER (repeatable)        for scope=indices; repeat the flag\n  --path TEXT\n  --model TEXT\nsscope view sql \u003Cquery> [options]\n  # Run a read-only DuckDB query. `FROM t` aliases the chosen JSONL.\n  --path TEXT                       bound to FROM t; defaults to open dataset\n  --apply TEXT                      bind to viewer: 'selection' narrows the main view to __idx; 'view' replaces the main view with the SQL result table; omit to just print the result.\nsscope view clear-sql\n  # Drop any applied SQL selection\u002Fview, restoring the natural view.\nsscope view state\n  # Print the current view state (open dataset, row, filter, shuffle, …).\nsscope view highlights ls\n  # List all highlight rules in display order.\nsscope view highlights add \u003Cname> [options]\n  # Create a new highlight rule. The id is auto-generated.\n  --pattern TEXT                    literal substring or regex source\n  --regex                           treat pattern as regex\n  --case                            case-sensitive match\n  --color TEXT                      hex color, e.g. #fde047  [default: #fde047]\n  --role TEXT                       user|assistant|system|tool\n  --column TEXT                     restrict to one table column\n  --condition TEXT                  JS expression on (row, msg)\nsscope view highlights rm \u003Crule_id>\n  # Delete a rule by id.\nsscope view highlights toggle \u003Crule_id>\n  # Flip the ``enabled`` flag for a rule.\nsscope view plot ls\n  # List every tab currently in the plot panel.\nsscope view plot add [options]\n  # Add a new tab to the plot panel. Exactly one of --file \u002F --plotly.\n  --file FILE                       image (.png\u002F.jpg\u002F.svg\u002F...) or .pdf to attach; kind auto-detected\n  --plotly FILE                     JSON file with a plotly figure spec ({data, layout, ...})\n  --title TEXT                      display label for the tab\nsscope view plot rm \u003Ctab_id>\n  # Close a single tab by id.\nsscope view plot clear\n  # Close every tab in the plot panel.\nsscope view fields ls [options]\n  # Show the currently-pinned fields for a dataset.\n  --path TEXT                       defaults to the open dataset\nsscope view fields set \u003Ccolumns...> [options]\n  # Replace the pinned-field list for a dataset with the given columns.\n  --path TEXT\nsscope view fields add \u003Ccolumn> [options]\n  # Append a column to the pinned list.\n  --path TEXT\nsscope view fields rm \u003Ccolumn> [options]\n  # Remove a column from the pinned list.\n  --path TEXT\nsscope view fields clear [options]\n  # Unpin every field.\n  --path TEXT\n```\n\u003C!-- END GENERATED: sscope-view-reference -->\n\n## Collaboration patterns\n\n- **\"Look at this one\"**: `sscope view open \u003Cfile>` → `sscope view goto 42` →\n  tell the human what to look at. Faster and richer than pasting the sample.\n- **Triage together**: `sscope view filter \u003Cregex>`, the human reads with j\u002Fk\n  in the browser while you `sscope view mark \u003Cidx> --tags interesting,weird\n  --note \"…\"` the noteworthy rows. Marks persist across restarts — they're a\n  shared annotation layer. `filter` *adds* to the active list (each with an\n  optional `--column`); filters AND-compose, so repeated `filter` calls narrow\n  the view. Numeric thresholds are filters too:\n  `sscope view filter '>= 3' --column score --cmp` (no SQL needed). `sscope view\n  filters` lists them, `rm-filter \u003Cidx>` drops one, `clear-filter` removes all.\n- **Narrow by query**: `sscope view sql 'SELECT __idx, … FROM t WHERE …'\n  --apply selection` narrows the human's view to the matching rows so they\n  page through just those.\n- **Judge at scale, audit by hand**: `sscope view judge \u003Cpreset> --scope\n  sample --n 50` (or `--scope indices --idx 3 --idx 17` for specific rows),\n  then jump to outliers. `--scope current` (the default) judges only the row\n  the view is on.\n\n## Make your output files viewer-friendly\n\nWhen generating files the human will read here, pick a schema the viewer\nauto-detects a good view for (detection sniffs the first 64 rows):\n\n- **Chat view (best for anything conversation-shaped)** — two shapes work:\n  - One exchange per row: a prompt-like string column (`prompt`, `question`,\n    `input`, `instruction`, `query`) plus a response-like one (`completion`,\n    `response`, `answer`, `output`, `generation`, `model_response`) holding\n    long text; optional `system_prompt`\u002F`system` and `reasoning_content`\u002F\n    `reasoning`\u002F`thinking` columns become the system bubble and the reasoning\n    panel. No conversion needed — don't write a converter script.\n  - Multi-turn: a `messages: [{role, content}, ...]` list per row. Rules:\n    - EVERY row needs a non-empty `messages` list and every message needs\n      both a `role` and a `content` key — detection is all-rows, so one empty\n      or malformed row silently demotes the whole file to the generic card view.\n    - `content` is a plain string (simplest) or an OpenAI-style block list\n      (`[{type: \"text\", text: ...}, ...]`).\n    - Reasoning traces render as collapsible panels: put them in\n      `reasoning_content` \u002F `reasoning` \u002F `thinking` on the message, or as\n      `{type: \"reasoning\"|\"thinking\", ...}` blocks inside a content list.\n  - Either way, all other top-level row fields stay as metadata (filterable,\n    sortable, judgeable, pinnable above each row).\n- **Card view (per-sample JSON)** — flat rows where some field holds free\n  text >200 chars and that aren't one of the chat shapes above. A pair file\n  also offers `cards` in the header toggle (URL `view=cards`).\n- **Table view** — flat rows of short scalars only.\n- **Metrics view** — flat numeric rows with a `step` column that's ~unique\n  per row (a real logging curve), ≥3 numeric columns, no long text.\n- **Eval logs** — inspect-ai `.eval` files are first-class; no conversion.\n- **Parquet** — first-class: sniffed with the full JSONL heuristics, chat\n  detection included (STRUCT\u002FLIST columns survive as real objects).\n- **CSV\u002FTSV** — sniffed with the same heuristics as JSONL (a long-text CSV\n  opens as cards, a step curve as a plot), and JSON-encoded string cells\n  render expanded in the card view. Still prefer JSONL for anything with\n  nested structure; a CSV gets the chat view only through the prompt\u002Fresponse\n  column shape (a `messages` cell there is just a string).\n\nEvery multi-sample view has a samples\u002Ftable\u002Fplot\u002Fstats toggle in the header;\n`stats` shows per-column distributions (pies for categoricals, histograms for\nnumerics) over the currently visible (filtered) rows — also available as\n`sscope view stats`.\n\nPlot panel: pin matplotlib output via `sscope view plot add --file fig.png`;\nplotly figures via `--plotly fig.json` (the JSON is `figure.to_json()` output\nor any `{data, layout}` spec).\n",{"name":5,"description":7},"master","99374ee29b3f32597619f559b0777818faa0742a","src\u002Fsamplescope\u002Fskill",0,"https:\u002F\u002Fgithub.com\u002FButanium\u002Fsamplescope","https:\u002F\u002Fgithub.com\u002FButanium","butanium.github.io","I'm Clément, student at ENS Paris Saclay, France.","2026-09-26 17:32:00",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Butanium\u002Fsamplescope --skill samplescope",{"tool":39,"command":40},"bunx","bunx skills add Butanium\u002Fsamplescope --skill samplescope",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Butanium\u002Fsamplescope --skill samplescope","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FButanium\u002Fsamplescope\u002Fblob\u002Fmaster\u002Fsrc\u002Fsamplescope\u002Fskill\u002FSKILL.md",true,[],[48],{"skillNo":49,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M75MAF6GEF8AHKFWW5Q23BA2","https:\u002F\u002Fgithub.com\u002FButanium\u002Fsamplescope\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fsamplescope\u002FSKILL.md",[],[]]