bear

bear is a skill for Claude Code, Codex from tylerjhayden/agent-toolkit. It costs 38 tokens per session (1,098 once invoked), scanned A, original, MIT.

A command-line bridge between Bear.app, a macOS note-taking app, and markdown files on disk.

In plain words
What is it for?
Use it to send markdown to Bear, export notes, search notes by tag, or open a specific Bear note.
Why use it?
It lets you move notes between Bear and the filesystem while preserving Bear's normal sync process and keeping exports read-only.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is bear pull-all [path] # Export all notes (default: ./bear-export/).

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 bear

README.md
[![agentmods](https://agentmods.dev/badge/skills/tylerjhayden/agent-toolkit/bear.svg)](https://agentmods.dev/skills/tylerjhayden/agent-toolkit/bear)
Your own site
<a href="https://agentmods.dev/skills/tylerjhayden/agent-toolkit/bear"><img src="https://agentmods.dev/badge/skills/tylerjhayden/agent-toolkit/bear.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,098 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00038 $0.01098
Opus 5 $0.00019 $0.00549
Sonnet 5 $0.00008 $0.00220
Haiku 4.5 $0.00004 $0.00110

Measured 5d ago against content hash b381480c338f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

bear 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 5d 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/bear/SKILL.md · 113 lines

How it starts

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

bear

Bear.app CLI bridge — two-way sync between filesystem markdown and Bear notes.

Overview

Sends markdown files into Bear for editing (via URL scheme) and pulls Bear notes back to the filesystem as clean markdown (via read-only SQLite queries). Import never touches the database directly — it uses Bear's URL scheme to preserve CloudKit sync. Export is always read-only.

When to Use

  • "Send this to Bear" / "Open in Bear"
  • "Pull my Bear notes" / "Export from Bear"
  • "What are my recent Bear notes?"
  • "Find Bear notes tagged with X"
  • "Open this note in Bear"

Common Mistakes

Quoting titles with special characters. Always wrap Bear note titles in quotes when they contain spaces or punctuation: bear open "My Note Title".

Expecting instant sync on send. Bear processes URL scheme requests asynchronously. The note may take a moment to appear after bear send.

Running pull-all into a tracked directory. Export dumps many files — use a scratch directory or ./bear-export/ (the default) to avoid polluting git repos.

CLI Tool

Alias: bear Location: .claude/skills/bear/tools/bear

Quick Reference

bear <file.md>                # Send file to Bear (shortcut for send)
bear send <file.md>           # Send/update markdown file in Bear
bear pull <title> [path]      # Pull Bear note to filesystem
bear pull-all [path]          # Export all notes (default: ./bear-export/)
bear open <title>             # Open note in Bear
bear search <query>           # Search in Bear
bear recent [N]               # List N most recent notes (default: 10)
bear list [--tag <tag>]       # List notes, optionally by tag
bear help                     # Show help

Commands

Command Description
send <file> Send markdown file to Bear. Updates existing note if title matches, creates new note with project tag if not
pull <title> [path] Export note as clean markdown. Resolves [image:UUID/file] to ![](./images/file) and copies image files
pull-all [path] Bulk export all non-trashed notes to directory
open <title> Open note directly in Bear by title
search <query> Open Bear's search UI with query
recent [N] List N most recently modified notes with relative timestamps
list [--tag tag] List all notes or filter by tag

Read the full file on GitHub · 113 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 113 lines · 38 tokens per session scan A b381480c338f

Subscribe to this mod's changes

bear is a skill published in the GitHub repository tylerjhayden/agent-toolkit (2 stars, last pushed 6mo ago), licensed MIT. It adds 38 tokens to every session and 1,098 once invoked, about $0.0002 per session on Opus 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.