Borrowing it
Nothing to install: this file belongs to bayesimpact/bayes-platform. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bayesimpact/bayes-platform/main/.claude/skills/crud-generator/SKILL.mdgit clone --depth 1 https://github.com/bayesimpact/bayes-platformWrote 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/bayesimpact/bayes-platform/crud-generator)<a href="https://agentmods.dev/skills/bayesimpact/bayes-platform/crud-generator"><img src="https://agentmods.dev/badge/skills/bayesimpact/bayes-platform/crud-generator/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/bayesimpact/bayes-platform/crud-generator"><img src="https://agentmods.dev/badge/skills/bayesimpact/bayes-platform/crud-generator.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.00049 | $0.06215 |
| Opus 5 | $0.00024 | $0.03107 |
| Sonnet 5 | $0.00010 | $0.01243 |
| Haiku 4.5 | $0.00005 | $0.00622 |
Grade A, and why
crud-generator scanned grade A with 1 finding 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 2d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- [ ] Register the API implementation in apps/web/src/external/axios.services.ts: How it starts
The opening of the file, as written. The whole thing — 535 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate all CRUD-related files for a new feature based on an existing entity file and a selected list of operations.
Invocation format
The user provides:
- Entity file path — absolute or repo-relative path to the existing
.entity.tsfile (e.g.apps/api/src/domains/widgets/widget.entity.ts) - Methods — a comma- or space-separated list of operations to generate:
Create,GetAll,GetOne,Update,Delete
Example invocations:
/crud-generator apps/api/src/domains/widgets/widget.entity.ts Create GetAll Update Delete
/crud-generator entity=apps/api/src/domains/widgets/widget.entity.ts methods=Create,Update
Parse the entity file path and method list from $ARGUMENTS.
Step 1 — Parse inputs
Extract:
entityFilePath— the provided entity file (e.g.apps/api/src/domains/widgets/widget.entity.ts)methods— the list of requested operations (default to all four if none are given:Create,GetAll,Update,Delete)- Derive names:
featureName= folder name (e.g.widgets)entityName= PascalCase singular (e.g.Widget)entityNamePlural= camelCase plural (e.g.widgets)entityNameKebab= kebab-case singular (e.g.widget)entityNameKebabPlural= kebab-case plural (e.g.widgets)routePrefix= the URL segment (e.g.widgets)featureDir= directory of the entity file (e.g.apps/api/src/domains/widgets/)webFeatureDir=apps/web/src/features/{entityNameKebabPlural}/contractsDir=packages/api-contracts/src/{entityNameKebabPlural}/
Step 2 — Read the entity file and reference examples
Read these files to understand the entity shape and codebase patterns before generating anything:
# Entity to scaffold from (user-provided)
{entityFilePath}
# --- BACKEND reference files (agents module) ---
apps/api/src/domains/agents/agents.controller.ts
apps/api/src/domains/agents/agents.service.ts
apps/api/src/domains/agents/agents.module.ts
apps/api/src/domains/agents/agent.entity.ts
apps/api/src/domains/agents/agent.factory.ts
apps/api/src/domains/agents/agent.guard.ts
apps/api/src/domains/agents/agent.policy.ts
apps/api/src/domains/agents/e2e-tests/create-one.spec.ts
apps/api/src/domains/agents/e2e-tests/auth.spec.ts
# --- API CONTRACTS reference files ---
packages/api-contracts/src/agents/agents.dto.ts
packages/api-contracts/src/agents/agents.routes.ts
packages/api-contracts/src/helpers.ts
# --- FRONTEND reference files (agents feature) ---
apps/web/src/features/agents/agents.models.ts
apps/web/src/features/agents/agents.spi.ts
apps/web/src/features/agents/external/agents.api.ts
apps/web/src/features/agents/agents.thunks.ts
apps/web/src/features/agents/agents.slice.ts
apps/web/src/features/agents/agents.selectors.ts
apps/web/src/features/agents/agents.middleware.ts
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.
- 2d ago First seen · 535 lines · 49 tokens per session scan A d59b0ebe1af4
crud-generator is a skill published in the GitHub repository bayesimpact/bayes-platform (18 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 6,215 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-14.
Other skills, from other repositories
nextjs-app-router
Full end-to-end tRPC setup for Next.js App Router. Covers route handler with fetchRequestHandler (GET + POST exports), TRPCProvider with QueryClientProvider, createTRPCOptionsProxy for RSC prefetching, HydrateClient/HydrationBoundary for hydration, useSuspenseQuery for Suspense, and server-side callers.
nextjs-pages-router
Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.
with-tanstack-query
Compose Angular Query with signal-owned Table filtering, sorting, and pagination state using reactive query options, manual row-model boundaries, direct query data, server counts, and valid injection context.
langbot-dev
Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…
trigger-realtime-and-frontend
Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata and AI/text streams in React (useRealtimeStream), trigger tasks from the browser (useTaskTrigger, useRealtimeTaskTrigger), and mint scoped frontend credentials…
airflow-plugins
Builds Airflow 3.1+ plugins that embed FastAPI apps, custom UI pages, React components, middleware, macros, and operator links directly into the Airflow UI. Use when building anything custom inside Airflow 3.1+ that involves Python and a browser-facing interface - creating an Airflow plugin, adding a custom UI page or…