adding-inbox-sources

adding-inbox-sources is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 146 tokens per session (2,118 once invoked), scanned A, original, MIT.

A development guide for adding a new data-warehouse source to PostHog’s Self-driving Inbox. The feature imports issues, tickets, or conversations and lets a server process new records into findings for the inbox.

In plain words
What is it for?
Adding the source registry and server processing, updating the app’s source options and controls, and making the onboarding wizard offer the new source.
Why use it?
Adding a source affects several separate codebases and fixed registration points, so missing one can leave the source unavailable or unable to produce findings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Good fit Adding the source registry and server processing, updating the app’s source options and controls, and making the onboarding wizard offer the new source.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/adding-inbox-sources
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 PostHog/posthog-foss --skill adding-inbox-sources
Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog-foss

Made for: Claude Code, Codex.

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 adding-inbox-sources

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/adding-inbox-sources/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/adding-inbox-sources)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/adding-inbox-sources"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/adding-inbox-sources/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 adding-inbox-sources

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/adding-inbox-sources"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/adding-inbox-sources.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,118 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 7 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 3
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 26
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 180
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 215
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Prompt Injection · line 22
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 24
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 25
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00146 $0.02118
Opus 5.5 $0.00058 $0.00847
Sonnet 5.5 $0.00029 $0.00424
Haiku 4.5 $0.00015 $0.00212

Measured 2d ago against content hash 6e7738ada334, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adding-inbox-sources 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.

.agents/skills/adding-inbox-sources/SKILL.md · 98 lines

How it starts

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

Adding a Self-driving Inbox source

The Self-driving Inbox connects a PostHog data warehouse source and syncs one table of actionable records. After each sync, the signals pipeline reads the new rows, filters them with an LLM actionability gate, and emits signals. The pipeline is driven by a static registry keyed on (ExternalDataSourceType, table), so each table needs an emitter config.

All work happens in this repository:

Surface What changes
Backend (required) SignalSourceProduct value, emitter module, registry entry, contract variant, a test row
Frontend (required) products/signals/frontend/inbox/externalSignalSources.ts entry and the signalSourcesLogic.ts unions
Wizard (optional) PostHog/context-mill self-driving skill, so npx @posthog/wizard self-driving offers the source

Do not edit the desktop app (products/desktop/) or packages/agent/packages/agent-contracts/src/inbox-types.ts for a new source. A desktop change in the same PR as a new SignalSourceProduct value fails the desktop/backend coupling check, and the inbox does not need it.

The data warehouse source itself must already exist and be implemented.

Find candidates

  1. List implemented sources: iterate SourceRegistry.get_all_sources() and keep a source when type(src).get_schemas is not _BaseSource.get_schemas and get_source_config.unreleasedSource is false. Run it on a fresh origin/master worktree.
  2. Call get_documented_tables() for each source. It gives table names and incremental fields without credentials. get_canonical_descriptions() gives column names.
  3. Keep tables that hold one actionable record per row: issues, tickets, conversations, incidents, alerts, findings, feedback, reviews, survey responses. Skip CRM tasks and notes, message logs, blog posts and event tickets.
  4. Check that each table has a human-readable text column, a stable id, and a creation timestamp. Tables with text only in nested JSON need a bespoke emitter. Tables with one row per occurrence need grouping (see below).
  5. Compare against _register_all_emitters() in products/signals/backend/emission/registry.py and open PRs (gh pr list --search "inbox source in:title").

Read the full file on GitHub · 98 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. 2d ago Changed 6e7738ada334
  2. 1mo ago Changed · -158 lines · -26 tokens per session scan C → A 25ddf0a219ac
  3. 2mo ago Changed 3697e2e17bbc
  4. 3mo ago First seen · 256 lines · 172 tokens per session scan C e12b2ace986c

Subscribe to this mod's changes

adding-inbox-sources is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 146 tokens to every session and 2,118 once invoked, about $0.0006 per session on Opus 5.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

adding-inbox-sources compared with skills from other repositories

adding-inbox-sources next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adding-inbox-sourcesPostHog/posthog-fossSkill736todayMITA146Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k6d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3ktodayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill707yesterdayMITA105Claude Code, Codex