orchardcore-content-preview

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

A guide to showing an unpublished Orchard Core draft before it is made public. It covers the preview button, draft-specific URLs, temporary preview storage, and frontend handling.

In plain words
What is it for?
Use it to configure live draft previews, create custom preview paths for decoupled frontends, and adjust code that runs during preview requests.
Why use it?
It lets editors check changes without publishing them or exposing unfinished content to visitors.

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 live draft previews, create custom preview paths for decoupled frontends, and adjust code that runs during preview requests.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-content-preview"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-content-preview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 178 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,267 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00178 $0.02267
Opus 5.5 $0.00071 $0.00907
Sonnet 5.5 $0.00036 $0.00453
Haiku 4.5 $0.00018 $0.00227

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

Security

Grade A, and why

orchardcore-content-preview 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-content-preview/SKILL.md · 233 lines

How it starts

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

Orchard Core Content Preview - Prompt Templates

Preview Unpublished Content

You are an Orchard Core expert. Generate configuration and content definitions for live preview of an editor's in-memory draft without publishing it.

Guidelines

  • Enable the OrchardCore.ContentPreview feature. Its module dependency is OrchardCore.Contents.
  • The feature adds a Preview button (ContentPreview_Button shape, hidden by placement for menu items and dashboard widgets) to content editors. The button uses resource authorization for Preview content (OrchardCore.Contents.CommonPermissions.PreviewContent, including owner and per-type variants); the draft and display endpoints also require it.
  • Live preview (unsaved form values) is different from Preview Draft in the content list, which renders the latest stored version.
  • Attach PreviewPart only when a decoupled frontend needs a custom URL that should render the draft. The core preview UI works without it.
  • Set PreviewPartSettings.Pattern to a Liquid path. The pattern is rendered with Model and ContentItem.
  • Patterns should return a tenant-relative path starting with /, such as {{ ContentItem | display_url }} or /articles/{{ ContentItem.ContentItemId }}. Do not include a host or scheme; line breaks are stripped. External headless frontends cannot be preview targets.
  • Preview drafts are stored in IDistributedCache for five minutes with sliding expiration and are keyed by an opaque preview token (not a credential). In multi-node deployments configure a shared distributed cache (e.g., Redis), or display requests on another node return 404.
  • The editor and preview window talk over a same-origin BroadcastChannel. Updates are debounced for 500 ms, in-flight requests are aborted by newer ones, and the preview swaps between two iframes to keep scroll position.
  • ContentPreviewFeature.Instance (with Previewing == true) is placed in the current request features during a preview request. Drivers and handlers should check it to skip side effects (Orchard Core uses it to skip indexing and media moves).
  • A configured PreviewPart causes PreviewStartupFilter to re-execute the frontend pipeline with the preview path. This lets the real frontend route, theme, and scripts render the draft.
  • 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 · 233 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 · +75 lines · +35 tokens per session dd3a1465036b
  2. 3mo ago First seen · 158 lines · 143 tokens per session scan A 6a098bad4966

Subscribe to this mod's changes

orchardcore-content-preview is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (14 stars, last pushed 5d ago), licensed MIT. It adds 178 tokens to every session and 2,267 once invoked, about $0.0007 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-09-03.

Related

orchardcore-content-preview compared with skills from other repositories

orchardcore-content-preview next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orchardcore-content-previewCrestApps/CrestApps.AgentSkillsSkill145d agoMITA178Claude 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