strapi-core

strapi-core is a skill for Claude Code from t-code4change/claude-strapi-skills. It costs 108 tokens per session (8,877 once invoked), scanned A, original, MIT.

A skill for building production Strapi v5 backends, where Strapi is a content-management system for website and app data. It includes patterns for content types, components, relationships, translations, SEO, storage, databases, lifecycle code, permissions, and deployment.

In plain words
What is it for?
Creating Strapi content models, dynamic zones, localized fields, SEO settings, R2 or S3 storage, PostgreSQL or SQLite databases, lifecycle hooks, permissions, and Docker with Traefik.
Why use it?
It provides project structure and configuration examples for setting up and maintaining a Strapi backend across several infrastructure services.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./public/uploads:/opt/app/public/uploads.

Good fit Creating Strapi content models, dynamic zones, localized fields, SEO settings, R2 or S3 storage, PostgreSQL or SQLite databases, lifecycle hooks, permissions, and Docker with Traefik.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/t-code4change/claude-strapi-skills
agentmods
npx agentmods add skills/t-code4change/claude-strapi-skills/strapi-core

Made for: Claude Code.

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-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/t-code4change/claude-strapi-skills/strapi-core.svg)](https://agentmods.dev/skills/t-code4change/claude-strapi-skills/strapi-core)
Your own site
<a href="https://agentmods.dev/skills/t-code4change/claude-strapi-skills/strapi-core"><img src="https://agentmods.dev/badge/skills/t-code4change/claude-strapi-skills/strapi-core.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,877 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.00108 $0.08877
Opus 5 $0.00054 $0.04438
Sonnet 5 $0.00022 $0.01775
Haiku 4.5 $0.00011 $0.00888

Measured 7d ago against content hash aab305976b87, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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

strapi-core/SKILL.md · 1,365 lines

How it starts

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

Strapi v5 — Production Backend

Built from a real production Strapi v5 codebase. All patterns are battle-tested. Stack: Strapi 5.x · TypeScript · PostgreSQL 16 · Cloudflare R2 · Docker + Traefik


1. Project Setup

package.json — Core dependencies

{
  "dependencies": {
    "@strapi/strapi": "5.x.x",
    "@strapi/plugin-users-permissions": "5.x.x",
    "@strapi/plugin-documentation": "^5.x.x",
    "@strapi/provider-email-nodemailer": "^5.x.x",
    "strapi-provider-cloudflare-r2": "^0.3.0",
    "pg": "8.8.0",
    "better-sqlite3": "^12.x.x"
  },
  "devDependencies": {
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "typescript": "^5"
  },
  "engines": {
    "node": ">=20.0.0 <=24.x.x",
    "npm": ">=6.0.0"
  }
}

tsconfig.json

{
  "compilerOptions": {
    "module": "CommonJS",
    "moduleResolution": "Node",
    "lib": ["ES2020"],
    "target": "ES2019",
    "strict": false,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true,
    "incremental": true,
    "esModuleInterop": true,
    "resolveJsonModule": true,
    "noEmitOnError": true,
    "noImplicitThis": true,
    "outDir": "dist",
    "rootDir": "."
  },
  "include": ["./", "./**/*.ts", "./**/*.js", "src/**/*.json"],
  "exclude": ["node_modules/", "build/", "dist/", ".cache/", ".tmp/", "src/admin/", "**/*.test.*"]
}

2. Config Files

config/server.ts

export default ({ env }) => {
  const host = env('HOST', '0.0.0.0');
  const port = env.int('PORT', 1337);
  return {
    host,
    port,
    url: env('PUBLIC_URL', `http://localhost:${port}`),
    app: {
      keys: env.array('APP_KEYS'),
    },
  };
};

config/database.ts — PostgreSQL + SQLite fallback

import path from 'path';

export default ({ env }) => {
  const client = env('DATABASE_CLIENT', 'sqlite');

  const connections = {
    postgres: {
      connection: {
        connectionString: env('DATABASE_URL'),
        host: env('DATABASE_HOST', 'localhost'),
        port: env.int('DATABASE_PORT', 5432),
        database: env('DATABASE_NAME', 'strapi'),
        user: env('DATABASE_USERNAME', 'strapi'),
        password: env('DATABASE_PASSWORD', 'strapi'),
        ssl: env.bool('DATABASE_SSL', false) && {
          rejectUnauthorized: env.bool('DATABASE_SSL_REJECT_UNAUTHORIZED', true),
        },
        schema: env('DATABASE_SCHEMA', 'public'),
      },
      pool: {
        min: env.int('DATABASE_POOL_MIN', 2),
        max: env.int('DATABASE_POOL_MAX', 10),
      },
    },
    sqlite: {
      connection: {
        filename: path.join(__dirname, '..', '..', env('DATABASE_FILENAME', '.tmp/data.db')),
      },
      useNullAsDefault: true,
    },
  };

  return {
    connection: {
      client,
      ...connections[client],
      acquireConnectionTimeout: env.int('DATABASE_CONNECTION_TIMEOUT', 30000),
    },
  };
};

Read the full file on GitHub · 1,365 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. 7d ago First seen · 1,365 lines · 108 tokens per session scan A aab305976b87

Subscribe to this mod's changes

strapi-core is a skill published in the GitHub repository t-code4change/claude-strapi-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 108 tokens to every session and 8,877 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

convex-explain-app

Explain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the schema and function surface. Read-only.

openclaw/clawhub · 47 tokens

platform-custom-field-generate

Use this skill when users need to create, generate, or validate Salesforce Custom Field metadata. Trigger when users mention custom fields, field types, Roll-up Summary fields, Master-Detail relationships, Lookup relationships, formula fields, picklists, dependent (controlling) picklists, referencing a value set from…

forcedotcom/sf-skills · 194 tokens

openloomi-api

OpenLoomi ships a local-first HTTP API served from the desktop app (port 3414, fallback 3515). All auth, Memory, AI, RAG, Loop, and Audit data live in a local SQLite database — your data stays on your machine and the OpenLoomi app is the source of truth. The only externally-routed auth path is the Composio OAuth…

melandlabs/openloomi · 106 tokens

nornicdb-grpc

Drive NornicDB over gRPC — the Qdrant-compatible surface (Collections, Points, Snapshots) plus the additive NornicSearch service. Use when ingesting via Qdrant SDKs, migrating from Qdrant, or running hybrid text+vector search from a non-Bolt client. Covers connection, RPC catalog, collection→database mapping…

orneryd/NornicDB · 98 tokens

field-service-sobject-create-configure

Headless 360 REST API deployment step for creating sObject records. Handles describe-based field discovery, required-field derivation, entity-relationship ordering, and composite graph transactions. Use this skill when a designer skill (or a user directly) needs to create sObject records after design confirmation…

forcedotcom/sf-skills · 74 tokens