Prismic Automation
Automate headless CMS operations in Prismic -- query documents, search content, retrieve custom types, and manage repository refs through the Composio Prismic integration.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 1
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 1252b0f67f80a662… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Prismic Automation
Manage your Prismic headless CMS directly from Claude Code. Query documents by type, full-text search content, inspect custom types, and work with repository refs for content versioning.
Toolkit docs: composio.dev/toolkits/prismic
Setup
- Add the Composio MCP server to your configuration:
https://rube.app/mcp - Connect your Prismic account when prompted. The agent will provide an authentication link.
- Most content queries require a
reftoken. Always start by callingPRISMIC_REPOSITORY_API_GET_REFSorPRISMIC_REPOSITORY_API_GET_INFOto obtain the master ref.
Core Workflows
1. Get Repository Info and Refs
Retrieve comprehensive repository metadata including available refs (content versions), custom types, languages, tags, and bookmarks. This is typically your first API call.
Tools: PRISMIC_REPOSITORY_API_GET_INFO, PRISMIC_REPOSITORY_API_GET_REFS
No parameters required -- these endpoints return the full repository configuration. The refs field is critical since refs are required for all content queries.
Example prompt: "Get my Prismic repository info and the current master ref"
2. Query Documents with Predicates
Fetch documents using Prismic's predicate query syntax with full pagination and filtering support.
Tool: PRISMIC_CONTENT_API_QUERY_DOCUMENTS
Key parameters:
ref(required) -- content release reference ID (typically the master ref)q-- predicate query, e.g.,[[at(document.type, "page")]]page(min 1) andpageSize(1-100) -- paginationlang-- language code, e.g.,en-us(default*for all)orderings-- sort order, e.g.,[my.article.date desc]fetch-- comma-separated fields to fetch, reducing response sizefetchLinks-- resolve linked document fields inline
Example prompt: "Query all published blog posts in Prismic, sorted by date descending, in English"
3. Fetch Documents by Type
Retrieve all documents of a specific custom type with automatic master ref resolution.
Tool: PRISMIC_GET_DOCUMENTS_BY_TYPE
Key parameters:
type(required) -- custom type API ID, e.g.,blog_post,article,pagepage(default 1) andpageSize(1-100, default 20)lang-- language code filterorderings-- sort order, e.g.,[my.article.date desc]after-- cursor-based pagination for deep pagination beyond page 50
Example prompt: "Get all blog_post documents in Prismic, 20 per page"
4. Full-Text Search
Search across all text fields in documents for specified terms. Case-insensitive, matches on root words.
Tool: PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH
Key parameters:
q(required) -- full-text predicate, e.g.,[[fulltext(document, "machine learning")]]page,pageSize,lang,orderings-- same pagination/filtering as other queries
Example prompt: "Search all Prismic documents for 'machine learning'"
5. Get a Single Document by ID
Retrieve a specific document by its unique identifier.
Tool: PRISMIC_GET_DOCUMENT_BY_ID
Key parameters:
document_id(required) -- unique document identifierref(required) -- content ref from repositorylang-- optional language filter
Example prompt: "Fetch Prismic document Xx2KLhEAAJljVWaA"
6. List Custom Types
Discover all custom types (content models) defined in the repository, including their structure definitions.
Tool: PRISMIC_TYPES_API_GET_TYPES
Key parameters:
limit-- max number of types to return per pagepage-- page number (1-indexed)sort-- sort order, e.g.,name
Example prompt: "List all custom types in my Prismic repository"
Known Pitfalls
- Ref is required for all content queries: You must obtain a valid
ref(typically the master ref) fromPRISMIC_REPOSITORY_API_GET_REFSorPRISMIC_REPOSITORY_API_GET_INFObefore querying any documents. Queries without a ref will fail. - Predicate syntax requires double brackets: Prismic queries use double square brackets:
[[at(document.type, "page")]]. For multiple predicates, combine them:[[at(document.type, "blog")][at(document.tags, ["featured"])]]. - Deep pagination limit: Standard page-based pagination may fail beyond page 50. For deep pagination, use the
afterparameter with the last document ID from your previous result set. - pageSize cap is 100: Requesting more than 100 documents per page will be rejected. Use pagination to iterate through larger result sets.
- Language filtering: The default language filter is
*(all languages). If you need documents in a specific locale, always passlangexplicitly (e.g.,en-us,fr-fr). - Integration fields require separate ref: When using
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDS, you need anintegrationFieldsRefin addition to the standard contentref.
Quick Reference
| Tool Slug | Description |
|---|---|
PRISMIC_REPOSITORY_API_GET_INFO | Get repository metadata, refs, types, languages |
PRISMIC_REPOSITORY_API_GET_REFS | List all refs (master + releases) |
PRISMIC_TYPES_API_GET_TYPES | List all custom types / content models |
PRISMIC_CONTENT_API_QUERY_DOCUMENTS | Query documents with predicates and pagination |
PRISMIC_GET_DOCUMENTS_BY_TYPE | Fetch documents filtered by custom type |
PRISMIC_GET_DOCUMENT_BY_ID | Retrieve a single document by ID |
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH | Full-text search across all documents |
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_PREDICATES | Filter documents with multiple predicate conditions |
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDS | Fetch documents with integration fields data |
PRISMIC_GET_DOCUMENTS_ORDERED | Fetch documents sorted by specified fields |
Powered by Composio
Files
1- SKILL.md
76f146e8226.1 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from ComposioHQ/awesome-claude-skills8
Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.
Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.
Automate SEO research with Ahrefs -- analyze backlink profiles, research keywords, track domain metrics history, audit organic rankings, and perform batch URL analysis through the Composio Ahrefs integration.
Automate web scraping and data extraction with Apify -- run Actors, manage datasets, create reusable tasks, and retrieve crawl results through the Composio Apify integration.
Automate Apollo.io lead generation -- search organizations, discover contacts, enrich prospect data, manage contact stages, and build targeted outreach lists -- using natural language through the Composio MCP integration.
Automate recruiting and hiring workflows in Ashby -- manage candidates, jobs, applications, interviews, and notes through natural language commands.
Automate Attio CRM operations -- search records, query contacts and companies with advanced filters, manage notes, list attributes, and navigate your relationship data -- using natural language through the Composio MCP integration.
Braintree Automation: manage payment processing via Stripe-compatible tools for customers, subscriptions, payment methods, and transactions
Related integrations skillsscan passed
Qdrant provides client SDKs for various programming languages, allowing easy integration with Qdrant deployments.
Measures whether an automation suite builds release confidence via feedback-loop length, suite reliability, release cadence, and production escape rate, and emits a release_confidence verdict. Use when judging suite value, ROI, or pre-release trust; not for writing or healing tests.
Qdrant provides client SDKs for various programming languages, allowing easy integration with Qdrant deployments.
Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Browser automation + AI test authoring via kane-cli - run browser objectives, generate & refine test scenarios/cases from a description, design requirement-linked test suites from a PRD/spec (assurance), parse NDJSON output, inspect logs, save runnable _test.md. Use for any task requiring a real bro