Prismic Automation

Automate headless CMS operations in Prismic -- query documents, search content, retrieve custom types, and manage repository refs through the Composio Prismic integration.

Install

Hot:30

Download and extract to your skills directory

Copy command and send to AI Agent for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=composiohq-composio-skills-prismic-automation&locale=en&source=copy

Prismic Automation

Skills Overview


Directly manage and automate Prismatic headless CMS operations through Claude Code, supporting document querying, content search, custom type checking, and repository reference management.

Use Cases

1. Automated Content Management


No need to log into the Prismic control panel manually. Query documents, search content, and update content versions directly through the chat interface. Suitable for content managers and developers who need to frequently check content status or perform bulk document operations.

2. Multilingual Content Retrieval


With Prismic Automation, you can easily query different language versions of content and filter documents by language. Ideal for teams managing multilingual websites or handling localized content.

3. Content Model Checking and Debugging


Quickly view all custom types defined in your Prismic repository to understand the document structure. This helps developers troubleshoot content display issues or validate fields returned by the API.

Core Features

1. Flexible Document Querying


Supports complex queries using Prismic predicate syntax, allowing filtering by document type, tags, custom fields, and more. Pagination is supported, with up to 100 documents per page—ideal for large-scale content retrieval.

2. Full-Text Search


Performs full-text search across all text fields in all documents, case-insensitive, with root/lemma matching support. Useful for quickly finding content containing specific keywords without needing to understand complex query syntax.

3. Repository Reference Management


Fetch and manage Prismic repository refs, including the master ref and release version refs. Refs are critical for content queries—every content operation requires a valid reference token.

FAQ

What configuration does Prismic Automation require?


Before using it, you must add the Composio MCP server address https://rube.app/mcp to your Claude Code configuration, then connect your Prismic account. When using the content querying feature for the first time, you must first call an API to fetch repository information in order to obtain the reference token.

Why does querying documents always fail?


The most common reason is that the ref parameter is missing. The Prismic API requires that all content queries include a valid reference token (usually the master ref). Before using tools such as PRISMIC_CONTENT_API_QUERY_DOCUMENTS, call PRISMIC_REPOSITORY_API_GET_REFS or PRISMIC_REPOSITORY_API_GET_INFO first to retrieve the currently available refs.

How do I write the predicate query syntax?


Prismic uses the bracket-based predicate syntax, for example: [[at(document.type, "blog_post")]] to query documents of a specific type. Multiple conditions can be combined: [[at(document.type, "blog")][at(document.tags, ["featured"])]] to filter by both type and tags. Refer to Prismic’s official documentation for the complete predicate syntax.