cortex-broadcast

cortex-broadcast is a skill for Claude Code, Codex from XBlueSky/cortexes. It costs 81 tokens per session (3,351 once invoked), scanned A, original, Apache-2.0.

A conversational tool for carrying useful findings from a processed note into related existing notes or project pages. A Raw is an unprocessed entry, while a vault is the user's stored collection of notes.

In plain words
What is it for?
Use it to list eligible Raw entries, choose one, find related Notes or Projects pages, and discuss proposed updates before applying them.
Why use it?
It reduces the need to find every related page and update each one by hand. It also lets the user review and approve changes page by page.

Skill for Claude CodeCodex

Part of the cortex plugin — 6 skills, 5 commands, 2 hooks shipped together

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 skills/xbluesky/cortexes/cortex-broadcast
Any agent
npx skills add XBlueSky/cortexes --skill cortex-broadcast
Clone the repo
git clone --depth 1 https://github.com/XBlueSky/cortexes

Made for: Claude Code, Codex.

Or install cortex, the plugin that ships this one along with the rest of its 6 skills, 5 commands, 2 hooks.

Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,351 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.00081 $0.03351
Opus 5 $0.00041 $0.01675
Sonnet 5 $0.00016 $0.00670
Haiku 4.5 $0.00008 $0.00335

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

Security

Grade A, and why

cortex-broadcast 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 3d 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.

skills/cortex-broadcast/SKILL.md · 354 lines

How it starts

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

Cortex Broadcast — Compounding Ingest

Propagate insights from a distilled Raw into related existing Notes/Projects pages through conversational per-page edits.

Resolve Vault Path and Config

Read ~/.cortex/config.json:

jq -r '.vault_path' ~/.cortex/config.json
jq -r '.broadcast.target_top_n // 5' ~/.cortex/config.json
jq -r '.broadcast.target_min_score // 0.40' ~/.cortex/config.json

If the config file doesn't exist, tell the user to run /cortex:genesis first.

Step 1: Resolve Arguments

The command supports three invocations:

Form Action
/cortex:broadcast (no args) Pop the first (oldest) Raw from the eligible queue
/cortex:broadcast <raw-path> Use the specified Raw (relative or absolute path)
/cortex:broadcast --list Print the eligible queue and exit

Step 2: Build Eligible Queue

A Raw is eligible iff its marker meets all of:

  • Contains <!-- distilled: YYYY-MM-DD → ... --> (Phase 1 processed).
  • Outcome is new or pending-merge (the marker content after is either a path like Notes/X.md / Projects/Y/Z.md, or starts with pending-merge:; anything else — (skip: routine), (no insight), or the pre-Phase-1 legacy (no extractable content) — is ineligible).
  • Does not already contain any of: | broadcast:, | merged:, | no-broadcast:.

Build the list via:

cortex-vec broadcast-queue --root <vault>/Raw

This applies the three criteria above against each Raw's authoritative marker (header marker, or last non-empty line) and returns the result FIFO by path. Do NOT grep the marker string — a meta-session's body quotes it many times, which fools a substring scan. To inspect one file, use cortex-vec raw-state <file>.

Step 3: Handle --list

If the user invoked --list, print each queued Raw with:

  • Relative path from vault
  • Outcome (extract from marker: new if target is a path; pending-merge if marker contains pending-merge:)
  • Original target (for pending-merge Raws; for new)

Read the full file on GitHub · 354 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. 3d ago First seen · 354 lines · 81 tokens per session scan A 27ed21559db3

Subscribe to this mod's changes

cortex-broadcast is a skill published in the GitHub repository XBlueSky/cortexes (20 stars, last pushed 28d ago), licensed Apache-2.0. It adds 81 tokens to every session and 3,351 once invoked, about $0.0004 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 skills, from other repositories

vera

Code search over the current repository. Before reading files to answer "where is X", "how does Y work", "find Z", or "what calls W", run vera search " " or vera references first. Use vera grep for exact strings and regex, vera structural for definitions, routes, and env reads. Do not read multiple files hoping to…

VeraTools/Vera · 96 tokens

semantic-search

Code search for this repo — pick the right Beacon tool for the question: exact symbol lookup, reference tracing, file outline, or semantic search.

sagarmk/beacon-plugin · 32 tokens

release-gatekeeper

End-to-end release validation for Connapse — the 'final boss' before any version ships. Downloads the latest alpha from GitHub Releases, deploys an isolated Docker instance (separate from production), then systematically tests every feature: UI via Playwright, API via curl/REST, MCP tools, search quality, security…

Destrayon/Connapse · 183 tokens

create-tickets

Batch-create GitHub issues from a brainstorming discussion. Decomposes ideas into properly-sized tickets with labels, milestones, and project board placement. Trigger when user says: create tickets, make tickets, turn ideas into issues, create issues from brainstorm, create issues from discussion, batch create issues.

Destrayon/Connapse · 62 tokens

discover-work

Deep research across codebase, GitHub issues, discussions, project board, and architecture docs to discover new tasks, gaps, technical debt, and improvement ideas. Trigger when user says: discover work, find tasks, what needs doing, audit codebase, find gaps, technical debt audit, backlog discovery, brainstorm tasks…

Destrayon/Connapse · 77 tokens

next-task

Recommend the best next task to work on based on open GitHub issues. Analyzes priority, dependencies, milestone urgency, and codebase readiness. Trigger when user asks: what should I work on, what is next, next task, pick a task, what to do next, suggest work, prioritize tasks.

Destrayon/Connapse · 66 tokens