ic-events-stream

ic-events-stream is a skill for Claude Code from Immersive-commons/ic-skills. It costs 161 tokens per session (3,973 once invoked), scanned A, original, MIT.

A connection to Immersive Commons's event log, which is a record of events related to a member and their agent. The agent checks the log for new entries and decides whether to show, act on, or ignore each one.

In plain words
What is it for?
Polling for new account or inbox events, tracking what has already been seen, and routing notifications to channels such as Telegram, Slack, desktop alerts, or the current chat.
Why use it?
It avoids setting up webhooks, which are public callback URLs that receive notifications. The agent keeps its place in the log and controls notification routing itself.

Skill for Claude Code

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

Part of the immersivecommons plugin — 14 skills, 2 MCP servers shipped together

Good fit Polling for new account or inbox events, tracking what has already been seen, and routing notifications to channels such as Telegram, Slack, desktop alerts, or the current chat.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immersive-commons/ic-skills/ic-events-stream
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.

Any agent
npx skills add Immersive-commons/ic-skills --skill ic-events-stream
Clone the repo
git clone --depth 1 https://github.com/Immersive-commons/ic-skills

Made for: Claude Code.

Or install immersivecommons, the plugin that ships this one along with the rest of its 14 skills, 2 MCP servers.

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 ic-events-stream

README.md
[![agentmods](https://agentmods.dev/badge/skills/immersive-commons/ic-skills/ic-events-stream/github.svg)](https://agentmods.dev/skills/immersive-commons/ic-skills/ic-events-stream)
Your own site
<a href="https://agentmods.dev/skills/immersive-commons/ic-skills/ic-events-stream"><img src="https://agentmods.dev/badge/skills/immersive-commons/ic-skills/ic-events-stream/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 ic-events-stream

Your own site · 80×15
<a href="https://agentmods.dev/skills/immersive-commons/ic-skills/ic-events-stream"><img src="https://agentmods.dev/badge/skills/immersive-commons/ic-skills/ic-events-stream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,973 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00161 $0.03973
Opus 5 $0.00081 $0.01987
Sonnet 5 $0.00032 $0.00795
Haiku 4.5 $0.00016 $0.00397

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

Security

Grade A, and why

ic-events-stream scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "Authorization: Bearer $IC_AGENT_TOKEN" \
.claude/skills/ic-events-stream/SKILL.md · 251 lines

How it starts

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

You wire a human's agent into Immersive Commons' agentic event log so the agent — not IC — owns notification routing. IC publishes events ("a tier request landed", "an agent reached your inbox"). Your job is to read them and decide, per the human's standing policy, what to do with each one: surface it on a channel the agent already owns (Telegram, Slack, a desktop toast, the chat you're in), auto-invoke an action, or drop it.

This is the inversion that makes IC agent-first: IC is stateless about subscribers. There are no webhooks to register, no endpoint URL to maintain, no chat_id to hand over. IC keeps a per-user, append-only log; the agent keeps a cursor and polls. Routing lives entirely on your side.

The mental model

  • IC appends events into the calling user's log at fan-out time. A monotonic integer id is assigned per event — a higher id is strictly later.
  • The agent stores its last-seen id (the cursor) and polls since = last_seen.
  • Each event carries a type, a payload (type-specific facts), and actions[] — affordances the agent can render as one-tap replies or auto-invoke.
  • Entitlement is enforced at append time, so the read is per-user-scoped by construction: a token tied to user X only ever sees X's events.

You decide routing. IC never needs to know where the human reads their notifications.

Reading the log

Two interchangeable surfaces, same response shape. Pick by where your agent runs.

MCP (headless agents — preferred)

Tool ic_events_next. Args (all optional):

{
  "name": "ic_events_next",
  "arguments": {
    "since": 412,            // your last-seen event id. Omit / 0 = full backlog (capped at limit).
    "types": ["inbox_envelope", "tier_requested"],  // optional filter; omit = all entitled types
    "limit": 50              // default 50, max 500
  }
}

The MCP call wraps the result: { "ok": true, "events": [...], "cursor": <int>, "has_more": <bool>, "as_of": "<ISO>" }. Unknown strings in types are dropped silently — no error.

Read the full file on GitHub · 251 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 251 lines · 161 tokens per session scan A 8b709e120db1

Subscribe to this mod's changes

ic-events-stream is a skill published in the GitHub repository Immersive-commons/ic-skills (0 stars, last pushed yesterday), licensed MIT. It adds 161 tokens to every session and 3,973 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.