Skip to content
cccskills
FreePublished on GitHub

prismatic-api

Prismatic API access patterns and GraphQL reference. Covers the two-tier access hierarchy (MCP tools → Prism CLI), CLI usage rules, GraphQL query patterns, pagination, authentication, and managing platform resources programmatically.

The English summary is being prepared. Showing the original description.

See how to install

Files included (12)

  • SKILL.md7.7 KB
  • references/api-access-methods.md6.1 KB
  • references/authentication.md2.8 KB
  • references/common-patterns.md3.6 KB
  • references/components.md4.1 KB
  • references/config-variables.md3.1 KB
  • references/connections.md5.8 KB
  • references/customers.md2.8 KB
  • references/execution-and-logs.md3.0 KB
  • references/instances.md6.4 KB
  • references/integrations.md5.0 KB
  • references/pagination-and-filtering.md3.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Prismatic API

Reference documentation for Prismatic platform operations and the standardized API access hierarchy.

API Access Method Hierarchy

Prismatic API access follows a two-tier priority system for interactive agents (e.g., Orby). Builder agents (cni-builder, component-builder) use their own script-based pipelines and should not use MCP tools directly — see their agent docs for details.

Priority 1: MCP Tools (Interactive Agents Only)

Use MCP tools when operating within an interactive agent conversation (e.g., Orby). These handle auth, retries, and output formatting automatically.

MCP ToolOperation
mcp__plugin_prismatic-skills_prism__prism_meCheck auth / user profile
mcp__plugin_prismatic-skills_prism__prism_components_listList / search components
mcp__plugin_prismatic-skills_prism__prism_components_initInitialize new component
mcp__plugin_prismatic-skills_prism__prism_components_publishPublish component
mcp__plugin_prismatic-skills_prism__prism_components_generate_manifestGenerate component manifest
mcp__plugin_prismatic-skills_prism__prism_integrations_listList / search integrations
mcp__plugin_prismatic-skills_prism__prism_integrations_initInitialize new CNI
mcp__plugin_prismatic-skills_prism__prism_integrations_importImport / update CNI
mcp__plugin_prismatic-skills_prism__prism_integrations_convertConvert YAML to CNI
mcp__plugin_prismatic-skills_prism__prism_integrations_flows_listList flows for integration
mcp__plugin_prismatic-skills_prism__prism_integrations_flows_testTest a flow
mcp__plugin_prismatic-skills_prism__prism_integrations_flows_listenListen for webhook payloads
mcp__plugin_prismatic-skills_prism__prism_integrations_generate_flowGenerate flow boilerplate
mcp__plugin_prismatic-skills_prism__prism_integrations_generate_config_pageGenerate config page
mcp__plugin_prismatic-skills_prism__prism_integrations_generate_config_varGenerate config variable
mcp__plugin_prismatic-skills_prism__prism_integrations_add_connection_config_varAdd connection config var
mcp__plugin_prismatic-skills_prism__prism_integrations_add_datasource_config_varAdd datasource config var
mcp__plugin_prismatic-skills_prism__prism_install_component_manifestInstall component manifest in CNI
mcp__plugin_prismatic-skills_prism__prism_install_legacy_component_manifestLegacy manifest install

Priority 2: Prism CLI (Scripts + Agents)

For scripts and operations not covered by MCP tools:

Built-in commands (via prism-retry.ts):

prism integrations:list --extended --output json
prism components:publish --directory ./my-component
prism integrations:import --directory ./my-integration

Custom GraphQL queries (via shared/graphql.ts):

import { graphql, GraphQLError } from "./shared/graphql.js";

const data = graphql('query { customers { nodes { id name } } }');

Or directly via CLI:

prism graphql:query 'query { customers { nodes { id name } } }'
prism graphql:query 'query($id: ID!) { customer(id: $id) { name } }' \
  --variables '{"id": "Q3VzdG9tZXI6..."}'

Decision Tree

Agent calling directly?  → Use MCP tool if available, else `prism` via Bash
Script?                  → Use shared/graphql.ts for custom queries,
                           prism-retry.ts for built-in CLI commands

Rule: NEVER create inline GraphQL clients — always use shared/graphql.ts imports.

Common Operations Cheat Sheet

These are the most frequently needed GraphQL operations. Use these exact queries — don't guess the field names.

OperationReference FileQuery/Mutation Name
Find test instance for an integrationreferences/instances.md → "Get Test (System) Instance"instances(integration: $id, isSystem: true)
Get execution result with logsreferences/execution-and-logs.md → "Get Execution Result with Step Results"executionResult(id: $id)
Publish an integration versionreferences/integrations.md → "Mutation: Publish Integration"publishIntegration(input: { id: $id })
Set marketplace availabilityreferences/integrations.md → "Mutation: Set Marketplace Availability"updateIntegrationMarketplaceConfiguration
Clear instance persisted statereferences/instances.md → "Mutation: Clear Instance Persisted State"updateInstance(input: { id: $id, persistedData: "{}" })
Update config variables (safe)references/instances.md → "Mutation: Update Instance Config Variables"updateInstanceConfigVariables (NOT updateInstance)

Read the referenced file section for the full query with all fields. Do not reconstruct queries from memory.

CLI Usage Rules

  1. prism must be installed globally (npm install -g @prismatic-io/prism) — never use npx prism
  2. All list commands: always use --extended --output json
  3. --extended and --columns are mutually exclusive — always prefer --extended
  4. For graphql:query: always use --variables flag, never string interpolation
  5. Auth is handled by the CLI — no custom token exchange needed

API Endpoint

  • URL: {PRISMATIC_URL}/api (default: https://app.prismatic.io/api)
  • Method: HTTP POST with JSON body {"query": "...", "variables": {}}
  • Auth: Bearer token in Authorization header
  • Content-Type: application/json

Authentication

Obtain tokens via Prism CLI. See references/authentication.md.

Quick reference:

  • prism me:token - Short-lived access token
  • prism me:token --type refresh - Long-lived refresh token
  • Access tokens valid for 7 days, auto-refreshed 5 minutes before expiry
  • All authenticated requests return HTTP 200, even on errors - always check errors array

Pagination

All collection queries use Relay cursor-based pagination. See references/pagination-and-filtering.md.

query($after: String) {
  resources(after: $after, first: 100) {
    nodes { id name }
    pageInfo { hasNextPage endCursor }
  }
}

Critical Patterns

  1. Enum values are lowercase strings: variableScope: "customer" not "CUSTOMER", managedBy: "org" not "ORG"
  2. Use updateInstanceConfigVariables (partial, safe) not updateInstance (replaces ALL config vars)
  3. Always deploy after config changes: Call deployInstance to activate
  4. Use parameterized variables: Never string-concatenate into queries
  5. Check mutation errors: Mutations return errors { field messages } alongside results

Key References by Resource Type

Core Resources

  • references/customers.md - Customer CRUD, external IDs, labels
  • references/integrations.md - Integration management, publishing, testing
  • references/instances.md - Instance deployment, config variables, lifecycle
  • references/components.md - Component queries, action introspection, search

Connections & Config

  • references/connections.md - Scoped config vars, customer config vars, connection management
  • references/config-variables.md - Instance config updates, deployment patterns

Operational

  • references/execution-and-logs.md - Execution results, step results, log queries, replay
  • references/common-patterns.md - Batch operations, nested queries, aliased mutations, error handling
  • references/api-access-methods.md - Detailed MCP tool reference, CLI patterns, migration notes

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

This skill should be used when the user needs to analyze a Dell Boomi export, parse Boomi Component XML files, migrate from Boomi to Prismatic, convert Boomi processes to CNI flows, map Boomi shapes to Prismatic equivalents, or interpret Boomi connector settings, transform maps, and process properties. Relevant when the user says "analyze this Boomi export", "migrate from Boomi", "parse Boomi XML", "convert Boomi process to Prismatic", or "what does this Boomi shape map to".

The English summary is being prepared. Showing the original description.

prismatic-io/prismatic-skills28Updated Oct 15, 2026

Architecture patterns, code generation guides, and reference documentation for building Prismatic custom components.

The English summary is being prepared. Showing the original description.

prismatic-io/prismatic-skills28Updated Oct 15, 2026

This skill should be used when the user needs to analyze a Cyclr export, parse Cyclr JSON files, migrate from Cyclr to Prismatic, convert Cyclr cycles to CNI flows, map Cyclr steps to Prismatic equivalents, or interpret Cyclr connector settings, field mappings, and cycle parameters. Relevant when the user says "analyze Cyclr export", "migrate from Cyclr", "parse Cyclr JSON", "convert Cyclr cycle to Prismatic", or "what does this Cyclr step map to".

The English summary is being prepared. Showing the original description.

prismatic-io/prismatic-skills28Updated Oct 15, 2026

Reference documentation for embedding Prismatic's integration marketplace and workflow builder in a web application. Covers JWT authentication, the embedded SDK, marketplace and workflow embedding, theming, i18n, additional screens, and custom marketplace UI. Use when the user asks about embedding Prismatic, JWT tokens for embedded apps, marketplace iframes, workflow builder integration, custom marketplace UI, or frontend SDK setup.

The English summary is being prepared. Showing the original description.

prismatic-io/prismatic-skills28Updated Oct 15, 2026

Architecture patterns, manifest usage, code generation guides, and reference documentation for building Prismatic Code Native Integrations.

The English summary is being prepared. Showing the original description.

prismatic-io/prismatic-skills28Updated Oct 15, 2026

Core knowledge for migrating integrations from other platforms (Boomi, Cyclr) to Prismatic Code Native Integrations. Provides the standard integration schema, schema-to-spec mapping, confidence scoring, and migration-aware code generation patterns. Use when the user says "migrate", "convert from Boomi/Cyclr", "parse this export".

The English summary is being prepared. Showing the original description.

prismatic-io/prismatic-skills28Updated Oct 15, 2026

See all skills by prismatic-io

Report a problem with this skill