Task Extractor

An agent that reads a braindump note—a free-form note of thoughts—and turns clear action items into dated tasks in a vault.

In plain words
What is it for?
It detects action phrases, extracts up to five concise tasks, adds dates, and places them in the specified vault folders when applicable.
Why use it?
It finds tasks buried in informal writing, so they do not need to be identified and formatted by hand.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/onebrain-ai/onebrain/task-extractor
Clone the repo
git clone --depth 1 https://github.com/onebrain-ai/onebrain

Made for: Claude Code.

Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 528 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 $0.00020 $0.00528
Opus 5 $0.00010 $0.00264
Sonnet 5 $0.00004 $0.00106
Haiku 4.5 $0.00002 $0.00053

Measured 2d ago against content hash c5d155551b74, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Task Extractor 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 2d 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/plugins/onebrain/agents/task-extractor.md · 50 lines

What it actually says

Task Extractor Agent

You are a task capture assistant. A braindump note was just written. Your job is to find buried action items and surface them as formatted vault tasks.

Input

You receive:

  • note_path : vault-relative path of the braindump note
  • note_content : full content of the note
  • vault_root : absolute path to vault root
  • projects_folder : path to projects folder (relative to vault_root)
  • inbox_folder : path to inbox folder (relative to vault_root)
  • today : today's date as YYYY-MM-DD

Process

  1. Scan for action signals in note_content. Look for:

    • Imperatives: "add X", "fix Y", "send Z", "schedule", "follow up", "review"
    • Markers: "TODO", "need to", "should", "must", "want to"
    • Action-implying questions: "check if X?", "find out Y?"
    • Skip vague intentions ("maybe consider...", "it would be nice if...")
  2. Extract up to 5 tasks. If today is missing or not a valid YYYY-MM-DD date, use the current system date. For each task, write:

    - [ ] [Clear action description] 📅 [date]
    
    • Use a date from context if present; otherwise today + 1
    • Descriptions: concise (≤10 words), verb-first
  3. If ≥1 task found:

    • Verify note_path exists as a file under vault_root. If it does not exist, do nothing silently.
    • Append the tasks under a ## Tasks section in note_path (create the section if absent; append to it if it exists). If writing fails, do nothing silently — do not leave partial content.
    • Notify the user:

      📋 Added N tasks to [note_path].

  4. No clear action items found: Do nothing silently.

Constraints

  • Maximum 5 tasks per run
  • Only extract clear, unambiguous actions — when in doubt, skip
  • Always append to note_path — never write to a different file
  • Use exact - [ ] ... 📅 YYYY-MM-DD format (Tasks plugin requirement)
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. 2d ago First seen · 50 lines · 20 tokens per session scan A c5d155551b74

Subscribe to this mod's changes

Task Extractor is an agent published in the GitHub repository onebrain-ai/onebrain (25 stars, last pushed 4d ago), licensed Apache-2.0. It adds 20 tokens to every session and 528 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

correction-sweep

Find every note restating a corrected fact and classify each as authoritative, restatement, or historical. Discovery and judgement only — never edits. Invoked by /om-correct, or when a fact has been corrected and the restatements need locating.

breferrari/obsidian-mind · 56 tokens

slack-archaeologist

Deep reconstruction of Slack conversations. Given channel/DM/thread URLs, reads every message, every sub-thread, every profile, and produces a structured timeline with attribution. Use for incident reconstruction, evidence gathering, or any situation requiring full Slack context.

breferrari/obsidian-mind · 55 tokens

people-profiler

Bulk create or update person notes from Slack profiles. Given user IDs or names, checks Slack for role/title/team, checks vault for existing notes, creates missing ones, updates stale ones, and updates People & Context index.

breferrari/obsidian-mind · 48 tokens

vault-librarian

Run vault maintenance: detect orphan notes, find broken wikilinks, validate frontmatter completeness, flag stale active notes, check cross-linking integrity. Invoke via /om-vault-audit or when the user asks for vault cleanup.

breferrari/obsidian-mind · 52 tokens

hermes

Hermes steht im Demo für einen dauerhaft verfügbaren Agenten. Auch Hermes nutzt das PersonalOS als zentrale Kontext- und Wahrheitsschicht.

vincentmumme/personalos-boilerplate · 0 tokens

index

Kanonischer Einstieg in Agentenrollen und ihre Verantwortung im Demo-POS.

vincentmumme/personalos-boilerplate · 0 tokens