Bear / man
CLAUDE.md6.5k starsChanged 3 months agoGPL-3.0View on GitHub
bear.1.md is the source. bear.1 is generated from it. After editing bear.1.md, regenerate:
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
Licensed with conditions — read it at the source. We count its rules but don't quote them. Read them on GitHub.
≈ “Common” is an estimate: at least 1 in 5 of the 25,680 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Trending
Less talk lately.about the whole repository
Who's talking about rizsotto/Bear
- A Hacker News story“Bear is a tool that generates a compilation database for Clang tooling”Hacker News · Oct 9, 2024 · 47 points
- conan-io/conan-center-index“[request] Updatable recipes”GitHub · Nov 10, 2020 · 15 reactions
- Stack Overflow“cscope like functionality for C++ (using vim)”Stack Overflow · Jan 24, 2018 · 12 votes
- qchateau/conan-center-bot“Updatable recipes”GitHub · Oct 30, 2020 · 4 reactions
- msys2/MINGW-packages“please add bear package.”GitHub · Sep 14, 2020 · 3 reactions
The biggest 5 of 65 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 65
Talked about on GitHub, Stack Overflow, Bluesky and Hacker News (65 times).
On GitHub · 50
- Nov 10, 2020[request] Updatable recipes — conan-io/conan-center-index15 reactions · 15 comments
- Oct 30, 2020Updatable recipes — qchateau/conan-center-bot4 reactions · 7 comments
- Sep 14, 2020please add bear package. — msys2/MINGW-packages3 reactions · 11 comments
- Oct 17, 2024bear: 3.1.3 -> 3.1.5 — NixOS/nixpkgs2 reactions · 1 comment
- Jun 16, 2017Irony server looks for compile_commands.json in wrong directory. — Sarcasm/irony-mode2 reactions · 1 comment
45 more on GitHub
- Oct 7, 2017Support per file compiler commands as "YouCompleteMe" — jeaye/color_coded1 reaction · 3 comments
- Oct 14, 2026bear 4.2.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 21, 2026[Package Request] - bear — amazonlinux/amazon-linux-20230 reactions · 2 comments
- Sep 6, 2026addpatch: bear 4.2.2-1 — felixonmars/archriscv-packages0 reactions
- Sep 5, 2026bear 4.2.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Aug 16, 2026bear 4.2.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Aug 3, 2026Add bear — RideBeeline/beeline-firmware-build0 reactions
- Aug 1, 2026bear 4.2.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jul 3, 2026Auto update failing for bear — termux/termux-packages0 reactions
- Jul 3, 2026Auto update failing for bear — zrsx/termux-ng0 reactions
- Jul 3, 2026bear 4.1.5 — Homebrew/homebrew-core0 reactions · 1 comment
- Jun 2, 2026bear 4.1.4 — Homebrew/homebrew-core0 reactions · 1 comment
- May 19, 2026Add org.freedesktop.Sdk.Extension.bear — flathub/flathub0 reactions · 17 comments
- May 4, 2026Auto update failing for bear — zrsx/termux-ng0 reactions
- May 4, 2026Auto update failing for bear — termux/termux-packages0 reactions
- May 4, 2026bear 4.1.3 — Homebrew/homebrew-core0 reactions · 1 comment
- Apr 25, 2026bear 4.1.2 — Homebrew/homebrew-core0 reactions · 1 comment
- Apr 20, 2026`compile_commands.json` for bundlex — membraneframework/membrane_core0 reactions
- Apr 4, 2026bear 4.1.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Mar 28, 2026bear 4.1.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Mar 1, 2026"env -" seems to break sandboxed tests — gentoo/sandbox0 reactions · 1 comment
- Feb 28, 2026bear: 4.0.3 -> 4.0.4 — NixOS/nixpkgs0 reactions · 2 comments
- Feb 28, 2026bear 4.0.4 — Homebrew/homebrew-core0 reactions · 1 comment
- Feb 14, 2026Update Request: Bear 3.1.6 → 4.0.3 — NixOS/nixpkgs0 reactions
- Feb 9, 2026bear 4.0.3 — Homebrew/homebrew-core0 reactions · 2 comments
- Jan 18, 2026bear 4.0.2 — Homebrew/homebrew-core0 reactions · 2 comments
- Jan 11, 2026bear 4.0.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Jan 3, 2026bear 4.0.0 — Homebrew/homebrew-core0 reactions · 2 comments
- Dec 19, 2025Ignore IDE related directories and files — shadow-maint/shadow0 reactions · 3 comments
- Jul 8, 2025[Request]: Bear — ScoopInstaller/Extras0 reactions · 1 comment
- Jun 28, 2025revise clang configuration for kernel development creature comforts — seantronsen/neovim-config0 reactions
- Mar 24, 2025bear: 3.1.5 -> 3.1.6 — NixOS/nixpkgs0 reactions · 1 comment
- Mar 13, 2025docs/readme: Update `bear` arguments — immunant/c2rust0 reactions · 2 comments
- Aug 8, 2024Add version 3.1.4 and fix conflicts — conan-io/conan-center-index0 reactions · 5 comments
- Jul 7, 2024Failed to Load CMake Project in CLion on M1 MacBook Air Using Bear and Generated CMakeLists — mastermakrela/kernel-dev0 reactions · 1 comment
- Jun 16, 2024compile_commands.json generator for clangd integration — jart/cosmopolitan0 reactions · 1 comment
- May 26, 2024[clang] Support for compilation database — cdxgen/cdxgen0 reactions · 1 comment
- May 25, 2024dev-util/bear: add 3.1.4 — gentoo/gentoo0 reactions · 3 comments
- Oct 11, 2023Using Emacs as a C IDE — guevara/read-it-later0 reactions
- Aug 5, 2023preload tracer sets errno — github/codeql0 reactions · 4 comments
- Jun 18, 2023[Package]: bear — termux-user-repository/tur0 reactions · 4 comments
- May 13, 2023bear: Add upstream patch for fmt 10 support. — Homebrew/homebrew-core0 reactions · 1 comment
- Apr 24, 2023bear: 3.1.1 -> 3.1.2 — NixOS/nixpkgs0 reactions
- Apr 24, 2023Add compile_commands.json to .gitignore — JuliaLang/julia0 reactions · 1 comment
- Oct 22, 2021Could not load compilationdatabase - Unknown key: ""output"" — KDAB/codebrowser0 reactions · 5 comments
On Stack Overflow · 8
- Jan 24, 2018cscope like functionality for C++ (using vim)12 votes
- Jun 1, 2020Clang-tidy not finding header file3 votes
- Dec 12, 2024Autocompletion for cpp in helix editor not working, Ubuntu 24.102 votes
- Feb 18, 2018vim plugin youcompleteme for project using scons and g++ compiler1 vote
- Aug 22, 2026xcodebuild generating empty compile_commands.json0 votes
3 more on Stack Overflow
- Jun 29, 2023how can I make vscode editor aware of preprocessor definitions0 votes
- Jan 5, 2024Using clangd in files included verbatim-1 votes
- Mar 6, 2020List of all C or C++ header files that were used for compiling a project-1 votes · 2 answers
On Bluesky · 4
- Mar 22, 2026it should intercept pretty much anything you just call it with the whatever command that you'd normally be using to build your program and… — @shikaspots.bsky.social2 likes and reposts
- Mar 27, 2024If you use a C/C++ build system which doesn't support compile_commmands.json generation you can use github.com/rizsotto/Bear to generate… — @tdimitrov.bsky.social2 likes and reposts
- Feb 16, 2026Siistii koodata C:tä. Opin tänään tällaisesta työkalusta, jolle mä voin antaa makefilen, ja joka antaa sitä vastaan täydellisen… — @feuer.social.feuerx.net.ap.brid.gy1 likes and repost
- Jan 1, 2025at least the excellent github.com/rizsotto/Bear exists to make working on things easier — @handle.invalid0 likes and reposts · 1 reply
On Hacker News · 3
- Oct 9, 2024Bear is a tool that generates a compilation database for Clang tooling47 points · 22 comments
- May 18, 2026Bear generates a compilation database for Clang tooling1 point
- Jul 9, 2022Bear is a tool that generates a compilation database for Clang tooling1 point
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- site/CLAUDE.mdCLAUDE.md
- releaseSkill
- requirementsSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

