openai-platform-api-key

openai-platform-api-key is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 100 tokens per session (2,786 once invoked), scanned A, original, CC0-1.0.

A secure credential setup guide for applications and tools that use the OpenAI API, including requests for an OpenAI API key.

In plain words
What is it for?
Use it when creating or configuring an OpenAI-backed app, script, command-line tool, generator, or user-input-driven AI interface.
Why use it?
It keeps secret keys out of ordinary output and makes credential setup a separate step from building, testing, or debugging the application.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it when creating or configuring an OpenAI-backed app, script, command-line tool, generator, or user-input-driven AI interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/openai-platform-api-key
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add asgeirtj/system_prompts_leaks --skill openai-platform-api-key
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openai-platform-api-key

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/openai-platform-api-key/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/openai-platform-api-key)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/openai-platform-api-key"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/openai-platform-api-key/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openai-platform-api-key

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/openai-platform-api-key"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/openai-platform-api-key.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,786 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.02786
Opus 5.5 $0.00040 $0.01114
Sonnet 5.5 $0.00020 $0.00557
Haiku 4.5 $0.00010 $0.00279

Measured 23d ago against content hash d2f9fddd383f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openai-platform-api-key scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

OpenAI/Codex/plugins/openai-developers/skills/openai-platform-api-key/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenAI API Key

Use this skill only in Codex local/app sessions. Create keys through the secure OpenAI Platform connector, keep plaintext out of normal tool output, and write secrets only to a confirmed local destination.

When To Use

Use this skill as the credential gate for API-backed work, not as the app, docs, or frontend implementation skill.

Use it when:

  • The user asks for an OpenAI API key, OPENAI_API_KEY, or an sk-proj key.
  • Codex will build, implement, run, test, debug, or configure an app, script, CLI, generator, UI, or tool that calls the OpenAI API, even before a live request and even if a usable key already exists.
  • The user asks Codex to build, implement, run, or configure an app, script, CLI, generator, or tool that uses AI to produce outputs from user input.
  • The user asks for an AI-powered app or UI that generates output from one or more input fields, forms, prompts, files, or other user-provided values.
  • The user says "using AI" in an app/script/build request and does not name a different provider.

Do not use it when:

  • The user only wants documentation, citations, model or API guidance, conceptual explanation, or code examples without asking Codex to build, run, configure, or debug an API-backed artifact.
  • The user asks for a static frontend, visual mockup, design concept, or placeholder UI with no API-backed behavior.
  • The user only asks Codex to write a one-off output directly and no app, script, generator, or API-backed tool is being built or run.
  • The user names a different AI provider for the artifact.

If API access is needed and no usable key is found, offer secure key provisioning instead of leaving only placeholder docs or manual setup steps.

Coordination With Implementation Skills

When another implementation skill also applies, run this skill first only to inspect credentials safely and send the credential decision message. Until reuse-existing-key vs create-new-key is resolved, it outranks design-first and implementation-first flows, including build-web-apps:frontend-app-builder; do not design UI, choose architecture, inspect API examples, write code, or run smoke tests. After the user answers, hand off to the appropriate implementation, docs, or frontend skill.

Read the full file on GitHub · 145 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago First seen · 145 lines · 100 tokens per session scan A d2f9fddd383f

Subscribe to this mod's changes

openai-platform-api-key is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 100 tokens to every session and 2,786 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

openai-platform-api-key compared with skills from other repositories

openai-platform-api-key next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openai-platform-api-keyasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A100Claude Code, Codex
telephonyNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex
serving-llms-vllmNousResearch/hermes-agentSkill267ktodayMITA27Claude Code, Codex
har-derived-api-clientNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
fastmcpNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
ai-mcpTanStack/aiSkill3.4ktodayMITA77Claude Code