orcanote-query

orcanote-query is a skill for Claude Code, Codex from sethyuan/orcanote-agent-skills. It costs 19 tokens per session (1,354 once invoked), scanned A, original, MIT.

A guide for searching and filtering blocks in Orca Note, a note-taking system that stores content as blocks. It explains how to combine conditions, sort results, and paginate through them.

In plain words
What is it for?
Use it to build advanced searches, filter blocks by properties or hierarchy, and retrieve results in pages.
Why use it?
It removes the need to work out the query format when looking for specific blocks or content in a repository.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build advanced searches, filter blocks by properties or hierarchy, and retrieve results in pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sethyuan/orcanote-agent-skills/orcanote-query
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sethyuan/orcanote-agent-skills --skill orcanote-query
Clone the repo
git clone --depth 1 https://github.com/sethyuan/orcanote-agent-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for orcanote-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/sethyuan/orcanote-agent-skills/orcanote-query/github.svg)](https://agentmods.dev/skills/sethyuan/orcanote-agent-skills/orcanote-query)
Your own site
<a href="https://agentmods.dev/skills/sethyuan/orcanote-agent-skills/orcanote-query"><img src="https://agentmods.dev/badge/skills/sethyuan/orcanote-agent-skills/orcanote-query/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.

agentmods 80×15 button for orcanote-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/sethyuan/orcanote-agent-skills/orcanote-query"><img src="https://agentmods.dev/badge/skills/sethyuan/orcanote-agent-skills/orcanote-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.01354
Opus 5.5 $0.00008 $0.00542
Sonnet 5.5 $0.00004 $0.00271
Haiku 4.5 $0.00002 $0.00135

Measured 2mo ago against content hash 3cabf6965976, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orcanote-query scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/orcanote-query/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orca Note Querying

This skill provides guidance on how to query blocks in Orca Note using the QueryDescription2 schema. This is used for advanced filtering, search, and data retrieval within repositories.

Query Structure

A query consists of a QueryDescription2 object, which contains a main query group q, sorting options, and pagination settings.

{
  q: QueryGroup2;          // The main query criteria
  sort?: [string, string][]; // e.g., [["_created", "DESC"]]
  page?: number;           // 1-based page number
  pageSize?: number;       // Number of items per page
  randomSeed?: number;     // For stable random sorting
}

Query Groups (Logical Operators)

Groups combine multiple conditions. Every group has a kind and a conditions array.

Kind Name Description
100 SELF_AND All conditions in the array must match the block.
101 SELF_OR At least one condition in the array must match the block.
106 CHAIN_AND Matches blocks that have a match in their ancestors, descendants, or themselves. Often used within a SELF_AND group to filter results by hierarchy.

Hierarchy Groups

  • 102: ANCESTOR_AND - Matches ancestors of blocks that match conditions.
  • 104: DESCENDANT_AND - Matches descendants of blocks that match conditions.

Condition Types

Each condition object must have a kind field.

Kind Type Key Fields description
3 Journal start, end Journal blocks within a specific journal date range.
4 Tag name, properties Blocks with a specific tag. Can filter by tag properties.
6 Reference blockId Blocks referencing a specific block ID.
8 Text text, raw Blocks containing specified text.
9 Block types, hasParent, hasChild, hasTags, created, modified Filter by block metadata and properties.
11 Task completed Specifically for task blocks.
12 Block Match blockId Match a specific block by its unique ID.
13 Format f, fa Match content fragments with specific markdown formats (e.g., bold, italic).

Read the full file on GitHub · 145 lines

Changes

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.

  1. 2mo ago First seen · 145 lines · 19 tokens per session scan A 3cabf6965976

Subscribe to this mod's changes

orcanote-query is a skill published in the GitHub repository sethyuan/orcanote-agent-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 1,354 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

orcanote-query compared with skills from other repositories

orcanote-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orcanote-querysethyuan/orcanote-agent-skillsSkill52d agoMITA19Claude Code, Codex
orbit-notionnexu-io/open-designSkill106ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill112ktodayMITA30Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20kyesterdayMITA184Claude Code
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k6d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex