/adobe-pack:adobe-install-authfrom adobe-pack
Installs and configures Adobe Developer Console OAuth Server-to-Server credentials for Adobe APIs (Firefly, PDF, I/O Runtime). Includes SDK installation and token generation.
Ships in adobe-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Set up Adobe Developer Console OAuth Server-to-Server credentials and install the appropriate SDK for your use case. As of January 2025, JWT (Service Account) credentials are deprecated -- all new integrations must use OAuth Server-to-Server.
client_id, client_secret, and scopes# Firefly Services (Photoshop API, Lightroom API, Firefly API)
npm install @adobe/firefly-apis @adobe/photoshop-apis @adobe/lightroom-apis
# PDF Services (create, extract, convert, generate documents)
npm install @adobe/pdfservices-node-sdk
# Adobe I/O Events (webhooks, event-driven)
npm install @adobe/aio-lib-events
# Adobe I/O SDK (App Builder, Runtime actions)
npm install @adobe/aio-sdk
# Adobe I/O CLI (global install for aio commands)
npm install -g @adobe/aio-cli
# Python — PDF Services
pip install pdfservices-sdk
# .env (NEVER commit — add to .gitignore)
ADOBE_CLIENT_ID=your_client_id_from_console
ADOBE_CLIENT_SECRET=your_client_secret_from_console
ADOBE_SCOPES=openid,AdobeID,read_organizations,firefly_api,ff_apis
ADOBE_IMS_ORG_ID=your_org_id@AdobeOrg
// src/adobe/auth.ts
import 'dotenv/config';
interface AdobeTokenResponse {
access_token: string;
token_type: string;
expires_in: number; // seconds, typically 86400 (24h)
}
let cachedToken: { token: string; expiresAt: number } | null = null;
export async function getAdobeAccessToken(): Promise<string> {
// Return cached token if still valid (with 5min buffer)
if (cachedToken && cachedToken.expiresAt > Date.now() + 300_000) {
return cachedToken.token;
}
const response = await fetch('https://ims-na1.adobelogin.com/ims/token/v3', {
method: 'POST',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
client_id: process.env.ADOBE_CLIENT_ID!,
client_secret: process.env.ADOBE_CLIENT_SECRET!,
grant_type: 'client_credentials',
scope: process.env.ADOBE_SCOPES!,
}),
});
if (!response.ok) {
const error = await response.text();
throw new Error(`Adobe auth failed (${response.status}): ${error}`);
}
const data: AdobeTokenResponse = await response.json();
cachedToken = {
token: data.access_token,
expiresAt: Date.now() + data.expires_in * 1000,
};
return cachedToken.token;
}
# Quick verification with curl
curl -X POST 'https://ims-na1.adobelogin.com/ims/token/v3' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d "client_id=${ADOBE_CLIENT_ID}&client_secret=${ADOBE_CLIENT_SECRET}&grant_type=client_credentials&scope=${ADOBE_SCOPES}"
node_modules or Python site-packages.env file with credentials (git-ignored)getAdobeAccessToken() function with token caching| Error | Cause | Solution |
|---|---|---|
invalid_client | Wrong client_id or client_secret | Verify credentials in Developer Console |
invalid_scope | Scopes not entitled to your org | Check product profile assignments in Admin Console |
401 Unauthorized | Expired or revoked credentials | Regenerate client_secret in Developer Console |
ENOTFOUND ims-na1.adobelogin.com | Network/DNS issue | Check firewall allows outbound HTTPS to *.adobelogin.com |
JWT credentials deprecated | Using old Service Account (JWT) | Migrate to OAuth Server-to-Server (JWT EOL was June 2025) |
import { ServicePrincipalCredentials, PDFServices } from '@adobe/pdfservices-node-sdk';
const credentials = new ServicePrincipalCredentials({
clientId: process.env.ADOBE_CLIENT_ID!,
clientSecret: process.env.ADOBE_CLIENT_SECRET!,
});
const pdfServices = new PDFServices({ credentials });
import { FireflyClient } from '@adobe/firefly-apis';
const firefly = new FireflyClient({
clientId: process.env.ADOBE_CLIENT_ID!,
accessToken: await getAdobeAccessToken(),
});
from adobe.pdfservices.operation.auth.service_principal_credentials import ServicePrincipalCredentials
from adobe.pdfservices.operation.pdf_services import PDFServices
credentials = ServicePrincipalCredentials(
client_id=os.environ["ADOBE_CLIENT_ID"],
client_secret=os.environ["ADOBE_CLIENT_SECRET"]
)
pdf_services = PDFServices(credentials=credentials)
After successful auth, proceed to adobe-hello-world for your first API call.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
adobe, oauth, server-to-server, firefly, pdf-services, adobe-developer-console
30 skills in this plugin
/adobe-advanced-troubleshootingApply advanced debugging techniques for Adobe API issues: IMS token
introspection, Firefly job failure analysis, PDF Services error
codes, and network-layer diagnostics for Adobe endpoints.
Trigger with phrases like "adobe hard bug", "adobe mystery error",
"adobe impossible to debug", "difficult adobe issue", "adobe deep debug".
/adobe-architecture-variantsChoose and implement Adobe architecture blueprints: standalone SDK integration,
Adobe App Builder serverless, and dedicated microservice with event-driven
Firefly/PDF pipelines. Decision matrix based on team size and throughput.
Trigger with phrases like "adobe architecture", "adobe blueprint",
"adobe app builder vs standalone", "adobe microservice".
/adobe-ci-integrationConfigure CI/CD pipelines for Adobe integrations with GitHub Actions,
including OAuth credential injection, PDF Services testing, Firefly API
smoke tests, and secret scanning for Adobe credential patterns.
Trigger with phrases like "adobe CI", "adobe GitHub Actions",
"adobe automated tests", "CI adobe", "adobe pipeline".
/adobe-common-errorsDiagnose and fix common Adobe API errors across Firefly Services, PDF Services,
Photoshop API, and Adobe I/O Events.
Use when encountering Adobe errors, debugging failed requests,
or troubleshooting integration issues.
Trigger with phrases like "adobe error", "fix adobe",
"adobe not working", "debug adobe", "adobe 403", "adobe 429".
/adobe-core-workflow-aExecute Adobe Firefly Services workflow: AI image generation, generative fill,
and expand image using the Firefly v3 API.
Use when generating images from prompts, filling or expanding images with AI,
or building creative automation pipelines.
Trigger with phrases like "adobe firefly", "generate image adobe",
"firefly text to image", "adobe AI image", "generative fill".
/adobe-core-workflow-bExecute Adobe PDF Services workflow: create PDFs from HTML/DOCX, extract text/tables,
document generation from templates, and PDF-to-Markdown conversion.
Use when building document automation, extracting content from PDFs,
or generating dynamic reports.
Trigger with phrases like "adobe pdf", "pdf services", "extract pdf",
"create pdf", "document generation", "pdf to markdown".
npx claudepluginhub flight505/skill-forge --plugin adobe-packOther plugins' skills for the same job