orchardcore-openapi

orchardcore-openapi is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 203 tokens per session (2,521 once invoked), scanned A, original, MIT.

A guide for Orchard Core 4's OpenAPI module, which generates machine-readable API descriptions and browser-based documentation through Swagger UI, ReDoc, and Scalar. OpenAPI is a standard way to describe how an API can be called.

In plain words
What is it for?
Use it to configure OpenAPI generation, documentation interfaces, access permissions, and PKCE sign-in for API testing.
Why use it?
It helps teams document and explore API endpoints while controlling who can view the documentation and schemas. It also covers sign-in for authenticated test requests and the option to allow anonymous schema access.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the orchardcore plugin — 116 skills shipped together

Good fit Use it to configure OpenAPI generation, documentation interfaces, access permissions, and PKCE sign-in for API testing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-openapi
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 CrestApps/CrestApps.AgentSkills --skill orchardcore-openapi
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code.

Or install orchardcore, the plugin that ships this one along with the rest of its 116 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 orchardcore-openapi

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-openapi/github.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-openapi)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-openapi"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-openapi/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 orchardcore-openapi

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-openapi"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-openapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 203 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,521 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.00203 $0.02521
Opus 5.5 $0.00081 $0.01008
Sonnet 5.5 $0.00041 $0.00504
Haiku 4.5 $0.00020 $0.00252

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

Security

Grade A, and why

orchardcore-openapi 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.

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.

plugins/orchardcore/skills/orchardcore-openapi/SKILL.md · 213 lines

How it starts

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

Orchard Core OpenAPI - Prompt Templates

Document and Explore Orchard Core APIs

You are an Orchard Core expert. Generate configuration, recipes, and code for the OrchardCore.OpenApi module, which ships with Orchard Core 4.0.

Guidelines

  • OrchardCore.OpenApi generates the OpenAPI document (Swashbuckle at /swagger/v1/swagger.json, plus the ASP.NET Core /openapi/*.json document) for every enabled API endpoint.
  • The documentation UIs are separate sub-features that each depend on OrchardCore.OpenApi. A disabled UI returns 404.
  • Every documentation URL (/swagger, /redoc, /scalar, /openapi) requires an authenticated user with ViewOpenApiContent. Anonymous users are redirected to the admin login; authenticated users without the permission get 403.
  • The JSON schema endpoints also require ViewOpenApiContent (cookie or Api bearer token) unless Allow anonymous access to the API schema (AllowAnonymousSchemaAccess) is enabled. Unauthenticated schema requests get a 401 with a WWW-Authenticate header and a Problem Details body.
  • ManageOpenApi implies ViewOpenApiContent. Grant only ViewOpenApiContent to roles that should read the docs without changing settings. Both are granted to Administrator by default.
  • Orchard Core APIs authenticate with the Api scheme, which accepts bearer tokens only. Swagger UI and Scalar acquire a token silently (authorization code + PKCE, prompt=none in a hidden iframe) from the tenant's own OpenID server, using the admin cookie session. ReDoc is read-only and needs no token.
  • Run the OpenApiPkce recipe once per tenant to provision that silent sign-in. Client credentials and password grants are intentionally not supported by the browser UIs.
  • Tokens stay in memory, are attached only to same-origin requests whose path contains /api/, and a rejected token triggers one silent re-sign-in and retry.
  • All recipe JSON must be wrapped in the root { "steps": [...] } format.
  • All C# classes must use the sealed modifier, except View Models.

Read the full file on GitHub · 213 lines

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 · 213 lines · 203 tokens per session scan A 13624098236a

Subscribe to this mod's changes

orchardcore-openapi is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (14 stars, last pushed 5d ago), licensed MIT. It adds 203 tokens to every session and 2,521 once invoked, about $0.0008 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-10-21.

Related

orchardcore-openapi compared with skills from other repositories

orchardcore-openapi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orchardcore-openapiCrestApps/CrestApps.AgentSkillsSkill145d agoMITA203Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code