openai-complete

openai-complete is a skill for Claude Code, Codex from KeyArgo/custodian-kernel. It costs 14 tokens per session (329 once invoked), scanned A, a copy of discord-webhook, MIT.

A utility that sends a text-completion request to the OpenAI API. The OpenAI API lets software ask an AI model to generate a response.

In plain words
What is it for?
Use it to connect an agent or script to OpenAI text generation, once the required environment settings are configured.
Why use it?
It removes the need to write the basic API request code for asking an OpenAI model for text.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to connect an agent or script to OpenAI text generation, once the required environment settings are configured.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keyargo/custodian-kernel/openai-complete
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 KeyArgo/custodian-kernel --skill openai-complete
Clone the repo
git clone --depth 1 https://github.com/KeyArgo/custodian-kernel

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-complete

README.md
[![agentmods](https://agentmods.dev/badge/skills/keyargo/custodian-kernel/openai-complete/github.svg)](https://agentmods.dev/skills/keyargo/custodian-kernel/openai-complete)
Your own site
<a href="https://agentmods.dev/skills/keyargo/custodian-kernel/openai-complete"><img src="https://agentmods.dev/badge/skills/keyargo/custodian-kernel/openai-complete/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-complete

Your own site · 80×15
<a href="https://agentmods.dev/skills/keyargo/custodian-kernel/openai-complete"><img src="https://agentmods.dev/badge/skills/keyargo/custodian-kernel/openai-complete.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 329 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 81% 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.00014 $0.00329
Opus 5.5 $0.00006 $0.00132
Sonnet 5.5 $0.00003 $0.00066
Haiku 4.5 $0.00001 $0.00033

Measured 1mo ago against content hash 35d21fa5e5f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openai-complete 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/execute.py), 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.

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.

Origin

This is a copy

81% identical to discord-webhook — 16 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.

custodian/bundled_skills/nvidia/openai-complete/SKILL.md · 51 lines

What it actually says

Openai Complete

Send a completion request to the OpenAI API

Authority band

This tool runs under L1 authority in the Custodian kernel. Trivial autonomous spend or free side-effect — no human approval required.

Inputs

Parameter Type Required Description
(see execute.py for full schema)

Configuration

Set the required environment variables before use. Until configured, custodian tools run openai-complete returns a stub response indicating which variables are needed.

Usage

custodian tools run openai-complete --param value

Custodian governance

Every call to this tool passes through the Custodian kernel authority check before executing. The kernel verifies the current authority band, checks spending caps where applicable, logs the action to the OCSF audit trail, and escalates to a human operator if the action exceeds the declared band.

Adding this tool to any Hermes agent session requires no code changes — declare custodian-band: L1 in the SKILL.md frontmatter and the kernel wraps it automatically.

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. 1mo ago First seen · 51 lines · 14 tokens per session scan A 35d21fa5e5f3

Subscribe to this mod's changes

openai-complete is a skill published in the GitHub repository KeyArgo/custodian-kernel (120 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 329 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 81% identical to discord-webhook, differing in 16 lines, and is treated as a copy.

Related

Other skills, from other repositories

cordis-plugin-sofagent-inject

A sofagent plugin that loads company constraints through several prompt-building layers when the agent starts.

KongFangXun/sofagent · 70 tokens

implementing-llm-guardrails-for-security

Implements input and output validation guardrails for LLM-powered applications to prevent prompt injection, data leakage, toxic content generation, and hallucinated outputs. Builds a security validation pipeline using NVIDIA NeMo Guardrails Colang definitions, custom Python validators for PII detection and content…

xalgorix/xalgorix · 143 tokens

enterprise-fde-识别AI节点

A template for a company-specific skill that classifies business-process nodes by how suitable they are for AI automation. It uses the process inputs, rules, owner, time, and pain point as evidence.

KongFangXun/sofagent · 55 tokens

dayan-prompt-factory

Compile a vague recurring request into a reusable prompt contract with fixtures and evaluation.

Kosmoray/dayan-agent-skills · 22 tokens

context-optimization

Use when prompt cost is too high, latency is above threshold, or context window limits are being approached. Requires measurement before and after each reduction. Blocks "I shortened the prompt so it should be cheaper" completions.

RBraga01/builder-ai · 48 tokens

prompt-versioning

Use whenever writing or modifying a prompt that will run in production. Enforces version-controlled prompts in prompts/ /v .md. Blocks "the prompt is in the code somewhere" completions.

RBraga01/builder-ai · 47 tokens