Agent skill

Querying Logseq Data

by aiskillstore in aiskillstore/marketplace

Expert in building Datalog queries for Logseq DB graphs. An agent skill from aiskillstore/marketplace.

No licenceAuto-check passedKnowledge Management

Install Querying Logseq Data

skills CLI
$ npx skills add aiskillstore/marketplace --skill querying-logseq-data -a claude-code

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

GitHub CLI
$ gh skill install aiskillstore/marketplace querying-logseq-data --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/querying-logseq-data .claude/skills/querying-logseq-data && 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
querying-logseq-data
GitHub stars
430
Token cost
~1.9k tokens
SKILL.md length
258 words
Files
3 (incl. references)
Skills in repo
1,085
Repo updated
First seen
Licence
None found

At a glance

Expert in building Datalog queries for Logseq DB graphs. An agent skill from aiskillstore/marketplace.

  • Works in 5 steps: Put most selective clauses first -… → Use indexed attributes - :db/ident,… → Avoid wildcards in pull - Specify needed… → …
  • Tasks that involve Query optimization
  • SKILL.md covers When to Use This Skill, Datalog Query Fundamentals, Common Query Patterns and Advanced Query Techniques, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Querying Logseq Data is an agent skill from aiskillstore/marketplace. Expert in building Datalog queries for Logseq DB graphs. Auto-invokes when users need help writing Logseq queries, understanding Datalog syntax, optimizing query performance, or working with the Datascript query engine. Covers advanced query patterns, pull syntax, aggregations, and DB-specific query techniques.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/query-patterns.md` and `skill-report.json`).

It sits in Knowledge Management, covering Query optimization. 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 Query optimization

Example prompts

  • “/querying-logseq-data”

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. Put most selective clauses first - Narrow down results early
  2. Use indexed attributes - :db/ident, :block/uuid are indexed
  3. Avoid wildcards in pull - Specify needed attributes
  4. Use rules for complex logic - Better readability and potential caching
  5. Limit results when possible - Add limits for large datasets

What it can do on your machine

Read from SKILL.md and the folder at commit 4ac52da. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are clojure).

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

  • Network

    No URLs in SKILL.md.

    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

Querying Logseq Data loads about 1.9k tokens when it runs, and up to ~2.7k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 258 words of instructions outside code blocks.

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

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 258 words (~1,890 tokens).

name
querying-logseq-data
allowed-tools
Read, Grep, Glob, WebFetch, WebSearch
version
1.0.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in skills/c0ntr0lledcha0s/querying-logseq-data of aiskillstore/marketplace.

  • SKILL.md
  • references/query-patterns.md
  • skill-report.json

Open the folder on GitHubat commit 4ac52da

Compare with similar skills

Querying Logseq Data 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.

Querying Logseq Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Querying Logseq Data this skillaiskillstore/marketplace430—~1.9kAutomated safety check: PassNone
Logseq Review Workflow Evallogseq/logseq45k—~1kAutomated safety check: PassAGPL-3.0
Baoyu URL To Markdownsdyckjq-lab/llm-wiki-skill2.5k2 repos~3.2kAutomated safety check: PassNone
Obsidian CLIAtmosphere/atmosphere3.8k13 repos~795Automated safety check: PassApache-2.0
Esm Cjs Risk Scanlogseq/logseq45k—~3.3kAutomated safety check: PassAGPL-3.0
Karpathy LLM WikiAstro-Han/karpathy-llm-wiki2.4k—~3.6kAutomated safety check: PassMIT

Similar skills

  • Compare two revisions of the Logseq logseq-review-workflow skill by running the same review prompt against isolated before and after skill snapshots, collecting both outputs, and producing a…

    45k GitHub stars~1k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Baoyu URL To Markdown

    sdyckjq-lab/llm-wiki-skill

    Fetch any URL and convert to markdown using Chrome CDP. An agent skill from sdyckjq-lab/llm-wiki-skill.

    2.5k GitHub starsUsed in 2 repos~3.2k tokens
    Knowledge ManagementAuto-check passed
  • Obsidian CLI

    Atmosphere/atmosphere

    Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.

    3.8k GitHub starsUsed in 13 repos~795 tokens
    Knowledge ManagementAuto-check passed
  • Esm Cjs Risk Scan

    logseq/logseq

    Scan Logseq ClojureScript Node/Electron targets for npm module loading risks, especially ESM-only packages that may fail when loaded through js/require or shadow-cljs require-based shims.

    45k GitHub stars~3.3k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Karpathy LLM Wiki

    Astro-Han/karpathy-llm-wiki

    A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.

    2.4k GitHub stars~3.6k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed
  • Zlibrary To Notebooklm

    zstmfhy/zlibrary-to-notebooklm

    自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。

    1.7k GitHub starsUsed in 1 repo~968 tokens
    Knowledge ManagementAuto-check passed

More from aiskillstore/marketplace

All 1,085 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 2 repos~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
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Questions about Querying Logseq Data

What does Querying Logseq Data do?

Expert in building Datalog queries for Logseq DB graphs. An agent skill from aiskillstore/marketplace. Querying Logseq Data is an agent skill from aiskillstore/marketplace. Expert in building Datalog queries for Logseq DB graphs.

When should I use Querying Logseq Data?

Querying Logseq Data fits situations like: tasks that involve Query optimization.

How do I install Querying Logseq Data in Claude Code?

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

How do I install Querying Logseq Data in Codex?

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

Can I use Querying Logseq Data 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 querying-logseq-data -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/querying-logseq-data, .gemini/skills/querying-logseq-data, .github/skills/querying-logseq-data and .opencode/skills/querying-logseq-data in your project.

What does Querying Logseq Data need to run?

SKILL.md names no scripts, command-line tools or credentials: Querying Logseq Data is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob, WebFetch, WebSearch.

Does Querying Logseq Data access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Querying Logseq Data 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 Querying Logseq Data use?

No licence was found for Querying Logseq Data or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Querying Logseq Data use?

About 1.9k tokens (SKILL.md is roughly 7.6k 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 772 tokens, read only when the agent opens those files.

What are the alternatives to Querying Logseq Data?

Skills that share tags, products or a category with Querying Logseq Data: Logseq Review Workflow Eval (logseq/logseq, 45k stars), Baoyu URL To Markdown (sdyckjq-lab/llm-wiki-skill, 2.5k stars), Obsidian CLI (Atmosphere/atmosphere, 3.8k stars) and Esm Cjs Risk Scan (logseq/logseq, 45k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Querying Logseq Data?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,085 skills in this directory. The repository was last updated on October 7, 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.