Agent skill

Understanding DB Schema

by aiskillstore in aiskillstore/marketplace

Deep expertise in Logseq's Datascript database schema. An agent skill from aiskillstore/marketplace.

No licenceAuto-check passedDatabases

Install Understanding DB Schema

skills CLI
$ npx skills add aiskillstore/marketplace --skill understanding-db-schema -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace understanding-db-schema --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/c0ntr0lledcha0s/understanding-db-schema .claude/skills/understanding-db-schema && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
understanding-db-schema
GitHub stars
430
Token cost
~1.5k tokens
SKILL.md length
300 words
Files
5 (incl. references, assets)
Skills in repo
1,044
Repo updated
First seen
Licence
None found

At a glance

Deep expertise in Logseq's Datascript database schema. An agent skill from aiskillstore/marketplace.

  • Works in 5 steps: Entity transformation: Properties →… → Schema dispatch: Validation dispatches… → Value validation: Individual values… → …
  • Tasks that involve Database schema design
  • SKILL.md covers When to Use This Skill, Datascript Foundation, Built-in Classes Hierarchy and Property Type System, plus 7 more sections
  • Calls node

What it does

Understanding DB Schema is an agent skill from aiskillstore/marketplace. Deep expertise in Logseq's Datascript database schema. Auto-invokes when users ask about Logseq DB schema, Datascript attributes, built-in classes, property types, entity relationships, schema validation, or the node/block/page data model. Provides authoritative knowledge of the DB graph architecture.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files and assets (for example `references/built-in-classes.md` and `skill-report.json`).

It sits in Databases, covering Database schema design, Diagrams and Forms and validation. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Tasks that involve Database schema design
  • Tasks that involve Diagrams
  • Tasks that involve Forms and validation

Example prompts

  • “/understanding-db-schema”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, WebFetch, WebSearch

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Entity transformation: Properties → [property-map value] tuples
  2. Schema dispatch: Validation dispatches on :logseq.property/type
  3. Value validation: Individual values checked against type schemas
  4. Cardinality handling: Automatic :many vs :one handling
  5. Transaction validation: validate-tx-report ensures integrity

What it can do on your machine

Read from SKILL.md and the folder at commit 755bc35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • WebFetch
    • WebSearch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • deepwiki.com
    • discuss.logseq.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Understanding DB Schema loads about 1.5k tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 300 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 300 words (~1,513 tokens).

name
understanding-db-schema
allowed-tools
Read, Grep, Glob, WebFetch, WebSearch
version
1.0.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references, assets) in skills/c0ntr0lledcha0s/understanding-db-schema of aiskillstore/marketplace.

  • SKILL.md
  • assets/class-template.edn
  • assets/property-template.edn
  • references/built-in-classes.md
  • skill-report.json

Open the folder on GitHubat commit 755bc35

Compare with similar skills

Understanding DB Schema next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Understanding DB Schema compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Understanding DB Schema this skillaiskillstore/marketplace430—~1.5kAutomated safety check: PassNone
Datamodellmnimbalyst/nimbalyst1.9k—~713Automated safety check: PassMIT
Entity ModelAI-Unified-Process/marketplace142—~1.9kAutomated safety check: PassApache-2.0
Data ModelingProrise-cool/Claude-Code-Multi-Agent305—~3.2kAutomated safety check: PassNone
Database Schema Designmohitagw15856/pm-claude-skills1.4k—~3.9kAutomated safety check: PassMIT
Drizzle Erdhiroppy/mf-dashboard418—~627Automated safety check: PassMIT

Similar skills

  • Datamodellm

    nimbalyst/nimbalyst

    Create visual data models for database schemas using Nimbalyst's DataModelLM editor.

    1.9k GitHub stars~713 tokensUpdated today
    DatabasesAuto-check passed
  • Entity Model

    AI-Unified-Process/marketplace

    Creates entity model documents with Mermaid.js ER diagrams and attribute tables defining entities, relationships, data types, and validation rules.

    142 GitHub stars~1.9k tokensUpdated 4 days ago
    DatabasesAuto-check passed
  • Data Modeling

    Prorise-cool/Claude-Code-Multi-Agent

    Data modeling with Entity-Relationship Diagrams (ERDs), data dictionaries, and conceptual/logical/physical models.

    305 GitHub stars~3.2k tokensUpdated 23 days ago
    DatabasesAuto-check passed
  • Database Schema Design

    mohitagw15856/pm-claude-skills

    Document or design a database schema with entity relationships, table definitions, constraints, indexes, and access patterns.

    1.4k GitHub stars~3.9k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Drizzle Erd

    hiroppy/mf-dashboard

    A skill your agent uses when needing to visualize database schema, generate ERD diagrams from Drizzle ORM schemas, or understand table relationships

    418 GitHub stars~627 tokensUpdated today
    DatabasesAuto-check passed
  • Erd Studio Setup

    liam-machine/erd-studio

    Friendly, step-by-step setup for ERD Studio in an existing dbt project, for people who may be new to dbt or data modelling.

    165 GitHub stars~8.5k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Questions about Understanding DB Schema

What does Understanding DB Schema do?

Deep expertise in Logseq's Datascript database schema. An agent skill from aiskillstore/marketplace. Understanding DB Schema is an agent skill from aiskillstore/marketplace. Deep expertise in Logseq's Datascript database schema.

When should I use Understanding DB Schema?

Understanding DB Schema fits situations like: tasks that involve Database schema design; tasks that involve Diagrams; tasks that involve Forms and validation.

How do I install Understanding DB Schema in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill understanding-db-schema -a claude-code`. Or copy the skill folder (skills/c0ntr0lledcha0s/understanding-db-schema in aiskillstore/marketplace) into .claude/skills/understanding-db-schema in your project. Claude Code loads it when a task matches its description.

How do I install Understanding DB Schema in Codex?

Run `npx skills add aiskillstore/marketplace --skill understanding-db-schema -a codex`. Or copy the skill folder (skills/c0ntr0lledcha0s/understanding-db-schema in aiskillstore/marketplace) into .agents/skills/understanding-db-schema in your project. Codex loads it when a task matches its description.

Can I use Understanding DB Schema in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill understanding-db-schema -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/understanding-db-schema, .gemini/skills/understanding-db-schema, .github/skills/understanding-db-schema and .opencode/skills/understanding-db-schema in your project.

What does Understanding DB Schema need to run?

Going by SKILL.md and its folder, Understanding DB Schema needs the command-line tools its instructions call (node). Its frontmatter pre-approves these tools: Read, Grep, Glob, WebFetch, WebSearch.

Does Understanding DB Schema access the network?

SKILL.md names 3 domains. As links in the text: github.com, deepwiki.com and discuss.logseq.com. This is read from the text; nothing was executed.

Is Understanding DB Schema safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Understanding DB Schema use?

No licence was found for Understanding DB Schema or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Understanding DB Schema use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 732 tokens, read only when the agent opens those files.

What are the alternatives to Understanding DB Schema?

Skills that share tags, products or a category with Understanding DB Schema: Datamodellm (nimbalyst/nimbalyst, 1.9k stars), Entity Model (AI-Unified-Process/marketplace, 142 stars), Data Modeling (Prorise-cool/Claude-Code-Multi-Agent, 305 stars) and Database Schema Design (mohitagw15856/pm-claude-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Understanding DB Schema?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 9, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.