[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77P777HV5C1TYX52KMPW1M5":3,"skill-same:01M77P777HV5C1TYX52KMPW1M5":59},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M77P777HV5C1TYX52KMPW1M5","arize-dataset",null,"Creates, manages, and queries Arize datasets and examples. Covers dataset CRUD, appending examples, exporting data, and file-based dataset creation using the ax CLI. Use when the user needs test data, evaluation examples, or mentions create dataset, list datasets, export dataset, append examples, dataset version, golden dataset, or test set.","Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Farize-dataset\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Creates, manages, and queries Arize datasets and examples. Covers dataset CRUD, appending examples, exporting data, and file-based dataset creation using the ax CLI. Use when the user needs test data, evaluation examples, or mentions create dataset, list datasets, export dataset, append examples, dataset version, golden dataset, or test set.\"\nmetadata: {\"author\":\"arize\",\"version\":\"1.0\"}\n---\n# Arize Dataset Skill\n\n> **`SPACE`** — All `--space` flags and the `ARIZE_SPACE` env var accept a space **name** (e.g., `my-workspace`) or a base64 space **ID** (e.g., `U3BhY2U6...`). Find yours with `ax spaces list`.\n\n## Concepts\n\n- **Dataset** = a versioned collection of examples used for evaluation and experimentation\n- **Dataset Version** = a snapshot of a dataset at a point in time; updates can be in-place or create a new version\n- **Example** = a single record in a dataset with arbitrary user-defined fields (e.g., `question`, `answer`, `context`)\n- **Space** = an organizational container; datasets belong to a space\n\nSystem-managed fields on examples (`id`, `created_at`, `updated_at`) are auto-generated by the server -- never include them in create or append payloads.\n\n## Prerequisites\n\nProceed directly with the task — run the `ax` command you need. Do NOT check versions, env vars, or profiles upfront.\n\nIf an `ax` command fails, troubleshoot based on the error:\n- `command not found` or version error → see references\u002Fax-setup.md\n- `401 Unauthorized` \u002F missing API key → run `ax profiles show` to inspect the current profile. If the profile is missing or the API key is wrong, follow references\u002Fax-profiles.md to create\u002Fupdate it. If the user doesn't have their key, direct them to https:\u002F\u002Fapp.arize.com\u002Fadmin > API Keys\n- Space unknown → run `ax spaces list` to pick by name, or ask the user\n- Project unclear → ask the user, or run `ax projects list -o json --limit 100` and present as selectable options\n- **Security:** Never read `.env` files or search the filesystem for credentials. Use `ax profiles` for Arize credentials and `ax ai-integrations` for LLM provider keys. If credentials are not available through these channels, ask the user.\n\n## List Datasets: `ax datasets list`\n\nBrowse datasets in a space. Output goes to stdout.\n\n```bash\nax datasets list\nax datasets list --space SPACE --limit 20\nax datasets list --cursor CURSOR_TOKEN\nax datasets list -o json\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `--space` | string | from profile | Filter by space |\n| `--limit, -l` | int | 15 | Max results (1-100) |\n| `--cursor` | string | none | Pagination cursor from previous response |\n| `-o, --output` | string | table | Output format: table, json, csv, parquet, or file path |\n| `-p, --profile` | string | default | Configuration profile |\n\n## Get Dataset: `ax datasets get`\n\nQuick metadata lookup -- returns dataset name, space, timestamps, and version list.\n\n```bash\nax datasets get NAME_OR_ID\nax datasets get NAME_OR_ID -o json\nax datasets get NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `-o, --output` | string | table | Output format |\n| `-p, --profile` | string | default | Configuration profile |\n\n### Response fields\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `id` | string | Dataset ID |\n| `name` | string | Dataset name |\n| `space_id` | string | Space this dataset belongs to |\n| `created_at` | datetime | When the dataset was created |\n| `updated_at` | datetime | Last modification time |\n| `versions` | array | List of dataset versions (id, name, dataset_id, created_at, updated_at) |\n\n## Export Dataset: `ax datasets export`\n\nDownload all examples to a file. Use `--all` for datasets larger than 500 examples (unlimited bulk export).\n\n```bash\nax datasets export NAME_OR_ID\n# -> dataset_abc123_20260305_141500\u002Fexamples.json\n\nax datasets export NAME_OR_ID --all\nax datasets export NAME_OR_ID --version-id VERSION_ID\nax datasets export NAME_OR_ID --output-dir .\u002Fdata\nax datasets export NAME_OR_ID --stdout\nax datasets export NAME_OR_ID --stdout | jq '.[0]'\nax datasets export NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `--version-id` | string | latest | Export a specific dataset version |\n| `--all` | bool | false | Unlimited bulk export (use for datasets > 500 examples) |\n| `--output-dir` | string | `.` | Output directory |\n| `--stdout` | bool | false | Print JSON to stdout instead of file |\n| `-p, --profile` | string | default | Configuration profile |\n\n**Agent auto-escalation rule:** If an export returns exactly 500 examples, the result is likely truncated — re-run with `--all` to get the full dataset.\n\n**Export completeness verification:** After exporting, confirm the row count matches what the server reports:\n```bash\n# Get the server-reported count from dataset metadata\nax datasets get DATASET_NAME --space SPACE -o json | jq '.versions[-1] | {version: .id, examples: .example_count}'\n\n# Compare to what was exported\njq 'length' dataset_*\u002Fexamples.json\n\n# If counts differ, re-export with --all\n```\n\nOutput is a JSON array of example objects. Each example has system fields (`id`, `created_at`, `updated_at`) plus all user-defined fields:\n\n```json\n[\n  {\n    \"id\": \"ex_001\",\n    \"created_at\": \"2026-01-15T10:00:00Z\",\n    \"updated_at\": \"2026-01-15T10:00:00Z\",\n    \"question\": \"What is 2+2?\",\n    \"answer\": \"4\",\n    \"topic\": \"math\"\n  }\n]\n```\n\n## Create Dataset: `ax datasets create`\n\nCreate a new dataset from a data file.\n\n```bash\nax datasets create --name \"My Dataset\" --space SPACE --file data.csv\nax datasets create --name \"My Dataset\" --space SPACE --file data.json\nax datasets create --name \"My Dataset\" --space SPACE --file data.jsonl\nax datasets create --name \"My Dataset\" --space SPACE --file data.parquet\n```\n\n### Flags\n\n| Flag | Type | Required | Description |\n|------|------|----------|-------------|\n| `--name, -n` | string | yes | Dataset name |\n| `--space` | string | yes | Space to create the dataset in |\n| `--file, -f` | path | yes | Data file: CSV, JSON, JSONL, or Parquet |\n| `-o, --output` | string | no | Output format for the returned dataset metadata |\n| `-p, --profile` | string | no | Configuration profile |\n\n### Passing data via stdin\n\nUse `--file -` to pipe data directly — no temp file needed:\n\n```bash\necho '[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]' | ax datasets create --name \"my-dataset\" --space SPACE --file -\n\n# Or with a heredoc\nax datasets create --name \"my-dataset\" --space SPACE --file - \u003C\u003C 'EOF'\n[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]\nEOF\n```\n\nTo add rows to an existing dataset, use `ax datasets append --json '[...]'` instead — no file needed.\n\n### Supported file formats\n\n| Format | Extension | Notes |\n|--------|-----------|-------|\n| CSV | `.csv` | Column headers become field names |\n| JSON | `.json` | Array of objects |\n| JSON Lines | `.jsonl` | One object per line (NOT a JSON array) |\n| Parquet | `.parquet` | Column names become field names; preserves types |\n\n**Format gotchas:**\n- **CSV**: Loses type information — dates become strings, `null` becomes empty string. Use JSON\u002FParquet to preserve types.\n- **JSONL**: Each line is a separate JSON object. A JSON array (`[{...}, {...}]`) in a `.jsonl` file will fail — use `.json` extension instead.\n- **Parquet**: Preserves column types. Requires `pandas`\u002F`pyarrow` to read locally: `pd.read_parquet(\"examples.parquet\")`.\n\n## Append Examples: `ax datasets append`\n\nAdd examples to an existing dataset. Two input modes -- use whichever fits.\n\n### Inline JSON (agent-friendly)\n\nGenerate the payload directly -- no temp files needed:\n\n```bash\nax datasets append DATASET_NAME --space SPACE --json '[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]'\n\nax datasets append DATASET_NAME --space SPACE --json '[\n  {\"question\": \"What is gravity?\", \"answer\": \"A fundamental force...\"},\n  {\"question\": \"What is light?\", \"answer\": \"Electromagnetic radiation...\"}\n]'\n```\n\n### From a file\n\n```bash\nax datasets append DATASET_NAME --space SPACE --file new_examples.csv\nax datasets append DATASET_NAME --space SPACE --file additions.json\n```\n\n### To a specific version\n\n```bash\nax datasets append DATASET_NAME --space SPACE --json '[{\"q\": \"...\"}]' --version-id VERSION_ID\n```\n\n### Flags\n\n| Flag | Type | Required | Description |\n|------|------|----------|-------------|\n| `NAME_OR_ID` | string | yes | Dataset name or ID (positional); add `--space` when using name |\n| `--space` | string | no | Space name or ID (required if using dataset name instead of ID) |\n| `--json` | string | mutex | JSON array of example objects |\n| `--file, -f` | path | mutex | Data file (CSV, JSON, JSONL, Parquet) |\n| `--version-id` | string | no | Append to a specific version (default: latest) |\n| `-o, --output` | string | no | Output format for the returned dataset metadata |\n| `-p, --profile` | string | no | Configuration profile |\n\nExactly one of `--json` or `--file` is required.\n\n### Validation\n\n- Each example must be a JSON object with at least one user-defined field\n- Maximum 100,000 examples per request\n\n**Schema validation before append:** If the dataset already has examples, inspect its schema before appending to avoid silent field mismatches:\n\n```bash\n# Check existing field names in the dataset\nax datasets export DATASET_NAME --space SPACE --stdout | jq '.[0] | keys'\n\n# Verify your new data has matching field names\necho '[{\"question\": \"...\"}]' | jq '.[0] | keys'\n\n# Both outputs should show the same user-defined fields\n```\n\nFields are free-form: extra fields in new examples are added, and missing fields become null. However, typos in field names (e.g., `queston` vs `question`) create new columns silently -- verify spelling before appending.\n\n## Delete Dataset: `ax datasets delete`\n\n```bash\nax datasets delete NAME_OR_ID\nax datasets delete NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\nax datasets delete NAME_OR_ID --force   # skip confirmation prompt\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `--force, -f` | bool | false | Skip confirmation prompt |\n| `-p, --profile` | string | default | Configuration profile |\n\n## Workflows\n\n### Find a dataset by name\n\nAll dataset commands accept a name or ID directly. You can pass a dataset name as the positional argument (add `--space SPACE` when not using an ID):\n\n```bash\n# Use name directly\nax datasets get \"eval-set-v1\" --space SPACE\nax datasets export \"eval-set-v1\" --space SPACE\n\n# Or resolve name to ID via list if you need the base64 ID\nax datasets list -o json | jq '.[] | select(.name == \"eval-set-v1\") | .id'\n```\n\n### Create a dataset from file for evaluation\n\n1. Prepare a CSV\u002FJSON\u002FParquet file with your evaluation columns (e.g., `input`, `expected_output`)\n   - If generating data inline, pipe it via stdin using `--file -` (see the Create Dataset section)\n2. `ax datasets create --name \"eval-set-v1\" --space SPACE --file eval_data.csv`\n3. Verify: `ax datasets get DATASET_NAME --space SPACE`\n4. Use the dataset name to run experiments\n\n### Add examples to an existing dataset\n\n```bash\n# Find the dataset\nax datasets list --space SPACE\n\n# Append inline or from a file using the dataset name (see Append Examples section for full syntax)\nax datasets append DATASET_NAME --space SPACE --json '[{\"question\": \"...\", \"answer\": \"...\"}]'\nax datasets append DATASET_NAME --space SPACE --file additional_examples.csv\n```\n\n### Download dataset for offline analysis\n\n1. `ax datasets list --space SPACE` -- find the dataset name\n2. `ax datasets export DATASET_NAME --space SPACE` -- download to file\n3. Parse the JSON: `jq '.[] | .question' dataset_*\u002Fexamples.json`\n\n### Export a specific version\n\n```bash\n# List versions\nax datasets get DATASET_NAME --space SPACE -o json | jq '.versions'\n\n# Export that version\nax datasets export DATASET_NAME --space SPACE --version-id VERSION_ID\n```\n\n### Iterate on a dataset\n\n1. Export current version: `ax datasets export DATASET_NAME --space SPACE`\n2. Modify the examples locally\n3. Append new rows: `ax datasets append DATASET_NAME --space SPACE --file new_rows.csv`\n4. Or create a fresh version: `ax datasets create --name \"eval-set-v2\" --space SPACE --file updated_data.json`\n\n### Pipe export to other tools\n\n```bash\n# Count examples\nax datasets export DATASET_NAME --space SPACE --stdout | jq 'length'\n\n# Extract a single field\nax datasets export DATASET_NAME --space SPACE --stdout | jq '.[].question'\n\n# Convert to CSV with jq\nax datasets export DATASET_NAME --space SPACE --stdout | jq -r '.[] | [.question, .answer] | @csv'\n```\n\n## Dataset Example Schema\n\nExamples are free-form JSON objects. There is no fixed schema -- columns are whatever fields you provide. System-managed fields are added by the server:\n\n| Field | Type | Managed by | Notes |\n|-------|------|-----------|-------|\n| `id` | string | server | Auto-generated UUID. Required on update, forbidden on create\u002Fappend |\n| `created_at` | datetime | server | Immutable creation timestamp |\n| `updated_at` | datetime | server | Auto-updated on modification |\n| *(any user field)* | any JSON type | user | String, number, boolean, null, nested object, array |\n\n\n## Related Skills\n\n- **arize-trace**: Export production spans to understand what data to put in datasets → use `arize-trace`\n- **arize-experiment**: Run evaluations against this dataset → next step is `arize-experiment`\n- **arize-prompt-optimization**: Use dataset + experiment results to improve prompts → use `arize-prompt-optimization`\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| `ax: command not found` | See references\u002Fax-setup.md |\n| `401 Unauthorized` | API key is wrong, expired, or doesn't have access to this space. Fix the profile using references\u002Fax-profiles.md. |\n| `No profile found` | No profile is configured. See references\u002Fax-profiles.md to create one. |\n| `Dataset not found` | Verify dataset ID with `ax datasets list` |\n| `File format error` | Supported: CSV, JSON, JSONL, Parquet. Use `--file -` to read from stdin. |\n| `platform-managed column` | Remove `id`, `created_at`, `updated_at` from create\u002Fappend payloads |\n| `reserved column` | Remove `time`, `count`, or any `source_record_*` field |\n| `Provide either --json or --file` | Append requires exactly one input source |\n| `Examples array is empty` | Ensure your JSON array or file contains at least one example |\n| `not a JSON object` | Each element in the `--json` array must be a `{...}` object, not a string or number |\n\n## Save Credentials for Future Use\n\nSee references\u002Fax-profiles.md § Save Credentials for Future Use.\n","# Arize Dataset Skill\n\n> **`SPACE`** — All `--space` flags and the `ARIZE_SPACE` env var accept a space **name** (e.g., `my-workspace`) or a base64 space **ID** (e.g., `U3BhY2U6...`). Find yours with `ax spaces list`.\n\n## Concepts\n\n- **Dataset** = a versioned collection of examples used for evaluation and experimentation\n- **Dataset Version** = a snapshot of a dataset at a point in time; updates can be in-place or create a new version\n- **Example** = a single record in a dataset with arbitrary user-defined fields (e.g., `question`, `answer`, `context`)\n- **Space** = an organizational container; datasets belong to a space\n\nSystem-managed fields on examples (`id`, `created_at`, `updated_at`) are auto-generated by the server -- never include them in create or append payloads.\n\n## Prerequisites\n\nProceed directly with the task — run the `ax` command you need. Do NOT check versions, env vars, or profiles upfront.\n\nIf an `ax` command fails, troubleshoot based on the error:\n- `command not found` or version error → see references\u002Fax-setup.md\n- `401 Unauthorized` \u002F missing API key → run `ax profiles show` to inspect the current profile. If the profile is missing or the API key is wrong, follow references\u002Fax-profiles.md to create\u002Fupdate it. If the user doesn't have their key, direct them to https:\u002F\u002Fapp.arize.com\u002Fadmin > API Keys\n- Space unknown → run `ax spaces list` to pick by name, or ask the user\n- Project unclear → ask the user, or run `ax projects list -o json --limit 100` and present as selectable options\n- **Security:** Never read `.env` files or search the filesystem for credentials. Use `ax profiles` for Arize credentials and `ax ai-integrations` for LLM provider keys. If credentials are not available through these channels, ask the user.\n\n## List Datasets: `ax datasets list`\n\nBrowse datasets in a space. Output goes to stdout.\n\n```bash\nax datasets list\nax datasets list --space SPACE --limit 20\nax datasets list --cursor CURSOR_TOKEN\nax datasets list -o json\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `--space` | string | from profile | Filter by space |\n| `--limit, -l` | int | 15 | Max results (1-100) |\n| `--cursor` | string | none | Pagination cursor from previous response |\n| `-o, --output` | string | table | Output format: table, json, csv, parquet, or file path |\n| `-p, --profile` | string | default | Configuration profile |\n\n## Get Dataset: `ax datasets get`\n\nQuick metadata lookup -- returns dataset name, space, timestamps, and version list.\n\n```bash\nax datasets get NAME_OR_ID\nax datasets get NAME_OR_ID -o json\nax datasets get NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `-o, --output` | string | table | Output format |\n| `-p, --profile` | string | default | Configuration profile |\n\n### Response fields\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `id` | string | Dataset ID |\n| `name` | string | Dataset name |\n| `space_id` | string | Space this dataset belongs to |\n| `created_at` | datetime | When the dataset was created |\n| `updated_at` | datetime | Last modification time |\n| `versions` | array | List of dataset versions (id, name, dataset_id, created_at, updated_at) |\n\n## Export Dataset: `ax datasets export`\n\nDownload all examples to a file. Use `--all` for datasets larger than 500 examples (unlimited bulk export).\n\n```bash\nax datasets export NAME_OR_ID\n# -> dataset_abc123_20260305_141500\u002Fexamples.json\n\nax datasets export NAME_OR_ID --all\nax datasets export NAME_OR_ID --version-id VERSION_ID\nax datasets export NAME_OR_ID --output-dir .\u002Fdata\nax datasets export NAME_OR_ID --stdout\nax datasets export NAME_OR_ID --stdout | jq '.[0]'\nax datasets export NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `--version-id` | string | latest | Export a specific dataset version |\n| `--all` | bool | false | Unlimited bulk export (use for datasets > 500 examples) |\n| `--output-dir` | string | `.` | Output directory |\n| `--stdout` | bool | false | Print JSON to stdout instead of file |\n| `-p, --profile` | string | default | Configuration profile |\n\n**Agent auto-escalation rule:** If an export returns exactly 500 examples, the result is likely truncated — re-run with `--all` to get the full dataset.\n\n**Export completeness verification:** After exporting, confirm the row count matches what the server reports:\n```bash\n# Get the server-reported count from dataset metadata\nax datasets get DATASET_NAME --space SPACE -o json | jq '.versions[-1] | {version: .id, examples: .example_count}'\n\n# Compare to what was exported\njq 'length' dataset_*\u002Fexamples.json\n\n# If counts differ, re-export with --all\n```\n\nOutput is a JSON array of example objects. Each example has system fields (`id`, `created_at`, `updated_at`) plus all user-defined fields:\n\n```json\n[\n  {\n    \"id\": \"ex_001\",\n    \"created_at\": \"2026-01-15T10:00:00Z\",\n    \"updated_at\": \"2026-01-15T10:00:00Z\",\n    \"question\": \"What is 2+2?\",\n    \"answer\": \"4\",\n    \"topic\": \"math\"\n  }\n]\n```\n\n## Create Dataset: `ax datasets create`\n\nCreate a new dataset from a data file.\n\n```bash\nax datasets create --name \"My Dataset\" --space SPACE --file data.csv\nax datasets create --name \"My Dataset\" --space SPACE --file data.json\nax datasets create --name \"My Dataset\" --space SPACE --file data.jsonl\nax datasets create --name \"My Dataset\" --space SPACE --file data.parquet\n```\n\n### Flags\n\n| Flag | Type | Required | Description |\n|------|------|----------|-------------|\n| `--name, -n` | string | yes | Dataset name |\n| `--space` | string | yes | Space to create the dataset in |\n| `--file, -f` | path | yes | Data file: CSV, JSON, JSONL, or Parquet |\n| `-o, --output` | string | no | Output format for the returned dataset metadata |\n| `-p, --profile` | string | no | Configuration profile |\n\n### Passing data via stdin\n\nUse `--file -` to pipe data directly — no temp file needed:\n\n```bash\necho '[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]' | ax datasets create --name \"my-dataset\" --space SPACE --file -\n\n# Or with a heredoc\nax datasets create --name \"my-dataset\" --space SPACE --file - \u003C\u003C 'EOF'\n[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]\nEOF\n```\n\nTo add rows to an existing dataset, use `ax datasets append --json '[...]'` instead — no file needed.\n\n### Supported file formats\n\n| Format | Extension | Notes |\n|--------|-----------|-------|\n| CSV | `.csv` | Column headers become field names |\n| JSON | `.json` | Array of objects |\n| JSON Lines | `.jsonl` | One object per line (NOT a JSON array) |\n| Parquet | `.parquet` | Column names become field names; preserves types |\n\n**Format gotchas:**\n- **CSV**: Loses type information — dates become strings, `null` becomes empty string. Use JSON\u002FParquet to preserve types.\n- **JSONL**: Each line is a separate JSON object. A JSON array (`[{...}, {...}]`) in a `.jsonl` file will fail — use `.json` extension instead.\n- **Parquet**: Preserves column types. Requires `pandas`\u002F`pyarrow` to read locally: `pd.read_parquet(\"examples.parquet\")`.\n\n## Append Examples: `ax datasets append`\n\nAdd examples to an existing dataset. Two input modes -- use whichever fits.\n\n### Inline JSON (agent-friendly)\n\nGenerate the payload directly -- no temp files needed:\n\n```bash\nax datasets append DATASET_NAME --space SPACE --json '[{\"question\": \"What is 2+2?\", \"answer\": \"4\"}]'\n\nax datasets append DATASET_NAME --space SPACE --json '[\n  {\"question\": \"What is gravity?\", \"answer\": \"A fundamental force...\"},\n  {\"question\": \"What is light?\", \"answer\": \"Electromagnetic radiation...\"}\n]'\n```\n\n### From a file\n\n```bash\nax datasets append DATASET_NAME --space SPACE --file new_examples.csv\nax datasets append DATASET_NAME --space SPACE --file additions.json\n```\n\n### To a specific version\n\n```bash\nax datasets append DATASET_NAME --space SPACE --json '[{\"q\": \"...\"}]' --version-id VERSION_ID\n```\n\n### Flags\n\n| Flag | Type | Required | Description |\n|------|------|----------|-------------|\n| `NAME_OR_ID` | string | yes | Dataset name or ID (positional); add `--space` when using name |\n| `--space` | string | no | Space name or ID (required if using dataset name instead of ID) |\n| `--json` | string | mutex | JSON array of example objects |\n| `--file, -f` | path | mutex | Data file (CSV, JSON, JSONL, Parquet) |\n| `--version-id` | string | no | Append to a specific version (default: latest) |\n| `-o, --output` | string | no | Output format for the returned dataset metadata |\n| `-p, --profile` | string | no | Configuration profile |\n\nExactly one of `--json` or `--file` is required.\n\n### Validation\n\n- Each example must be a JSON object with at least one user-defined field\n- Maximum 100,000 examples per request\n\n**Schema validation before append:** If the dataset already has examples, inspect its schema before appending to avoid silent field mismatches:\n\n```bash\n# Check existing field names in the dataset\nax datasets export DATASET_NAME --space SPACE --stdout | jq '.[0] | keys'\n\n# Verify your new data has matching field names\necho '[{\"question\": \"...\"}]' | jq '.[0] | keys'\n\n# Both outputs should show the same user-defined fields\n```\n\nFields are free-form: extra fields in new examples are added, and missing fields become null. However, typos in field names (e.g., `queston` vs `question`) create new columns silently -- verify spelling before appending.\n\n## Delete Dataset: `ax datasets delete`\n\n```bash\nax datasets delete NAME_OR_ID\nax datasets delete NAME_OR_ID --space SPACE   # required when using dataset name instead of ID\nax datasets delete NAME_OR_ID --force   # skip confirmation prompt\n```\n\n### Flags\n\n| Flag | Type | Default | Description |\n|------|------|---------|-------------|\n| `NAME_OR_ID` | string | required | Dataset name or ID (positional) |\n| `--space` | string | none | Space name or ID (required if using dataset name instead of ID) |\n| `--force, -f` | bool | false | Skip confirmation prompt |\n| `-p, --profile` | string | default | Configuration profile |\n\n## Workflows\n\n### Find a dataset by name\n\nAll dataset commands accept a name or ID directly. You can pass a dataset name as the positional argument (add `--space SPACE` when not using an ID):\n\n```bash\n# Use name directly\nax datasets get \"eval-set-v1\" --space SPACE\nax datasets export \"eval-set-v1\" --space SPACE\n\n# Or resolve name to ID via list if you need the base64 ID\nax datasets list -o json | jq '.[] | select(.name == \"eval-set-v1\") | .id'\n```\n\n### Create a dataset from file for evaluation\n\n1. Prepare a CSV\u002FJSON\u002FParquet file with your evaluation columns (e.g., `input`, `expected_output`)\n   - If generating data inline, pipe it via stdin using `--file -` (see the Create Dataset section)\n2. `ax datasets create --name \"eval-set-v1\" --space SPACE --file eval_data.csv`\n3. Verify: `ax datasets get DATASET_NAME --space SPACE`\n4. Use the dataset name to run experiments\n\n### Add examples to an existing dataset\n\n```bash\n# Find the dataset\nax datasets list --space SPACE\n\n# Append inline or from a file using the dataset name (see Append Examples section for full syntax)\nax datasets append DATASET_NAME --space SPACE --json '[{\"question\": \"...\", \"answer\": \"...\"}]'\nax datasets append DATASET_NAME --space SPACE --file additional_examples.csv\n```\n\n### Download dataset for offline analysis\n\n1. `ax datasets list --space SPACE` -- find the dataset name\n2. `ax datasets export DATASET_NAME --space SPACE` -- download to file\n3. Parse the JSON: `jq '.[] | .question' dataset_*\u002Fexamples.json`\n\n### Export a specific version\n\n```bash\n# List versions\nax datasets get DATASET_NAME --space SPACE -o json | jq '.versions'\n\n# Export that version\nax datasets export DATASET_NAME --space SPACE --version-id VERSION_ID\n```\n\n### Iterate on a dataset\n\n1. Export current version: `ax datasets export DATASET_NAME --space SPACE`\n2. Modify the examples locally\n3. Append new rows: `ax datasets append DATASET_NAME --space SPACE --file new_rows.csv`\n4. Or create a fresh version: `ax datasets create --name \"eval-set-v2\" --space SPACE --file updated_data.json`\n\n### Pipe export to other tools\n\n```bash\n# Count examples\nax datasets export DATASET_NAME --space SPACE --stdout | jq 'length'\n\n# Extract a single field\nax datasets export DATASET_NAME --space SPACE --stdout | jq '.[].question'\n\n# Convert to CSV with jq\nax datasets export DATASET_NAME --space SPACE --stdout | jq -r '.[] | [.question, .answer] | @csv'\n```\n\n## Dataset Example Schema\n\nExamples are free-form JSON objects. There is no fixed schema -- columns are whatever fields you provide. System-managed fields are added by the server:\n\n| Field | Type | Managed by | Notes |\n|-------|------|-----------|-------|\n| `id` | string | server | Auto-generated UUID. Required on update, forbidden on create\u002Fappend |\n| `created_at` | datetime | server | Immutable creation timestamp |\n| `updated_at` | datetime | server | Auto-updated on modification |\n| *(any user field)* | any JSON type | user | String, number, boolean, null, nested object, array |\n\n\n## Related Skills\n\n- **arize-trace**: Export production spans to understand what data to put in datasets → use `arize-trace`\n- **arize-experiment**: Run evaluations against this dataset → next step is `arize-experiment`\n- **arize-prompt-optimization**: Use dataset + experiment results to improve prompts → use `arize-prompt-optimization`\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| `ax: command not found` | See references\u002Fax-setup.md |\n| `401 Unauthorized` | API key is wrong, expired, or doesn't have access to this space. Fix the profile using references\u002Fax-profiles.md. |\n| `No profile found` | No profile is configured. See references\u002Fax-profiles.md to create one. |\n| `Dataset not found` | Verify dataset ID with `ax datasets list` |\n| `File format error` | Supported: CSV, JSON, JSONL, Parquet. Use `--file -` to read from stdin. |\n| `platform-managed column` | Remove `id`, `created_at`, `updated_at` from create\u002Fappend payloads |\n| `reserved column` | Remove `time`, `count`, or any `source_record_*` field |\n| `Provide either --json or --file` | Append requires exactly one input source |\n| `Examples array is empty` | Ensure your JSON array or file contains at least one example |\n| `not a JSON object` | Each element in the `--json` array must be a `{...}` object, not a string or number |\n\n## Save Credentials for Future Use\n\nSee references\u002Fax-profiles.md § Save Credentials for Future Use.\n",{"metadata":24,"description":7},{"author":25,"version":26},"arize","1.0","main","58843b159d7a4050d6b785a98b908cce505c0b92","agent\u002Fskills\u002Farize-dataset",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill arize-dataset",{"tool":41,"command":42},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill arize-dataset",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill arize-dataset","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Farize-dataset\u002FSKILL.md",true,[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fax-profiles.md","REFERENCE","参考文档",4605,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Farize-dataset\u002Freferences\u002Fax-profiles.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fax-setup.md",1529,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Farize-dataset\u002Freferences\u002Fax-setup.md",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]