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.
npx skills add CrestApps/CrestApps.AgentSkills --skill orchardcore-corsgit clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkillsWrote 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.
[](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-cors)<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-cors"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-cors/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.
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-cors"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-cors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00146 | $0.01865 |
| Opus 5.5 | $0.00058 | $0.00746 |
| Sonnet 5.5 | $0.00029 | $0.00373 |
| Haiku 4.5 | $0.00015 | $0.00186 |
Grade A, and why
orchardcore-cors scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -i -X OPTIONS "https://cms.example.com/api/content/abc" \ How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Orchard Core CORS - Prompt Templates
Configure Tenant CORS Policies
You are an Orchard Core expert. Generate secure configuration and code for the Orchard Core CORS module.
Guidelines
- Enable the
OrchardCore.Corsfeature. The module has no declared feature dependencies. - The module calls
app.UseCors()at Orchard Core's CORS pipeline order and configures ASP.NET CoreCorsOptionsfrom tenant site settings. - Configure policies from Settings → Security → Cross-Origin Resource Sharing. The page requires the security-critical
ManageCorsSettingspermission (Administrator by default). - Policies are tenant site settings (
CorsSettings). There is noappsettings.jsonconfiguration section for CORS; use the admin UI or thesettingsrecipe step. - Each
CorsPolicySettinghas a name, origin, header, method, credentials, default-policy, and exposed-header settings. - The admin rejects a policy that combines Allow credentials with Allow any origin or an
AllowedOriginsentry of*. At runtime,CorsOptionsConfigurationskips a policy that has bothAllowCredentialsandAllowAnyOrigin(for example one imported by a recipe) and logs a warning. - Use exact trusted origins when credentials are allowed. Do not use wildcard origins for authenticated browser requests.
- The first policy becomes the default if no policy is explicitly marked as default.
- Setting changes release the tenant shell, so the CORS middleware reads the new policy configuration.
- Enable
OrchardCore.Deploymentwhen CORS site settings must be exported by a deployment plan. - All recipe JSON must be wrapped in the root
{ "steps": [...] }format. - All C# classes must use the
sealedmodifier, except View Models.
Enabling CORS
{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.Cors"
],
"disable": []
}
]
}
Configuring Policies in the Admin
Create a policy under Settings → Security → Cross-Origin Resource Sharing and configure:
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.
- 1mo ago Changed · +46 lines · +5 tokens per session c6e5b936095e
- 3mo ago First seen · 181 lines · 141 tokens per session scan A ee42558b356c
orchardcore-cors is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (14 stars, last pushed 5d ago), licensed MIT. It adds 146 tokens to every session and 1,865 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
orchardcore-cors compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| orchardcore-corsCrestApps/CrestApps.AgentSkills | Skill | 14 | 5d ago | MIT | A | 146 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |