capture
Skill by garrytan
Saves any thought, note or text into a gbrain brain with the single command gbrain capture. Each capture becomes a page in the brain database and a markdown file on disk. It suits users who want one simple way to save single notes.
Install capture
Built from the published package, never by AI.
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.claude/skills && cp -r /tmp/gbrain/skills/capture ~/.claude/skills/captureRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gbrain/skills/capture ~/.gemini/antigravity-cli/skills/captureAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The capture skill saves a thought, article snippet, transcript fragment, or other text into a gbrain brain with one CLI command, gbrain capture. Each capture is written as a page in the brain database and as a markdown file on disk under the sync repository path. Content can be passed inline, from a file with --file, or from a pipe with --stdin. The page is immediately searchable through gbrain query, gbrain search, or any MCP-connected agent.
Default slugs take the form inbox/YYYY-MM-DD-<hash8>, and the daemon's 24-hour content-hash dedup catches re-captures. Each page gets a note type by default, a title from the first line, and frontmatter stamps for capture method and time. The skill is for single thoughts and notes, not bulk imports, which the source routes to gbrain sync or gbrain import. It suits users who want one simple way to save things into their brain.
Written from the project's SKILL.md and checked against it.
What it can do
- Save a thoughtStores inline text, a file, or piped input as a page in the brain.
- Write to diskWrites each capture as a markdown file under the sync repository path.
- Stable slugsUses inbox/YYYY-MM-DD-<hash8> slugs so the same content gets the same slug.
- Custom slug and typeAccepts --slug, --type and --source flags to set the page location and type.
- Script-friendly outputPrints only the slug with --quiet, or structured output with --json.
- Immediate searchMakes captured pages queryable through gbrain query and gbrain search.
What you need
- gbrain CLI with a brain database and sync repository
Try asking
- Capture this thought: the idea for next week's product review
- Save this meeting summary to my brain
- Remember this: the API key rotation runs every 90 days
Good to know
- Not meant for bulk import of many files; use gbrain sync or gbrain import instead.
- Inline arguments can end up in shell history, so secrets should go through --file or --stdin.
- Untrusted webhook ingestion uses POST /ingest, not this skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/capture/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to capture
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
capture: common questions
What happens if I capture the same content twice?
The slug is the same for the same content, and the daemon's 24-hour content-hash dedup catches re-captures.
Where does a captured thought end up?
It is stored as a page in the brain database and as a markdown file under the sync repository path, by default in the inbox folder.
Can an AI agent use captured content right away?
Yes. The source says the page becomes immediately queryable through gbrain query, gbrain search, or any MCP-bound agent.
How do I install capture?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is capture free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is capture safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, 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 capture?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
