All skills
apify avatar

/apify-generate-output-schema

@4eeefeb official
by apifyapify/agent-skills2.4k stars
259

Deprecated. Output schema generation moved to the apify-actor-development skill; prefer that skill whenever it is available.

Use this Skill: https://skilld.dev/gh/apify/agent-skills/apify-generate-output-schema

This session only. Nothing lands on disk.

SKILL.md

≈39 tokens always: the name and description. ≈255 when used: this file.

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

Source: SKILL.md on GitHub

No alertstoday4 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    The skill is a developer tool designed to automate the generation of Apify Actor output schemas by analyzing local source code. It follows standard development practices, performing local file operations to create and update JSON configuration files without exhibiting malicious patterns or risky behaviors.

  • Sockettoday

    No alerts

  • Snyktoday

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 4eeefeb. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 19 hours ago.

Activeupdated 2 days ago
metadata
{
  "deprecated": "true"
}

README badge

README badge for apify/agent-skills/apify-generate-output-schema

Generates JSON schema files for Apify Actors by analyzing their source code to define dataset, output, and key-value store structure. Use this when creating or updating Actor output schemas to ensure Apify Console displays run results correctly.

Generated from the current SKILL.md.

Does this skill work with Python Actors?
Yes. The skill searches for both JavaScript/TypeScript (`Actor.pushData()`, `Actor.setValue()`) and Python (`Actor.push_data()`, `Actor.set_value()`) calls, and can derive schemas from Python TypedDict, dataclass, or Pydantic model definitions.
Will this skill generate all three schema files?
It generates `dataset_schema.json` and `output_schema.json` for all Actors. `key_value_store_schema.json` is only generated if the Actor code contains `setValue` or `set_value` calls beyond the default INPUT key.
What if the Actor already has TypeScript type definitions for its output?
The skill reuses existing type definitions directly instead of recreating them from scratch — it derives schema fields from the type interface or class definition as the canonical source of truth.
Does this skill match existing repository conventions?
Yes. The skill searches for other Actor schemas in the repository during Phase 1 and matches their description style, field naming conventions, example formatting, view structure, and JSON formatting.
Will this skill use real user data in schema examples?
No. The skill anonymizes all example values — no real user IDs, usernames, or personal data appear in the generated schemas.

Generated from the current SKILL.md. These answers refresh after source changes.