[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M791KN4MC5DPQ201S2ZJ0E2H":3,"skill-same:01M791KN4MC5DPQ201S2ZJ0E2H":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M791KN4MC5DPQ201S2ZJ0E2H","ideogram-security-basics",null,"Apply Ideogram security best practices for API key management and access control.\nUse when securing API keys, implementing key rotation,\nor auditing Ideogram security configuration.\nTrigger with phrases like \"ideogram security\", \"ideogram secrets\",\n\"secure ideogram\", \"ideogram API key security\", \"ideogram key rotation\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--ideogram-pack--ideogram-security-basics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ideogram-security-basics\ndescription: |\n  Apply Ideogram security best practices for API key management and access control.\n  Use when securing API keys, implementing key rotation,\n  or auditing Ideogram security configuration.\n  Trigger with phrases like \"ideogram security\", \"ideogram secrets\",\n  \"secure ideogram\", \"ideogram API key security\", \"ideogram key rotation\".\nallowed-tools: Read, Write, Edit, Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\ntags: [saas, ideogram, api, security]\n---\n# Ideogram Security Basics\n\n## Overview\nSecure your Ideogram API integration. Ideogram uses a single `Api-Key` header for authentication -- there are no OAuth scopes, roles, or fine-grained permissions. Security focuses on key management, environment isolation, prompt sanitization, and preventing key exposure.\n\n## Prerequisites\n- Ideogram API key from dashboard\n- Understanding of environment variables\n- `.gitignore` configured for secrets\n\n## Instructions\n\n### Step 1: Secure Key Storage\n```bash\n# .env (NEVER commit)\nIDEOGRAM_API_KEY=your-key-here\n\n# .gitignore -- add these lines\n.env\n.env.local\n.env.*.local\n*.key\n```\n\n```typescript\n\u002F\u002F Validate key exists at startup -- fail fast\nfunction requireApiKey(): string {\n  const key = process.env.IDEOGRAM_API_KEY;\n  if (!key || key.length \u003C 10) {\n    throw new Error(\"IDEOGRAM_API_KEY not set or invalid. Check .env file.\");\n  }\n  return key;\n}\n```\n\n### Step 2: Key Rotation Procedure\nIdeogram shows the full API key only once at creation. To rotate:\n\n```bash\nset -euo pipefail\n# 1. Create new key in Ideogram dashboard (Settings > API Beta > Create API key)\n# 2. Store new key immediately -- it won't be shown again\n\n# 3. Update your environment\nexport IDEOGRAM_API_KEY=\"new-key-value\"\n\n# 4. Verify new key works\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -X POST https:\u002F\u002Fapi.ideogram.ai\u002Fgenerate \\\n  -H \"Api-Key: $IDEOGRAM_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"image_request\":{\"prompt\":\"rotation test\",\"model\":\"V_2_TURBO\",\"magic_prompt_option\":\"OFF\"}}'\n\n# 5. Update deployment secrets\n# Vercel: vercel env rm IDEOGRAM_API_KEY production && vercel env add IDEOGRAM_API_KEY production\n# GitHub Actions: gh secret set IDEOGRAM_API_KEY\n# AWS: aws secretsmanager update-secret --secret-id ideogram-api-key --secret-string \"$IDEOGRAM_API_KEY\"\n\n# 6. Delete old key from Ideogram dashboard after confirming zero traffic\n```\n\n### Step 3: Prevent Key Exposure\n```typescript\n\u002F\u002F Proxy pattern -- never expose API key to browser\n\u002F\u002F api\u002Fideogram-proxy.ts (server-side only)\nexport async function POST(req: Request) {\n  const { prompt, style } = await req.json();\n\n  \u002F\u002F Validate and sanitize before forwarding\n  if (!prompt || prompt.length > 10000) {\n    return Response.json({ error: \"Invalid prompt\" }, { status: 400 });\n  }\n\n  const response = await fetch(\"https:\u002F\u002Fapi.ideogram.ai\u002Fgenerate\", {\n    method: \"POST\",\n    headers: {\n      \"Api-Key\": process.env.IDEOGRAM_API_KEY!, \u002F\u002F Server-side only\n      \"Content-Type\": \"application\u002Fjson\",\n    },\n    body: JSON.stringify({\n      image_request: {\n        prompt,\n        model: \"V_2\",\n        style_type: style || \"AUTO\",\n        magic_prompt_option: \"AUTO\",\n      },\n    }),\n  });\n\n  const result = await response.json();\n  \u002F\u002F Return only the image data, never the API key or internal details\n  return Response.json({\n    images: result.data?.map((d: any) => ({\n      url: d.url,\n      seed: d.seed,\n      resolution: d.resolution,\n    })),\n  });\n}\n```\n\n### Step 4: Git Pre-Commit Hook\n```bash\n#!\u002Fbin\u002Fbash\n# .git\u002Fhooks\u002Fpre-commit -- prevent accidental key commits\nset -euo pipefail\n\n# Check for potential Ideogram API keys in staged files\nif git diff --cached --diff-filter=d | grep -qiE '(Api-Key|IDEOGRAM_API_KEY)\\s*[:=]\\s*[\"\\x27]?[a-zA-Z0-9_-]{20,}'; then\n  echo \"ERROR: Potential Ideogram API key detected in staged changes.\"\n  echo \"Remove the key and use environment variables instead.\"\n  exit 1\nfi\n```\n\n### Step 5: Prompt Sanitization\n```typescript\n\u002F\u002F Prevent prompt injection and abuse\nfunction sanitizePrompt(prompt: string): { safe: boolean; cleaned: string; reason?: string } {\n  \u002F\u002F Length check (Ideogram max: 10,000 chars)\n  if (prompt.length > 10000) {\n    return { safe: false, cleaned: prompt.slice(0, 10000), reason: \"Prompt too long\" };\n  }\n\n  \u002F\u002F Remove potential PII patterns\n  const cleaned = prompt\n    .replace(\u002F\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}\\b\u002Fgi, \"[email]\")\n    .replace(\u002F\\b\\d{3}[-.]?\\d{3}[-.]?\\d{4}\\b\u002Fg, \"[phone]\")\n    .replace(\u002F\\b\\d{3}-\\d{2}-\\d{4}\\b\u002Fg, \"[ssn]\");\n\n  return { safe: true, cleaned };\n}\n```\n\n## Security Checklist\n- [ ] API key in environment variable, not source code\n- [ ] `.env` files in `.gitignore`\n- [ ] Separate keys for dev \u002F staging \u002F production\n- [ ] Pre-commit hook scanning for key patterns\n- [ ] Server-side proxy for browser-facing applications\n- [ ] Prompt sanitization to strip PII\n- [ ] Key rotation scheduled quarterly\n- [ ] Auto top-up billing limits reviewed\n\n## Error Handling\n| Security Issue | Detection | Mitigation |\n|----------------|-----------|------------|\n| Key exposed in git | `git log -p --all -S \"Api-Key\"` | Rotate key immediately |\n| Key in client-side JS | Browser DevTools audit | Move to server-side proxy |\n| Unlimited billing | No top-up cap set | Set conservative auto top-up limits |\n| Prompt contains PII | Sanitization check | Strip before API call |\n\n## Output\n- Secure API key storage with environment variables\n- Key rotation procedure documented\n- Server-side proxy preventing client-side exposure\n- Pre-commit hook blocking accidental commits\n\n## Resources\n- [Ideogram API Setup](https:\u002F\u002Fdeveloper.ideogram.ai\u002Fideogram-api\u002Fapi-setup)\n- [API Terms of Service](https:\u002F\u002Fideogram.ai\u002Flegal\u002Fapi-tos)\n\n## Next Steps\nFor production deployment, see `ideogram-prod-checklist`.\n","# Ideogram Security Basics\n\n## Overview\nSecure your Ideogram API integration. Ideogram uses a single `Api-Key` header for authentication -- there are no OAuth scopes, roles, or fine-grained permissions. Security focuses on key management, environment isolation, prompt sanitization, and preventing key exposure.\n\n## Prerequisites\n- Ideogram API key from dashboard\n- Understanding of environment variables\n- `.gitignore` configured for secrets\n\n## Instructions\n\n### Step 1: Secure Key Storage\n```bash\n# .env (NEVER commit)\nIDEOGRAM_API_KEY=your-key-here\n\n# .gitignore -- add these lines\n.env\n.env.local\n.env.*.local\n*.key\n```\n\n```typescript\n\u002F\u002F Validate key exists at startup -- fail fast\nfunction requireApiKey(): string {\n  const key = process.env.IDEOGRAM_API_KEY;\n  if (!key || key.length \u003C 10) {\n    throw new Error(\"IDEOGRAM_API_KEY not set or invalid. Check .env file.\");\n  }\n  return key;\n}\n```\n\n### Step 2: Key Rotation Procedure\nIdeogram shows the full API key only once at creation. To rotate:\n\n```bash\nset -euo pipefail\n# 1. Create new key in Ideogram dashboard (Settings > API Beta > Create API key)\n# 2. Store new key immediately -- it won't be shown again\n\n# 3. Update your environment\nexport IDEOGRAM_API_KEY=\"new-key-value\"\n\n# 4. Verify new key works\ncurl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\" \\\n  -X POST https:\u002F\u002Fapi.ideogram.ai\u002Fgenerate \\\n  -H \"Api-Key: $IDEOGRAM_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"image_request\":{\"prompt\":\"rotation test\",\"model\":\"V_2_TURBO\",\"magic_prompt_option\":\"OFF\"}}'\n\n# 5. Update deployment secrets\n# Vercel: vercel env rm IDEOGRAM_API_KEY production && vercel env add IDEOGRAM_API_KEY production\n# GitHub Actions: gh secret set IDEOGRAM_API_KEY\n# AWS: aws secretsmanager update-secret --secret-id ideogram-api-key --secret-string \"$IDEOGRAM_API_KEY\"\n\n# 6. Delete old key from Ideogram dashboard after confirming zero traffic\n```\n\n### Step 3: Prevent Key Exposure\n```typescript\n\u002F\u002F Proxy pattern -- never expose API key to browser\n\u002F\u002F api\u002Fideogram-proxy.ts (server-side only)\nexport async function POST(req: Request) {\n  const { prompt, style } = await req.json();\n\n  \u002F\u002F Validate and sanitize before forwarding\n  if (!prompt || prompt.length > 10000) {\n    return Response.json({ error: \"Invalid prompt\" }, { status: 400 });\n  }\n\n  const response = await fetch(\"https:\u002F\u002Fapi.ideogram.ai\u002Fgenerate\", {\n    method: \"POST\",\n    headers: {\n      \"Api-Key\": process.env.IDEOGRAM_API_KEY!, \u002F\u002F Server-side only\n      \"Content-Type\": \"application\u002Fjson\",\n    },\n    body: JSON.stringify({\n      image_request: {\n        prompt,\n        model: \"V_2\",\n        style_type: style || \"AUTO\",\n        magic_prompt_option: \"AUTO\",\n      },\n    }),\n  });\n\n  const result = await response.json();\n  \u002F\u002F Return only the image data, never the API key or internal details\n  return Response.json({\n    images: result.data?.map((d: any) => ({\n      url: d.url,\n      seed: d.seed,\n      resolution: d.resolution,\n    })),\n  });\n}\n```\n\n### Step 4: Git Pre-Commit Hook\n```bash\n#!\u002Fbin\u002Fbash\n# .git\u002Fhooks\u002Fpre-commit -- prevent accidental key commits\nset -euo pipefail\n\n# Check for potential Ideogram API keys in staged files\nif git diff --cached --diff-filter=d | grep -qiE '(Api-Key|IDEOGRAM_API_KEY)\\s*[:=]\\s*[\"\\x27]?[a-zA-Z0-9_-]{20,}'; then\n  echo \"ERROR: Potential Ideogram API key detected in staged changes.\"\n  echo \"Remove the key and use environment variables instead.\"\n  exit 1\nfi\n```\n\n### Step 5: Prompt Sanitization\n```typescript\n\u002F\u002F Prevent prompt injection and abuse\nfunction sanitizePrompt(prompt: string): { safe: boolean; cleaned: string; reason?: string } {\n  \u002F\u002F Length check (Ideogram max: 10,000 chars)\n  if (prompt.length > 10000) {\n    return { safe: false, cleaned: prompt.slice(0, 10000), reason: \"Prompt too long\" };\n  }\n\n  \u002F\u002F Remove potential PII patterns\n  const cleaned = prompt\n    .replace(\u002F\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}\\b\u002Fgi, \"[email]\")\n    .replace(\u002F\\b\\d{3}[-.]?\\d{3}[-.]?\\d{4}\\b\u002Fg, \"[phone]\")\n    .replace(\u002F\\b\\d{3}-\\d{2}-\\d{4}\\b\u002Fg, \"[ssn]\");\n\n  return { safe: true, cleaned };\n}\n```\n\n## Security Checklist\n- [ ] API key in environment variable, not source code\n- [ ] `.env` files in `.gitignore`\n- [ ] Separate keys for dev \u002F staging \u002F production\n- [ ] Pre-commit hook scanning for key patterns\n- [ ] Server-side proxy for browser-facing applications\n- [ ] Prompt sanitization to strip PII\n- [ ] Key rotation scheduled quarterly\n- [ ] Auto top-up billing limits reviewed\n\n## Error Handling\n| Security Issue | Detection | Mitigation |\n|----------------|-----------|------------|\n| Key exposed in git | `git log -p --all -S \"Api-Key\"` | Rotate key immediately |\n| Key in client-side JS | Browser DevTools audit | Move to server-side proxy |\n| Unlimited billing | No top-up cap set | Set conservative auto top-up limits |\n| Prompt contains PII | Sanitization check | Strip before API call |\n\n## Output\n- Secure API key storage with environment variables\n- Key rotation procedure documented\n- Server-side proxy preventing client-side exposure\n- Pre-commit hook blocking accidental commits\n\n## Resources\n- [Ideogram API Setup](https:\u002F\u002Fdeveloper.ideogram.ai\u002Fideogram-api\u002Fapi-setup)\n- [API Terms of Service](https:\u002F\u002Fideogram.ai\u002Flegal\u002Fapi-tos)\n\n## Next Steps\nFor production deployment, see `ideogram-prod-checklist`.\n",{"name":5,"tags":24,"author":29,"license":15,"version":30,"description":31,"allowed-tools":32,"compatible-with":33},[25,26,27,28],"saas","ideogram","api","security","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Apply Ideogram security best practices for API key management and access control.\nUse when securing API keys, implementing key rotation,\nor auditing Ideogram security configuration.\nTrigger with phrases like \"ideogram security\", \"ideogram secrets\",\n\"secure ideogram\", \"ideogram API key security\", \"ideogram key rotation\".\n","Read, Write, Edit, Grep","claude-code, codex, openclaw","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--ideogram-pack--ideogram-security-basics",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill ideogram-security-basics",{"tool":49,"command":50},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill ideogram-security-basics",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill ideogram-security-basics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--ideogram-pack--ideogram-security-basics\u002FSKILL.md",true,[],[58,65,72,79,86,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]