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.
npx skills add PostHog/posthog-foss --skill extending-the-admin-consolegit clone --depth 1 https://github.com/PostHog/posthog-fossWrote 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.
[](https://agentmods.dev/skills/posthog/posthog-foss/extending-the-admin-console)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 callsself.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.
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.
- 2d ago Changed 64897ca934af
- 20d ago Changed efbefc13e935
- 22d ago Changed f891fd0b6936
- 23d ago Changed · +5 lines 6e6fcca4b26f
- 26d ago Changed · +3 lines 76cf09aa21e4
- 28d ago First seen · 58 lines · 156 tokens per session scan A 6d06490d6597
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.
extending-the-admin-console compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| extending-the-admin-consolePostHog/posthog-foss | Skill | 736 | today | MIT | A | 156 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 332k | 6d ago | MIT | A | 21 | Claude Code |