OC Authentication Helper

OC Authentication Helper is a skill for Claude Code, Codex from wangke19/gemini-ai-helpers. It costs 22 tokens per session (1,886 once invoked), scanned C, a copy of oc-auth, Apache-2.0.

A helper for getting OAuth access tokens from a chosen OpenShift cluster context. OpenShift is a platform for running containerized applications, and a context identifies one configured cluster.

In plain words
What is it for?
Use it to authenticate to a specific OpenShift cluster, verify access, or make authenticated requests for Sippy, CI-triggering, and job-status commands.
Why use it?
It reduces mistakes when several clusters are configured and keeps tokens out of command output and ordinary files. Commands can use the same authentication method instead of handling tokens separately.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Gemini CLI.

Good fit Use it to authenticate to a specific OpenShift cluster, verify access, or make authenticated requests for Sippy, CI-triggering, and job-status commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wangke19/gemini-ai-helpers/oc-auth
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 wangke19/gemini-ai-helpers --skill oc-auth
Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

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 OC Authentication Helper

README.md
[![agentmods](https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/oc-auth/github.svg)](https://agentmods.dev/skills/wangke19/gemini-ai-helpers/oc-auth)
Your own site
<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/oc-auth"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/oc-auth/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 OC Authentication Helper

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/oc-auth"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/oc-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,886 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod 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.00022 $0.01886
Opus 5 $0.00011 $0.00943
Sonnet 5 $0.00004 $0.00377
Haiku 4.5 $0.00002 $0.00189

Measured 9d ago against content hash 1f7cdab18072, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

OC Authentication Helper scanned grade C with 2 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (curl_with_token.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

The `oc` CLI maintains multiple cluster contexts in `~/.kube/config`. When a user runs `oc login` to different clusters, each login creates a separate context. This skill:

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The skill provides a single `curl_with_token.sh` script that wraps curl and automatically handles OAuth token retrieval and injection, preventing accidental token exposure.
Origin

This is a copy

95% identical to oc-auth — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

extensions/ci/skills/oc-auth/SKILL.md · 208 lines

How it starts

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

OC Authentication Helper

This skill provides a centralized way to retrieve OAuth tokens from specific OpenShift clusters when multiple cluster contexts are configured in the user's kubeconfig.

When to Use This Skill

Use this skill whenever you need to:

  • Get an OAuth token for API authentication from a specific OpenShift cluster
  • Verify authentication to a specific cluster
  • Work with multiple OpenShift cluster contexts simultaneously

This skill is used by all commands that need to authenticate with OpenShift clusters:

  • ask-sippy command (DPCR cluster)
  • trigger-periodic, trigger-postsubmit, trigger-presubmit commands (app.ci cluster)
  • query-job-status command (app.ci cluster)

The skill provides a single curl_with_token.sh script that wraps curl and automatically handles OAuth token retrieval and injection, preventing accidental token exposure.

Due to a known Gemini CLI bug with git-installed marketplace plugins:

When referencing files from this skill (scripts, configuration files, etc.), you MUST:

  1. Always use the "Base directory" path provided at the top of this skill prompt
  2. Never assume skills are located in ~/.claude/plugins/
  3. Construct full absolute paths by combining the base directory with the relative file path

Example:

  • ❌ WRONG: ~/.claude/extensions/ci/skills/oc-auth/curl_with_token.sh
  • ✅ CORRECT: Use the base directory shown above + /curl_with_token.sh

If you see "no such file or directory" errors, verify you're using the base directory path, not the assumed marketplace cache location.

Prerequisites

  1. oc CLI Installation

  2. User Authentication

    • User must be logged in to the target cluster via browser-based authentication
    • Each oc login creates a new context in the kubeconfig

Read the full file on GitHub · 208 lines

Files

What ships with it

2 files 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. 9d ago First seen · 208 lines · 22 tokens per session scan C 1f7cdab18072

Subscribe to this mod's changes

OC Authentication Helper is a skill published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,886 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). It is 95% identical to oc-auth, differing in 6 lines, and is treated as a copy.

Related

Other skills, from other repositories

dokploy-deploy

This skill should be used when user asks to "deploy with Dokploy", "use Dokploy Cloud", "manage self-hosted Dokploy", "deploy Docker Compose on Dokploy", "manage Dokploy databases", "configure Dokploy domains", or "look up Dokploy CLI commands".

fcakyon/claude-codex-settings · 63 tokens

azure-usage

This skill should be used when user asks to "query Azure resources", "list storage accounts", "manage Key Vault secrets", "work with Cosmos DB", "check AKS clusters", "use Azure MCP", or interact with any Azure service.

fcakyon/claude-codex-settings · 53 tokens

setup

This skill should be used when user encounters "Azure MCP error", "Azure authentication failed", "az login required", "Azure CLI not found", or needs help configuring Azure MCP integration.

fcakyon/claude-codex-settings · 39 tokens

lov-deploy-to-vercel

A deployment workflow for publishing Vite, Next.js, Create React App, or static frontend projects on Vercel, a hosting service for web applications. It can also connect a custom domain and configure Cloudflare DNS records.

lovstudio/skills · 92 tokens

google-cloud-storage-diagnostic

Troubleshoots and diagnoses Google Cloud Storage (GCS) errors, permission denials, and access control issues. Use when a user encounters a 403 Permission Denied error on a Google Cloud bucket or object, or needs help diagnosing and resolving GCS IAM bindings, ACLs, UBLA, or service agent configurations.

gemini-cli-extensions/google-cloud-storage · 72 tokens

lov-domain-cutover

A workflow for putting a mainland-China website online after its ICP filing is approved. It verifies the deployment, DNS, HTTPS certificate, domain response, ICP footer, and handling of the old domain.

lovstudio/skills · 63 tokens