x-pulse

x-pulse is a command for Claude Code from eugeniughelbur/obsidian-second-brain. It costs 24 tokens per session (787 once invoked), scanned A, original, MIT.

A command that scans X, the social network formerly known as Twitter, for current discussion about a topic. It returns themes, active voices, working post openings and styles, underexplored areas, and post ideas.

In plain words
What is it for?
Use it to research what people are discussing on X, find voices and gaps around a subject, and develop ideas for your own posts. The result is also saved as a dated research note in an Obsidian vault.
Why use it?
It collects topic-related discussion in one structured result, so you do not have to manually inspect many posts for recurring themes and useful angles.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the obsidian-second-brain plugin — 1 skill, 47 commands, 3 hooks shipped together

Good fit Use it to research what people are discussing on X, find voices and gaps around a subject, and develop ideas for your own posts. The result is also saved as a dated research note in an Obsidian vault.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eugeniughelbur/obsidian-second-brain/x-pulse
About the project

obsidian-second-brain turns an Obsidian vault into persistent, searchable memory for Claude Code and other command-line coding agents, storing knowledge as linked Markdown notes. It is for developers, founders, writers, and researchers who want agents to retain project context across sessions. Its catalogue entries provide commands, hooks, a plugin, a skill, and instructions for capturing, finding, and maintaining that memory.

eugeniughelbur/obsidian-second-brain · 4,364 stars · on GitHub · eugeniughelbur.github.io

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.

Clone the repo
git clone --depth 1 https://github.com/eugeniughelbur/obsidian-second-brain

Made for: Claude Code.

Or install obsidian-second-brain, the plugin that ships this one along with the rest of its 1 skill, 47 commands, 3 hooks.

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 x-pulse

README.md
[![agentmods](https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/x-pulse/github.svg)](https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/x-pulse)
Your own site
<a href="https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/x-pulse"><img src="https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/x-pulse/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 x-pulse

Your own site · 80×15
<a href="https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/x-pulse"><img src="https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/x-pulse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 787 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.00024 $0.00787
Opus 5 $0.00012 $0.00394
Sonnet 5 $0.00005 $0.00157
Haiku 4.5 $0.00002 $0.00079

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

Security

Grade A, and why

x-pulse 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.

commands/x-pulse.md · 36 lines

What it actually says

Use the obsidian-second-brain skill. Execute /x-pulse [topic]:

  1. Resolve the topic from the user's argument. Multi-word topics are fine ("AI automation", "vibe coding"). If no topic was given, ask: "What topic should I scan X for?"

  2. Run the script from the skill root (its absolute path was given at session start as Skill root; substitute it for SKILL_ROOT):

    uv run --directory "SKILL_ROOT" -m scripts.research.x_pulse "<topic>"
    
  3. The script returns a structured pulse: WHAT'S HOT (themes with rep posts + voices), WHAT'S UNDEREXPLORED (gaps), HOOKS THAT ARE WORKING, VOICE & TONE WORKING, POST IDEAS FOR YOU TODAY. Show the full output to the user verbatim.

  4. Default save behavior: saves automatically. The script writes an AI-first note to Research/X-pulse/YYYY-MM-DD - <slug>.md with the AI-first vault rule applied (preamble, frontmatter, recency markers, sources verbatim). It also appends a one-line entry to log.md.

  5. After printing, mention to the user the file path that was saved (the script prints this on stderr, surface it cleanly).

  6. Plain English triggers that route to this command: "what's hot on X about [topic]", "X pulse on [topic]", "what should I post about [topic] today", "scan X for [topic]", "trends on X about [topic]".

  7. If the script reports "No active discourse found in last 72h on this topic", offer to either broaden the topic or try /research [topic] instead (Perplexity for general web research).

  8. If the script fails with a clear error, surface it verbatim. Auto-retry on transient errors is handled inside the script.


AI-first rule: Every note created or updated by this command MUST follow references/ai-first-rules.md - ## For future agent preamble, rich frontmatter (type, date, tags, ai-first: true, plus type-specific fields), recency markers per external claim, mandatory [[wikilinks]] for every person/project/concept referenced, sources preserved verbatim with URLs inline, and confidence levels where applicable. If that path does not resolve from your working directory, search upward for it; if you still cannot read it, say so before writing rather than producing a note that silently skips the rule. The vault is for future agent retrieval - not human reading.

Anti-fabrication: Search exhaustively before claiming any note, person, or file is absent - false absence is the most common failure mode - and never invent facts, entities, or dates (mark unknowns as TBD). See the anti-fabrication and search-completeness hard rules in references/ai-first-rules.md.

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 · 36 lines · 24 tokens per session scan A 0f6d2e6f8a04

Subscribe to this mod's changes

x-pulse is a command published in the GitHub repository eugeniughelbur/obsidian-second-brain (4,364 stars, last pushed 2d ago), licensed MIT. It adds 24 tokens to every session and 787 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.