orchardcore-content-items

orchardcore-content-items is a skill for Claude Code, Codex from CrestApps/CrestApps.AgentSkills. It costs 194 tokens per session (2,890 once invoked), scanned A, original, MIT.

A guide to managing Orchard Core content items, the structured records that store pages and other site content. It covers creating, updating, publishing, querying, importing, and responding to content changes in code.

In plain words
What is it for?
Use it when building code that creates or edits content, handles drafts and published versions, queries content, imports or exports recipes, or reacts to content events.
Why use it?
It helps developers work with Orchard Core's content system without bypassing its lifecycle, versioning, validation, and database-session rules.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-content-items
Any agent
npx skills add CrestApps/CrestApps.AgentSkills --skill orchardcore-content-items
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

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 orchardcore-content-items

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-content-items.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-content-items)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-content-items"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-content-items.svg" alt="Measured on agentmods" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,890 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00194 $0.02890
Opus 5 $0.00097 $0.01445
Sonnet 5 $0.00039 $0.00578
Haiku 4.5 $0.00019 $0.00289

Measured 2d ago against content hash b7c29d858fd9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

orchardcore-content-items 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 2d 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-content-items/SKILL.md · 370 lines

How it starts

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

Orchard Core Content Items - Prompt Templates

Working with Content Items

You are an Orchard Core expert. Generate code and configuration for managing content items in Orchard Core.

Guidelines

  • Content items are the fundamental data units in Orchard Core, composed of parts and fields.
  • Every content item has a ContentItemId (stable across versions) and a ContentItemVersionId (unique per version).
  • Use IContentManager for all content item CRUD operations; do not manipulate the database directly.
  • ValidateAsync returns a ContentValidateResult and does not cancel the current session. If validation follows a mutation, call ISession.CancelAsync() explicitly when the result fails.
  • RemoveAsync returns false when a removing handler cancels the operation.
  • Content items support draft and published states when the content type is configured as Draftable.
  • Content items support versioning when the content type is configured as Versionable.
  • Always call await ISession.SaveChangesAsync() or let the request pipeline flush changes when modifying content outside of IContentManager.
  • Use IContentHandler to hook into lifecycle events such as creating, publishing, and removing content.
  • Enable OrchardCore.Contents for the content-management UI and API endpoints. Content-management APIs are registered by the application framework and consumed through IContentManager.

Content Item Lifecycle

A content item progresses through the following states:

  1. New - Created in memory with NewAsync, not yet persisted.
  2. Draft - Saved but not published. Only visible to editors.
  3. Published - Live and visible to all users. Sets Published = true and Latest = true.
  4. Unpublished - Previously published, now reverted to draft state.
  5. Removed - Soft-deleted from the system.

When a published content item is edited, a new draft version is created while the published version remains live. Publishing the draft replaces the previous published version.

Read the full file on GitHub · 370 lines

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. 2d ago First seen · 370 lines · 194 tokens per session scan A b7c29d858fd9

Subscribe to this mod's changes

orchardcore-content-items is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed 7d ago), licensed MIT. It adds 194 tokens to every session and 2,890 once invoked, about $0.0010 per session on Opus 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-09-03.

Related

Other skills, from other repositories

prepare-release

Prepare a new release for the C# MCP SDK. Assesses Semantic Versioning level (PATCH/MINOR/MAJOR), bumps the version, runs ApiCompat and ApiDiff, reviews documentation, updates changelogs, drafts release notes, and creates a pull request with all release artifacts. Use when asked to prepare a release, start a release…

modelcontextprotocol/csharp-sdk · 88 tokens

publish-release

Publish a GitHub release for the C# MCP SDK after a prepare-release PR has been merged. Refreshes release notes to include any PRs merged since preparation, warns about version or breaking change impacts from late-arriving PRs, and creates a draft GitHub release. Use when asked to publish a release, finalize a…

modelcontextprotocol/csharp-sdk · 87 tokens

verify-release

Verify a published release of the C# MCP SDK. Monitors the Release and Publish Docs workflows triggered by publishing a GitHub release, confirms the packages are listed on NuGet.org, and confirms the versioned documentation site reflects the release. Use when asked to verify a release, check whether a release…

modelcontextprotocol/csharp-sdk · 87 tokens

bump-version

Assess and bump the SDK version using Semantic Versioning 2.0.0. Evaluates queued changes to recommend PATCH/MINOR/MAJOR, updates src/Directory.Build.props, and creates a pull request. Owns the SemVer assessment logic shared by prepare-release and publish-release. Use when asked to bump the version, assess the…

modelcontextprotocol/csharp-sdk · 84 tokens

breaking-changes

Audit pull requests for breaking changes in the C# MCP SDK. Examines PR descriptions, review comments, and diffs to identify API and behavioral breaking changes, then reconciles labels with user confirmation. Use when asked to audit breaking changes, check for breaking changes, or review a set of PRs for breaking…

modelcontextprotocol/csharp-sdk · 68 tokens

run-conformance-from-branch

Run MCP conformance tests in the C# SDK against a conformance branch (including forks) instead of the published npm version, then restore pinned dependencies.

modelcontextprotocol/csharp-sdk · 38 tokens