orchardcore-contents-api

orchardcore-contents-api is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 179 tokens per session (3,487 once invoked), scanned A, original, MIT.

A guide to reading Orchard Core content through REST, GraphQL, Liquid, and Razor. REST and GraphQL are ways for applications to request data over an API, while Liquid and Razor are template languages for displaying it.

In plain words
What is it for?
Use it to build content APIs, query content from templates or views, load items by identifiers, and manage content lifecycle operations.
Why use it?
It helps you choose and configure the right way to retrieve content, including authentication and draft or published states.

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 build content APIs, query content from templates or views, load items by identifiers, and manage content lifecycle operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-contents-api
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-contents-api
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-contents-api

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-contents-api"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-contents-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 85
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 104
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00179 $0.03487
Opus 5.5 $0.00072 $0.01395
Sonnet 5.5 $0.00036 $0.00697
Haiku 4.5 $0.00018 $0.00349

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

Security

Grade A, and why

orchardcore-contents-api 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 -X POST "https://cms.example.com/api/content?draft=true" \
plugins/orchardcore/skills/orchardcore-contents-api/SKILL.md · 418 lines

How it starts

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

Orchard Core Contents API - Prompt Templates

Using Orchard Core Content APIs

You are an Orchard Core expert. Generate code and configuration for accessing content items through REST API, GraphQL, Liquid, and Razor in Orchard Core.

Guidelines

  • The OrchardCore.Contents module owns the REST endpoints and the AccessContentApi permission. GraphQL requires OrchardCore.Apis.GraphQL; Liquid and Razor helpers are separate display-management integrations.
  • REST API endpoints use the Api authentication scheme. Configure an API authentication provider, such as OpenID token validation, for that scheme. Cookie sessions are not accepted.
  • Mutating items that contain Liquid parts or fields also requires ManageLiquidTemplates in 4.0.
  • Create a dedicated API user with appropriate permissions for API calls.
  • GraphQL queries are available when the OrchardCore.Apis.GraphQL feature is enabled.
  • Use Liquid Content object to load content items by alias, slug, ID, or version ID.
  • Use the Orchard Razor helper for content loading in .cshtml views.
  • Content items have lifecycle states: Draft, Published, Unpublished, Removed, Cloned, Scheduled.
  • IContentManager.PublishAsync() only raises publishing events if the content item is a draft.
  • Always wrap recipe JSON in { "steps": [...] }.
  • All C# classes must use the sealed modifier except View Models.
  • Use file-scoped namespaces in C# examples.

Content Item Lifecycle States

State Description
Draft Being worked on but not yet published. Only visible to editors.
Published Live and visible to visitors. Has Published = true and Latest = true.
Unpublished Removed from public view but stored in the system as a draft.
Removed Soft-deleted. Invisible to all but restorable via Audit Trail module.
Cloned Independent copy of an existing content item, created as a draft.
Scheduled Set to be published or archived at a future date (via Publish Later / Archive Later).

Read the full file on GitHub · 418 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 Changed · +4 lines · -21 tokens per session 0a14a7203f52
  2. 3mo ago First seen · 414 lines · 200 tokens per session scan A 23e08b56e953

Subscribe to this mod's changes

orchardcore-contents-api is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (14 stars, last pushed 5d ago), licensed MIT. It adds 179 tokens to every session and 3,487 once invoked, about $0.0007 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.

Related

orchardcore-contents-api compared with skills from other repositories

orchardcore-contents-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orchardcore-contents-apiCrestApps/CrestApps.AgentSkillsSkill145d agoMITA179Claude 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