apify avatar

Apify Generate Output Schema

Generates the three schema files Apify Actors need to display their output properly in the console: dataset_schema.json, output_schema.json, and key_value_store_schema.json. It analyzes your Actor's source code to understand what data actually gets pushed, finds existing type definitions to reuse instead of duplicating them, and checks other Actors in your repo to match their conventions. The workflow is thorough: it searches for all pushData calls, ensures every field is marked nullable (because scrapers break), enforces that additionalProperties true appears at every level, and anonymizes examples. Useful when you're publishing an Actor or need to update schemas after changing your output structure. Saves you from reading the Apify schema docs and hand-writing JSON.

skills.sh installs
8K
GitHub stars
2.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add apify/agent-skills --skill apify-generate-output-schema --agent claude-code

Installs into .claude/skills of the current project.

Files

Deprecated: use apify-actor-development

This skill is deprecated and will be removed in a future release. Generating and updating Actor output schemas (dataset_schema.json, output_schema.json, key_value_store_schema.json) is now part of the apify-actor-development skill.

  • If the apify-actor-development skill is available, load it and follow its references/output-schemas.md.
  • If it is not available, tell the user this skill is deprecated and help them install apify-actor-development from https://github.com/apify/agent-skills, then stop. Do not write the schemas from memory. Use the install method that fits their agent, preferably the same one this skill was installed with:
    • Claude Code plugin: /plugin install apify-actor-development@apify-agent-skills
    • Skills CLI, which works with most agents: npx skills add https://github.com/apify/agent-skills --skill apify-actor-development
    • Cloned repo: pull the latest changes; the skill is at skills/apify-actor-development/SKILL.md

Sponsors

Details

Repository
github.com/apify/agent-skills
Categories
AI & Agent Building, Data Science & ML
First seen
Apr 16, 2026

More from apify/agent-skills

All 14
1shubhamsaboo avatarfullstack-developershubhamsaboo/awesome-llm-appsModern web development expertise covering React, Node.js, databases, and full-stack architecture. Use when: building web applications, developing APIs, creating7.9Kskills.sh installs
2clickhouse avatarclickhouse-js-node-troubleshootingclickhouse/agent-skillsTroubleshoot and resolve common issues with the ClickHouse Node.js client (@clickhouse/client). Use this skill whenever a user reports errors, unexpected behavi7.8Kskills.sh installs
3shopify avatarucpshopify/shopify-ai-toolkitUse when the user wants to use the UCP CLI to find, compare, buy, or track products from online merchants, or to set up and troubleshoot the local UCP profile r7.7Kskills.sh installs
4callstackincubator avatarvalidate-skillscallstackincubator/agent-skillsValidates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.7.6Kskills.sh installs
5parallel-web avatarsetupparallel-web/parallel-agent-skillsSet up the Parallel plugin (install CLI)7.5Kskills.sh installs
6aws avatarsecuring-s3-bucketsaws/agent-toolkit-for-awsCreate and secure S3 buckets following AWS best practices for access control, encryption, monitoring, and remediation of misconfigurations. Use when the user wa7.4Kskills.sh installs