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 monkilabs/opencastle --skill contentful-cmsgit clone --depth 1 https://github.com/monkilabs/opencastleWrote 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/monkilabs/opencastle/contentful-cms)<a href="https://agentmods.dev/skills/monkilabs/opencastle/contentful-cms"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/contentful-cms/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.
<a href="https://agentmods.dev/skills/monkilabs/opencastle/contentful-cms"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/contentful-cms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00041 | $0.00415 |
| Opus 5.5 | $0.00016 | $0.00166 |
| Sonnet 5.5 | $0.00008 | $0.00083 |
| Haiku 4.5 | $0.00004 | $0.00042 |
Grade A, and why
contentful-cms 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.
What it actually says
Contentful CMS
Project config, content types, and API keys: .opencastle/stack/cms-config.md. Docs: https://www.contentful.com/developers/docs/
Gotchas
- Never migrate
masterdirectly. Create a sandbox environment, migrate there, validate, then promote or re-run againstmasterin a maintenance window. - Rollback is recreate, not undo: delete the sandbox, re-clone from
master, re-run a corrected migration. Reverse migrations only work for additive schema changes. - Links are not resolved by default — REST needs
include(link resolution depth); GraphQL resolves nested selections but each level costs query complexity. - Use
sys.publishedAtas the cache-invalidation key. - Prefer typed content types over JSON fields, and attach
validationsto every required field — Contentful will not enforce shape otherwise. Uniqueness must be declared explicitly:.validations([{ unique: true }]). - Reference fields need an explicit
linkContentTypevalidation or any entry type can be linked:blogPost.createField('author').type('Link').linkType('Entry').validations([{ linkContentType: ['person'] }])
Migration command
contentful space migration --space-id <SPACE_ID> --environment-id sandbox migration.js
Migration scripts export function (migration) { ... } and use createContentType / createField / displayField.
Post-migration validation
- Query a representative sample of affected entries; assert required fields and unique constraints hold (exit non-zero on a miss).
- Build the site against sandbox content to catch render-time failures.
- Run integration tests covering the modified content types.
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.
- 1mo ago Changed · -5 tokens per session f9dd1ccb8161
- 1mo ago First seen · 33 lines · 46 tokens per session scan A d146136eb862
contentful-cms is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 41 tokens to every session and 415 once invoked, about $0.0002 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-04.
contentful-cms compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| contentful-cmsmonkilabs/opencastle | Skill | 82 | 10d ago | MIT | A | 41 | Claude Code, Codex |
| spring-data-redisrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 37 | Claude Code, Codex |
| spring-batchrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 66 | Claude Code, Codex |
| transactional-patternsrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 53 | Claude Code, Codex |
| oauth2-resource-serverrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 47 | Claude Code, Codex |
| rest-api-conventionsrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 57 | Claude Code, Codex |
| hateoasrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 44 | Claude Code, Codex |