> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide.md).

# Demisto SDK Guide

- [Introduction to Demisto SDK](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/readme.md): Introduction to the Demisto SDK Python library that assists with your content development needs.
- [Install Demisto SDK](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/install-demisto-sdk.md): How to install the Demisto SDK or upgrade it if it is already installed.
- [Environment variables setup](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/install-demisto-sdk/environment-variables-setup.md): Add environment variables for Cortex XSOAR and Cortex XSIAM.
- [Create a preset custom command configuration](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/install-demisto-sdk/create-a-preset-custom-command-configuration.md): Create a custom configuration for demisto-sdk commands.
- [Demisto SDK usage and configuration](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-usage-and-configuration.md): Configure and use the Demisto SDK, including content paths, logging, GitHub tokens, CLI commands, Docker, and offline environments.
- [Run the Demisto SDK in a Docker container](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-usage-and-configuration/run-the-demisto-sdk-in-a-docker-container.md): Run Demisto SDK validations from within a Docker container.
- [Using Docker](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-usage-and-configuration/using-docker.md): Use Docker to run Python scripts and integrations in a controlled environment.
- [Demisto SDK commands](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands.md): Learn about the arguments and usage of Demisto SDK commands to manage your content.
- [doc-review](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/doc-review.md): Check spelling in Markdown and YAML files, and validate release notes against Cortex content standards.
- [download](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/download.md): Download and merge custom content from Cortex XSOAR or Cortex XSIAM into a local repository.
- [format](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/format.md): Format Cortex content files to meet standards and validate new or modified content.
- [generate-docs](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/generate-docs.md): Generate README documentation for Cortex XSOAR integrations, scripts, and playbooks.
- [generate-integration](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/generate-integration.md): Generate a Cortex XSOAR or Cortex XSIAM integration from an integration configuration JSON file.
- [generate-outputs](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/generate-outputs.md): Generate integration context outputs from JSON responses or command examples.
- [generate-test-playbook](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/generate-test-playbook.md): Generate Cortex XSOAR or Cortex XSIAM test playbooks from integration or script YAML files.
- [generate-unit-tests](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/generate-unit-tests.md): Generate unit test scaffolding from Cortex integration Python code and command examples.
- [generate-yml-from-python](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/generate-yml-from-python.md): Generate integration YAML metadata from Python code using the Demisto SDK metadata collector.
- [graph commands](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/graph-commands.md): Use Demisto SDK graph commands to build, inspect, and manage Cortex content relationships.
- [init](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/init.md): Initialize a new Cortex content pack structure with Demisto SDK.
- [openapi-codegen](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/openapi-codegen.md): Generate Cortex XSOAR integration code and configuration from an OpenAPI specification.
- [postman-codegen](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/postman-codegen.md): The postman-codegen command generates an integration file (YAML) from a Postman Collection.
- [pre-commit](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/pre-commit.md): Run Demisto SDK checks and validations on changed Cortex content before committing.
- [prepare-content](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/prepare-content.md): Prepare Cortex content files and packs for development, validation, or release workflows.
- [run](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/run.md): Run Cortex XSOAR integrations and scripts locally with the Demisto SDK.
- [run-playbook](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/run-playbook.md): Run Cortex XSOAR playbooks locally using the Demisto SDK command-line interface.
- [secrets](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/secrets.md): Detect and manage secrets in Cortex content with the Demisto SDK.
- [setup-env](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/setup-env.md): Configure the local environment for Demisto SDK and Cortex content development.
- [split](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/split.md): Split Cortex content files into the standard pack directory structure.
- [update-release-notes](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/update-release-notes.md): Create and update Cortex content release notes with the Demisto SDK.
- [upload](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/upload.md): Upload local custom content from a repository to Cortex XSOAR or Cortex XSIAM.
- [validate](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/validate.md): Validate Cortex content files and packs against Demisto SDK standards and checks.
- [Validation checks](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/validate/validation-checks.md): Reference the validation checks performed by the Demisto SDK validate command.
- [zip-packs](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/demisto-sdk-commands/zip-packs.md): Package Cortex content packs into ZIP archives for distribution or upload.
- [Contribute to the Demisto SDK](https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide/contribute-to-demisto-sdk.md): Set up your environment, develop and test SDK changes, submit pull requests, and document releases.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/demisto-sdk-development-guide/demisto-sdk-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
