Agent skill · Data & Analytics

bknd-crud-read

Use when querying and retrieving data from Bknd entities via SDK or REST API. Covers readOne, readMany, readOneBy, filtering (where clause), sorting, field selection, loading relations (with/join), and response handling.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill bknd-crud-read-cameronapak-freedom-stack-v3-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 15 KB
Bundled scripts: none
Path: skills/api/bknd-crud-read-cameronapak-freedom-stack-v3-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# CRUD Read Query and retrieve data from your Bknd database using the SDK or REST API. ## Prerequisites - Bknd project running (local or deployed) - Entity exists with data (use `bknd-create-entity`, `bknd-crud-create`) - SDK configured or API endpoint known ## When to Use UI Mode - Browsing data manually - Quick lookups during development - Verifying data after operations **UI steps:** Admin Panel > Data > Select Entity > Browse/search records ## When to Use Code Mode - Application data display - Search/filter functionality - Building lists, tables, detail pages - API integrations ## Code Approach ### Step 1: Set Up SDK Client ```typescript import { Api } from "bknd"; const api = new Api({ host: "http://localhost:7654", }); // If auth required: api.updateToken("your-jwt-token"); ``` ### Step 2: Read Single Record by ID Use `readOne(entity, id, query?)`: ```typescript const { ok, data, error } = await api.data.readOne("posts", 1); if (ok) { console.log("Post:", data.title); } else { console.error("Not found or error:", error.message); } ``` ### Step 3: Read Single Record by Query Use `readOneBy(entity, query)` to find by field value: ```typescript const { data } = await api.data.re

What's inside
Steps it walks through
  1. Prerequisites
  2. When to Use UI Mode
  3. When to Use Code Mode
  4. Code Approach
  5. Step 1: Set Up SDK Client
  6. Step 2: Read Single Record by ID
  7. Step 3: Read Single Record by Query
  8. Step 4: Read Multiple Records
  9. Step 5: Handle Response
  10. Filtering (Where Clause)
  11. Comparison Operators
  12. String Operators
  13. Array Operators
  14. Null Checks
Ships with 1 file
  • metadata.json
Commands it runs
Basic
curl http://localhost:7654/api/data/posts
With query params
curl "http://localhost:7654/api/data/posts?limit=20&offset=0&sort=-created_at"
With where clause
curl "http://localhost:7654/api/data/posts?where=%7B%22status%22%3A%22published%22%7D"
curl http://localhost:7654/api/data/posts/1
curl -X POST http://localhost:7654/api/data/posts/query \
Get user's posts
curl http://localhost:7654/api/data/users/1/posts
More from claude-skill-registry
All skills →
About this skill
What does the bknd-crud-read skill do?

Use when querying and retrieving data from Bknd entities via SDK or REST API. Covers readOne, readMany, readOneBy, filtering (where clause), sorting, field selection, loading relations (with/join), and response handling.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill bknd-crud-read-cameronapak-freedom-stack-v3-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going