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-content-previewgit 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-content-preview)<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="Measured on agentmods" 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.00143 | $0.01436 |
| Opus 5 | $0.00072 | $0.00718 |
| Sonnet 5 | $0.00029 | $0.00287 |
| Haiku 4.5 | $0.00014 | $0.00144 |
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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 158 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.ContentPreviewfeature. Its module dependency isOrchardCore.Contents. - The feature adds a preview button to content editors and requires the standard
PreviewContentpermission. - Attach
PreviewPartonly when a decoupled frontend needs a custom URL that should render the draft. The core preview UI works without it. - Set
PreviewPartSettings.Patternto a Liquid path. The pattern is rendered withModelandContentItem. - Patterns should return a relative path such as
/articles/{{ ContentItem.ContentItemId }}. Do not include a host, scheme, or line breaks. - Preview drafts are stored in distributed cache for five minutes with sliding expiration and are keyed by a preview token.
ContentPreviewFeature.Instanceis placed in the current request features during a preview request. Drivers and handlers can inspect it to change preview-specific behavior.- A configured
PreviewPartcausesPreviewStartupFilterto 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
sealedmodifier, except View Models.
Enabling Content Preview
{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.ContentPreview"
],
"disable": []
}
]
}
Attaching PreviewPart with a Migration
PreviewPart has no persisted fields. Its type-part setting supplies the frontend path pattern.
using OrchardCore.ContentManagement.Metadata;
using OrchardCore.ContentPreview.Models;
using OrchardCore.Data.Migration;
namespace MyModule;
public sealed class Migrations : DataMigration
{
private readonly IContentDefinitionManager _contentDefinitionManager;
public Migrations(IContentDefinitionManager contentDefinitionManager)
{
_contentDefinitionManager = contentDefinitionManager;
}
public async Task<int> CreateAsync()
{
await _contentDefinitionManager.AlterTypeDefinitionAsync("LandingPage", type => type
.Draftable()
.Versionable()
.WithPart("TitlePart")
.WithPart(nameof(PreviewPart), part => part
.WithSettings(new PreviewPartSettings
{
Pattern = "/landing-pages/{{ ContentItem.ContentItemId }}",
})));
return 1;
}
}
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.
- 5d ago First seen · 158 lines · 143 tokens per session scan A 6a098bad4966
orchardcore-content-preview is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed 10d ago), licensed MIT. It adds 143 tokens to every session and 1,436 once invoked, about $0.0007 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.
Other skills, from other repositories
add-permission
Add a permission constant across backend and frontend.
gen-types
Regenerate frontend API types from the backend OpenAPI spec.
frontmcp-development
Use when building any FrontMCP server component other than a tool (for tools, use create-tool). Covers @Resource static resources and parameterized URI templates; @Prompt reusable prompts (RAG, multi-turn); @Provider singleton dependency-injection providers (database pools, API clients); @Agent autonomous LLM agents…
new-feature
Scaffold a full-stack feature from entity to frontend page.
nextjs-framework
Explains how to configure App Router, implement server/client components, optimize data fetching, and secure routes. Use when the user mentions: 'add an authenticated route', 'migrate to App Router', 'optimize fetch caching', or 'fix RSC hydration'.
regenerate-api
Regenerate the AppointMe frontend API client (orval/TanStack Query hooks + TypeScript schemas) after the backend OpenAPI surface changes. Use this whenever backend endpoints, request/response DTOs, or other contract-affecting types are added, removed, or modified — e.g. after editing files under src/AppointMe.Api…