understanding-db-schema
Skill by aiskillstore
Explains Logseq's Datascript database schema to AI assistants, covering attributes, built-in classes, property types and the node model. Written for users who ask about Logseq DB graphs, schema validation or entity relationships.
Install understanding-db-schema
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/marketplace/skills/c0ntr0lledcha0s/understanding-db-schema ~/.claude/skills/understanding-db-schemaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install understanding-db-schema in Claude Code
git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/marketplace/skills/c0ntr0lledcha0s/understanding-db-schema ~/.gemini/antigravity-cli/skills/understanding-db-schemaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install understanding-db-schema in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The understanding-db-schema skill gives an AI assistant reference knowledge of Logseq's DB graph schema, which is built on Datascript. It covers Datascript value and cardinality types, core reference attributes such as :block/tags, :block/refs and :block/parent, and the built-in class hierarchy under :logseq.class/Root. It also explains the property type system, property configuration keys, property namespaces and schema versioning.
The skill describes how Malli validation dispatches on :logseq.property/type and runs transaction checks. It explains the unified node model, where pages and blocks are both nodes and page uniqueness depends on tag combinations. It includes examples for defining a custom class and a typed number property. It is aimed at users who ask about Logseq DB schema, Datascript or the node and block data model.
Written from the project's SKILL.md and checked against it.
What it can do
- Datascript attribute typesExplains value types such as :db.type/ref and :db.type/string, and cardinality settings.
- Built-in class hierarchyDescribes the Logseq built-in classes, from :logseq.class/Root down to Task, Query and Template.
- Property type systemLists property types such as :default, :number, :date, :checkbox and :node with their validators.
- Property configuration keysShows keys like :logseq.property/cardinality, :logseq.property/closed-values and :block/title.
- Property namespacesExplains core, class, table, user and plugin property namespaces and their purpose.
- Schema versioningDescribes the version format and where the graph's current and expected schema versions are stored.
- Malli validation flowOutlines how properties are transformed, dispatched by type and checked in transactions.
- Node modelExplains the unified page and block node concept and how page uniqueness works by tag combination.
- Custom class and property examplesProvides sample definitions for a Book class and a rated number property.
Try asking
- Explain how :block/tags and :block/refs differ in a Logseq DB graph.
- What property types does Logseq support and when should I use each?
- Show me how to define a custom class with schema classes in Logseq DB.
Good to know
- Covers schema knowledge only and does not change or query a graph.
- The full class hierarchy is in a separate reference file that is not included in the source shown.
- The source gives no version compatibility details beyond the schema version examples.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/c0ntr0lledcha0s/understanding-db-schema/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGrepGlobWebFetchWebSearch
Alternatives to understanding-db-schema
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
understanding-db-schema: common questions
What does the understanding-db-schema skill cover?
It covers Logseq's Datascript-based DB schema, including attribute types, built-in classes, property types, namespaces, schema versioning and the node model. The source describes it as authoritative knowledge of the DB graph architecture.
Is this skill for file-based Logseq graphs?
The source frames the skill around DB graphs and the DB version of the node model. It does not say how file-based graphs are handled.
Which tools does the skill allow the assistant to use?
The allowed-tools list in the source names Read, Grep, Glob, WebFetch and WebSearch. The source does not describe how each tool is used in the skill.
How do I install understanding-db-schema?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is understanding-db-schema free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is understanding-db-schema safe to use?
It scores 66 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to understanding-db-schema?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
