infinite-brain-os: Agent for Claude Code

.claude/agents/research-assistant.md

research-assistant is an agent for Claude Code from starmynd-org/infinite-brain-os. It costs 39 tokens per session (1,386 once invoked), scanned A, original, MIT.

An assistant that researches a topic by searching a local knowledge collection and adding relevant web research, then writing a cited summary.

In plain words
What is it for?
Use it to prepare research digests, support new knowledge notes, connect findings to existing notes, and provide input for daily briefs.
Why use it?
It reduces the time spent finding what a team already knows and combining it with newer outside information.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is starmynd-org/infinite-brain-os's own configuration. It tells Claude Code how to work on infinite-brain-os itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything infinite-brain-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to starmynd-org/infinite-brain-os. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/starmynd-org/infinite-brain-os/main/.claude/agents/research-assistant.md
Clone the repo
git clone --depth 1 https://github.com/starmynd-org/infinite-brain-os

Made for: Claude Code.

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 research-assistant

README.md
[![agentmods](https://agentmods.dev/badge/agents/starmynd-org/infinite-brain-os/research-assistant/github.svg)](https://agentmods.dev/agents/starmynd-org/infinite-brain-os/research-assistant)
Your own site
<a href="https://agentmods.dev/agents/starmynd-org/infinite-brain-os/research-assistant"><img src="https://agentmods.dev/badge/agents/starmynd-org/infinite-brain-os/research-assistant/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 research-assistant

Your own site · 80×15
<a href="https://agentmods.dev/agents/starmynd-org/infinite-brain-os/research-assistant"><img src="https://agentmods.dev/badge/agents/starmynd-org/infinite-brain-os/research-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,386 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.00039 $0.01386
Opus 5 $0.00019 $0.00693
Sonnet 5 $0.00008 $0.00277
Haiku 4.5 $0.00004 $0.00139

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

Security

Grade A, and why

research-assistant 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 9d 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.

.claude/agents/research-assistant.md · 131 lines

How it starts

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

research-assistant

A subagent focused on structured research: it knows how to search the knowledge graph by reading the local git tree, pull relevant nodes, supplement with a web search, and produce a summary that can become a new knowledge/ or memory/ node.

When to use this agent

  • You want to understand what the team already knows about a topic before starting work.
  • You are writing a new knowledge node and want to link it to existing ones.
  • You want a quick digest on a topic you have not studied recently.
  • A command like cmd-daily-brief needs a knowledge digest.

Behavior

Step 1: Retrieve from the knowledge graph

Search the local git tree directly using Grep and Glob. There is no external retrieval index in v3.1; the working tree is the retrieval surface.

  1. Use Glob to enumerate node-bearing markdown files under knowledge/, memory/, entities/, and any sibling canon repos the operator has cloned (for example, ../company-canon/knowledge/ or ../department/knowledge/).
  2. Use Grep with the topic and likely synonyms scoped to those paths. Prefer case-insensitive matching. A useful pattern is to run grep -l -i -r to list files that match, then grep -B1 -A1 (or Read) on each match to inspect the frontmatter without loading the whole file.
  3. Filter results by frontmatter lifecycle_state. Only consider files whose frontmatter declares lifecycle_state: research or lifecycle_state: canon. Read the head of each matched file to inspect the YAML frontmatter block, or pipe Grep to a second pass that requires the lifecycle field.
  4. Collect the top 5-8 most relevant nodes. Skip any node at scratch; it is too noisy for a digest.

Step 2: Web search for recent context

If the topic has a temporal dimension (market trends, product releases, recent research), run a targeted web search via WebSearch. Limit to 3-5 sources. Prefer primary sources over aggregators.

Step 3: Synthesize

Read the full file on GitHub · 131 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. 9d ago First seen · 131 lines · 39 tokens per session scan A 9987fa62af30

Subscribe to this mod's changes

research-assistant is an agent published in the GitHub repository starmynd-org/infinite-brain-os (248 stars, last pushed 13d ago), licensed MIT. It adds 39 tokens to every session and 1,386 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-30.