strapi-cms

strapi-cms is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 45 tokens per session (579 once invoked), scanned A, original, MIT.

Development guidance for Strapi, a content management system that provides REST and GraphQL APIs. It covers content types, custom controllers and services, lifecycle hooks, plugins, and queries.

In plain words
What is it for?
Use it to create content types, customize API controllers and services, add actions when content changes, build plugins, and query REST or GraphQL data.
Why use it?
It helps ensure Strapi code is placed where the system can discover it and keeps business logic in the appropriate parts of the project. It also addresses common query and relation-handling mistakes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create content types, customize API controllers and services, add actions when content changes, build plugins, and query REST or GraphQL data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/strapi-cms
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 monkilabs/opencastle --skill strapi-cms
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

Made for: Claude Code, Codex.

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 strapi-cms

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/strapi-cms/github.svg)](https://agentmods.dev/skills/monkilabs/opencastle/strapi-cms)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/strapi-cms"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/strapi-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.

agentmods 80×15 button for strapi-cms

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/strapi-cms"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/strapi-cms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 579 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.00045 $0.00579
Opus 5.5 $0.00018 $0.00232
Sonnet 5.5 $0.00009 $0.00116
Haiku 4.5 $0.00005 $0.00058

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

Security

Grade A, and why

strapi-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.

src/orchestrator/plugins/strapi/skills/strapi-cms/SKILL.md · 34 lines

How it starts

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

Strapi CMS

Project config, content types, and deployment details: .opencastle/stack/cms-config.md. Docs: https://docs.strapi.io/

File placement is load-bearing

Strapi discovers code by path — a correct file in the wrong place is simply ignored.

  • src/api/<type>/content-types/<type>/schema.json — content type (or use Content-Type Builder, then commit the generated schema)
  • src/api/<type>/controllers/<type>.js — thin wrapper, wraps createCoreController('api::<type>.<type>', ({ strapi }) => ({ ... })); call super.find(ctx) then modify the response
  • src/api/<type>/services/ — all business logic
  • src/api/<type>/content-types/<type>/lifecycles.js — beforeCreate/afterUpdate side effects, mutating event.params.data
  • src/api/<type>/graphql/ — custom resolvers
  • config/env/<env>/ — per-environment config; config/plugins.ts registers plugins

Query gotchas

  • Relations are not returned unless requested. ?populate=author,categories, or ?populate=deep for everything.
  • Filters need an operator: ?filters[status][$eq]=published&filters[views][$gte]=100. Operators include $eq, $contains, $in, $gte.
  • Field selection is indexed: ?fields[0]=title&fields[1]=slug.
  • Pagination: ?pagination[page]=1&pagination[pageSize]=10.
  • New endpoints return 403 until permissions are granted per role in Users & Permissions — this is the most common "my API is broken" cause.
  • GraphQL is opt-in via @strapi/plugin-graphql; it auto-generates types and resolvers from content types with filters/pagination/sort args.
  • Plugins: strapi generate plugin <name> → admin/, server/, content-types/. Keep server logic in server/ so admin code is not bundled into the server build.

Verify

the develop script, confirm the type appears in admin, create a test entry, then assert GET /api/<type>?pagination[page]=1 returns 200 with a data array and GET /api/<type>?populate=* returns the expected relations. Schema errors surface under the build script.

Read the full file on GitHub · 34 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 · -2 lines · -5 tokens per session c89a908e4120
  2. 1mo ago First seen · 36 lines · 50 tokens per session scan A 85e159f39b7d

Subscribe to this mod's changes

strapi-cms is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 45 tokens to every session and 579 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.

Related

strapi-cms compared with skills from other repositories

strapi-cms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
strapi-cmsmonkilabs/opencastleSkill8210d agoMITA45Claude Code, Codex
spring-data-redisrrezartprebreza/spring-boot-skillsSkill37013d agoMITA37Claude Code, Codex
spring-batchrrezartprebreza/spring-boot-skillsSkill37013d agoMITA66Claude Code, Codex
transactional-patternsrrezartprebreza/spring-boot-skillsSkill37013d agoMITA53Claude Code, Codex
oauth2-resource-serverrrezartprebreza/spring-boot-skillsSkill37013d agoMITA47Claude Code, Codex
rest-api-conventionsrrezartprebreza/spring-boot-skillsSkill37013d agoMITA57Claude Code, Codex
hateoasrrezartprebreza/spring-boot-skillsSkill37013d agoMITA44Claude Code, Codex