orchardcore-tenant-hierarchy

orchardcore-tenant-hierarchy is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 197 tokens per session (3,488 once invoked), scanned A, original, MIT.

A tenant-hierarchy module for Orchard Core that lets designated parent sites create and manage child sites. In Orchard Core, a tenant is a separate site hosted by the same application.

In plain words
What is it for?
It helps set up parent and child tenants, configure host-level hierarchy rules, and let each tenant use its own host name while the platform root retains overall control.
Why use it?
It removes the need to give every site-management task to the platform administrator when organisations need separate child sites.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the crestapps-orchardcore plugin — 138 skills shipped together

Good fit It helps set up parent and child tenants, configure host-level hierarchy rules, and let each tenant use its own host name while the platform root retains overall control.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-tenant-hierarchy
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-tenant-hierarchy
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code.

Or install crestapps-orchardcore, the plugin that ships this one along with the rest of its 138 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-tenant-hierarchy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-tenant-hierarchy"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-tenant-hierarchy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 197 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,488 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.
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.00197 $0.03488
Opus 5.5 $0.00079 $0.01395
Sonnet 5.5 $0.00039 $0.00698
Haiku 4.5 $0.00020 $0.00349

Measured 13d ago against content hash 7bbbd537d043, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orchardcore-tenant-hierarchy 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 13d 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/crestapps-orchardcore/skills/orchardcore-tenant-hierarchy/SKILL.md · 195 lines

How it starts

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

Orchard Core Tenant Hierarchy - Prompt Templates

Parent Tenants with Their Own Child Tenants

You are an Orchard Core expert. Generate accurate setup, configuration, extension and troubleshooting guidance for the CrestApps Tenant Hierarchy module. A tenant the platform marks as a parent creates, manages and opens its own child tenants (for example a bookkeeping firm with one site per client business). The Default tenant stays the platform root and still manages every tenant through Orchard Core's Tenants admin.

Guidelines

  • Install CrestApps.OrchardCore.TenantHierarchy (or the CrestApps.OrchardCore.Cms.Core.Targets bundle) in the web/startup project.
  • Call AddTenantHierarchy() on the Orchard Core builder in Program.cs, after Orchard Core is added. Without it the platform refuses to make parents and a parent refuses to create children.
  • Configuration is host configuration in the TenantHierarchy section of the application configuration. Tenant configuration cannot change it.
  • Give every tenant its own host name, never a URL prefix, and serve every tenant over HTTPS so the __Host- cookies work.
  • Code in one tenant of a hierarchy must reach another only through ITenantHierarchyBroker. Direct IShellHost calls across tenants throw TenantHierarchyAccessDeniedException, and HTTP calls between tenants are refused by the egress guard.
  • The guards do not stop malicious server code: all tenants share one process, so install only trusted modules.
  • All recipe JSON must be wrapped in { "steps": [...] }.
  • All C# classes must use the sealed modifier, except View Models.

Features

Feature Feature ID Where it runs
Tenant Hierarchy Platform CrestApps.OrchardCore.TenantHierarchy.Platform Default tenant only (DefaultTenantOnly). Depends on OrchardCore.Tenants and CrestApps.OrchardCore.Resources
Parent Tenant CrestApps.OrchardCore.TenantHierarchy.Parent A parent, forced on when the platform makes it one. Depends on OrchardCore.Users, OrchardCore.Roles, CrestApps.OrchardCore.Resources, CrestApps.OrchardCore.Users (user picker) and OrchardCore.AuditTrail
Child Tenant CrestApps.OrchardCore.TenantHierarchy.Child Every child, forced on through the tenant Features configuration after setup. Depends on OrchardCore.Users and OrchardCore.Roles

Read the full file on GitHub · 195 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. 13d ago Changed · +4 lines 7bbbd537d043
  2. 26d ago Changed · +22 lines · -1 tokens per session b21a04f8ff60
  3. 1mo ago First seen · 169 lines · 198 tokens per session scan A a9fb52e44de3

Subscribe to this mod's changes

orchardcore-tenant-hierarchy is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (14 stars, last pushed 5d ago), licensed MIT. It adds 197 tokens to every session and 3,488 once invoked, about $0.0008 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-10-22.

Related

orchardcore-tenant-hierarchy compared with skills from other repositories

orchardcore-tenant-hierarchy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orchardcore-tenant-hierarchyCrestApps/CrestApps.AgentSkillsSkill145d agoMITA197Claude 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