extending-the-admin-console

extending-the-admin-console is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 156 tokens per session (1,747 once invoked), scanned A, original, MIT.

A guide for adding staff-facing panels, actions, and reports to PostHog Admin, the internal console at /admin/console/. It explains where different kinds of staff features belong and when to stop for a larger structural change.

In plain words
What is it for?
Use it when changing the PostHog staff console, including team panels, staff operations, cross-team read-only reports, or console layout decisions.
Why use it?
It prevents ordinary record editing, team information, cross-team reports, and legacy pages from being placed in the wrong part of the console. It also promotes a consistent experience for staff users.

Skill for Claude CodeCodex

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

Good fit Use it when changing the PostHog staff console, including team panels, staff operations, cross-team read-only reports, or console layout decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/extending-the-admin-console
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 extending-the-admin-console
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 extending-the-admin-console

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/extending-the-admin-console"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/extending-the-admin-console.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,747 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.00156 $0.01747
Opus 5.5 $0.00062 $0.00699
Sonnet 5.5 $0.00031 $0.00349
Haiku 4.5 $0.00016 $0.00175

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

Security

Grade A, and why

extending-the-admin-console 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/extending-the-admin-console/SKILL.md · 66 lines

How it starts

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

Extending the admin console

PostHog Admin is a shared surface. Every team adds to it, and staff use it under pressure, often while a customer waits. Consistency is the feature: a panel that looks and reads like every other panel is one staff can use without thinking. Read posthog/admin/console/AGENTS.md first. It holds the invariants and the add-a-panel and add-a-tool recipes. This skill holds the judgment around them.

1. Decide where it goes

  • Plain create, read, update or delete on one model stays in Django admin, and so does a Python tweak of one of its fields or forms (see "Django admin" in .agents/architecture.md). The console is not a second CRUD layer. A changelist action (actions = (...)) stays too when it does only what staff could do in the change form of the selected rows. It writes fields of those rows, shows no page of its own, and starts nothing itself: no send, job, outside call, or write to another model. It calls self.log_change(request, obj, ...) for each row, because an action leaves no admin history. Any other action is a console operation: classify it with section 4. Before you move an action for a reason or a gate, make its field read-only in Django admin too, or the move protects nothing.
  • Facts and actions about one project or one organization go in a panel on that record's page. One panel per product concern, owned by the team that owns the data.
  • A report across many projects, or an action that is not about one record (a backfill, a re-save across projects, an incident replay) is a tool. An action on one project from a tool row links to that project's page instead of becoming a tool operation.
  • A staff page your product already has in the app (a DRF staff endpoint and scene) is legacy. Do not extend it and do not bridge to it. Ask the user whether to move it into the console as its own change.
  • Anything else (a new record type such as a user or project page, a new block kind, a new tool group, a template change) is a shell change. Stop and ask the user: those need a review by the console owners (team-devex), not a product team alone.

Read the full file on GitHub · 66 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 64897ca934af
  2. 20d ago Changed efbefc13e935
  3. 22d ago Changed f891fd0b6936
  4. 23d ago Changed · +5 lines 6e6fcca4b26f
  5. 26d ago Changed · +3 lines 76cf09aa21e4
  6. 28d ago First seen · 58 lines · 156 tokens per session scan A 6d06490d6597

Subscribe to this mod's changes

extending-the-admin-console is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 156 tokens to every session and 1,747 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-11-06.

Related

extending-the-admin-console compared with skills from other repositories

extending-the-admin-console next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extending-the-admin-consolePostHog/posthog-fossSkill736todayMITA156Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code