optimizely-content-modeling

optimizely-content-modeling is an agent for Claude Code from smithdak/claude-marketplace. It costs 21 tokens per session (1,685 once invoked), scanned A, original, MIT.

A code-review agent for Optimizely CMS content models, including pages, blocks, media, and their fields. Optimizely is a system for managing website content.

In plain words
What is it for?
Use it to inspect C# content-type definitions, inheritance patterns, and property configurations in an Optimizely project.
Why use it?
It helps find missing identifiers, weak inheritance choices, and other content-model problems that can make content harder to reuse, save, or synchronize.

Agent for Claude Code

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

Part of the optimizely plugin — 5 skills, 4 commands, 10 agents shipped together

Good fit Use it to inspect C# content-type definitions, inheritance patterns, and property configurations…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/smithdak/claude-marketplace/content-modeling
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.

Clone the repo
git clone --depth 1 https://github.com/smithdak/claude-marketplace

Made for: Claude Code.

Or install optimizely, the plugin that ships this one along with the rest of its 5 skills, 4 commands, 10 agents.

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 optimizely-content-modeling

README.md
[![agentmods](https://agentmods.dev/badge/agents/smithdak/claude-marketplace/content-modeling.svg)](https://agentmods.dev/agents/smithdak/claude-marketplace/content-modeling)
Your own site
<a href="https://agentmods.dev/agents/smithdak/claude-marketplace/content-modeling"><img src="https://agentmods.dev/badge/agents/smithdak/claude-marketplace/content-modeling.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,685 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.00021 $0.01685
Opus 5 $0.00010 $0.00843
Sonnet 5 $0.00004 $0.00337
Haiku 4.5 $0.00002 $0.00169

Measured 6d ago against content hash 365d5e0c48e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

optimizely-content-modeling 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 6d 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/optimizely-cms-analyzer/agents/content-modeling.md · 276 lines

How it starts

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

Optimizely Content Modeling Agent

Analyze content type definitions, inheritance patterns, and property configurations.

Analysis Areas

1. Content Type GUID Requirements

CM-001: Content Type Without GUID (Critical)

All content types MUST have a GUID for serialization and synchronization:

Glob: **/Models/Pages/**/*.cs
Glob: **/Models/Blocks/**/*.cs
Glob: **/Models/Media/**/*.cs
Grep: \[ContentType\(

Bad Pattern (Missing GUID):

[ContentType(DisplayName = "Article Page")]
public class ArticlePage : PageData { }

Good Pattern (With GUID):

[ContentType(
    GUID = "f8d47a38-5b23-4c8e-9f12-3a7e8b9c2d1f",
    DisplayName = "Article Page",
    Description = "Standard article content",
    GroupName = "Content")]
public class ArticlePage : PageData { }

2. Block Inheritance Patterns

CM-002: Block Without Interface Inheritance (Warning)

Blocks should implement interfaces for flexibility:

// Bad: No interface
public class HeroBlock : BlockData
{
    public virtual string Heading { get; set; }
}

// Good: With interface
public interface IHeroBlock
{
    string Heading { get; }
    ContentReference Image { get; }
}

[ContentType(GUID = "...")]
public class HeroBlock : BlockData, IHeroBlock
{
    public virtual string Heading { get; set; }
    public virtual ContentReference Image { get; set; }
}

3. Content Area Configuration

CM-003: Unbounded Content Area (Warning)

Content areas should have restrictions to guide editors:

// Bad: Unrestricted
[Display(Name = "Main content")]
public virtual ContentArea MainContent { get; set; }

// Good: With restrictions
[Display(Name = "Main content")]
[AllowedTypes(typeof(TextBlock), typeof(ImageBlock), typeof(VideoBlock))]
public virtual ContentArea MainContent { get; set; }

// Good: With item count limits
[Display(Name = "Featured items")]
[AllowedTypes(typeof(ProductBlock))]
[MaxItems(6)]
public virtual ContentArea FeaturedItems { get; set; }

Read the full file on GitHub · 276 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. 6d ago First seen · 276 lines · 21 tokens per session scan A 365d5e0c48e8

Subscribe to this mod's changes

optimizely-content-modeling is an agent published in the GitHub repository smithdak/claude-marketplace (3 stars, last pushed 7mo ago), licensed MIT. It adds 21 tokens to every session and 1,685 once invoked, about $0.0001 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-08-31.