genai-services

genai-services is a skill for Claude Code from acedergren/oci-agent-skills. It costs 58 tokens per session (3,334 once invoked), scanned A, original, MIT.

A guide to Oracle Cloud’s generative-AI services, covering model calls, token limits, costs, rate limits, and sensitive data such as health or personal information.

In plain words
What is it for?
Use it when implementing or troubleshooting OCI GenAI inference, estimating costs, managing tokens, handling rate limits, or protecting PHI and PII in prompts.
Why use it?
It helps avoid guessed or outdated cloud commands and reduces mistakes involving API limits, spending, data protection, and response validation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the oci-skills plugin — 13 skills shipped together

Good fit Use it when implementing or troubleshooting OCI GenAI inference, estimating costs, managing tokens, handling rate limits, or protecting PHI and PII in prompts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/acedergren/oci-agent-skills/genai-services
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 acedergren/oci-agent-skills --skill genai-services
Clone the repo
git clone --depth 1 https://github.com/acedergren/oci-agent-skills

Made for: Claude Code.

Or install oci-skills, the plugin that ships this one along with the rest of its 13 skills.

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 genai-services

README.md
[![agentmods](https://agentmods.dev/badge/skills/acedergren/oci-agent-skills/genai-services/github.svg)](https://agentmods.dev/skills/acedergren/oci-agent-skills/genai-services)
Your own site
<a href="https://agentmods.dev/skills/acedergren/oci-agent-skills/genai-services"><img src="https://agentmods.dev/badge/skills/acedergren/oci-agent-skills/genai-services/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 genai-services

Your own site · 80×15
<a href="https://agentmods.dev/skills/acedergren/oci-agent-skills/genai-services"><img src="https://agentmods.dev/badge/skills/acedergren/oci-agent-skills/genai-services.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,334 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.00058 $0.03334
Opus 5.5 $0.00023 $0.01334
Sonnet 5.5 $0.00012 $0.00667
Haiku 4.5 $0.00006 $0.00333

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

Security

Grade A, and why

genai-services 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 2mo 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.

skills/genai-services/SKILL.md · 384 lines

How it starts

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

OCI Generative AI Services - Expert Knowledge

🏗️ Use OCI Landing Zone Terraform Modules

Don't reinvent the wheel. Use oracle-terraform-modules/landing-zone for GenAI infrastructure.

Landing Zone solves:

  • ❌ Bad Practice #1: Generic compartments (Landing Zone creates AI/ML workload compartments)
  • ❌ Bad Practice #4: Poor segmentation (Landing Zone isolates GenAI endpoints in private subnets)
  • ❌ Bad Practice #10: No monitoring (Landing Zone configures GenAI usage alarms)

This skill provides: GenAI cost optimization, rate limits, PHI/PII security, and troubleshooting for GenAI deployed WITHIN a Landing Zone.


⚠️ OCI CLI/API Knowledge Gap

You don't know OCI CLI commands or OCI API structure.

Your training data has limited and outdated knowledge of:

  • OCI CLI syntax and parameters (updates monthly)
  • OCI GenAI API endpoints and request/response formats
  • GenAI service CLI operations (oci generative-ai)
  • Available models, token limits, and pricing (changes frequently)
  • Latest GenAI features (Agents, RAG) and API changes

When OCI operations are needed:

  1. Use exact CLI commands from this skill's references
  2. Do NOT guess OCI CLI syntax or parameters
  3. Do NOT assume model availability or pricing
  4. Load reference files for detailed GenAI API documentation

What you DO know:

  • General LLM concepts and prompting patterns
  • Token estimation and context management
  • API integration patterns

This skill bridges the gap by providing current OCI GenAI-specific patterns and gotchas.


You are an OCI GenAI expert. This skill provides knowledge Claude lacks: cost optimization specifics, token management, rate limit handling, PHI/PII security, response validation, and model selection trade-offs.

NEVER Do This

❌ NEVER send PHI/PII identifiers to GenAI APIs (HIPAA/GDPR violation)

# WRONG - patient identifiers sent to external service
prompt = f"Transcribe note for patient {patient_name}, MRN {mrn}, SSN {ssn}: {note}"

# RIGHT - redact identifiers
prompt = f"Transcribe this medical note: {redacted_note}"
# Keep mapping: temp_id → real_id in secure database, not in prompts

Read the full file on GitHub · 384 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. 2mo ago First seen · 384 lines · 58 tokens per session scan A 70a02920b4aa

Subscribe to this mod's changes

genai-services is a skill published in the GitHub repository acedergren/oci-agent-skills (22 stars, last pushed 6mo ago), licensed MIT. It adds 58 tokens to every session and 3,334 once invoked, about $0.0002 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-08-30.

Related

genai-services compared with skills from other repositories

genai-services next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
genai-servicesacedergren/oci-agent-skillsSkill226mo agoMITA58Claude Code
tensorrt-llmNousResearch/hermes-agentSkill261ktodayMITA18Claude Code, Codex
agent-platform-tuninggoogle/skillsSkill23ktodayApache-2.0A64Claude Code, Codex
google-cloud-solution-guided-gke-ai-migrationgoogle/skillsSkill23ktodayApache-2.0A157Claude Code, Codex
apigee-agent-gateway-governancegoogle/skillsSkill23ktodayApache-2.0A222Claude Code, Codex
gke-inferencegoogle/skillsSkill23ktodayApache-2.0A119Claude Code, Codex
agent-platform-endpoint-managementgoogle/skillsSkill23ktodayApache-2.0A64Claude Code, Codex