openpanel

openpanel is a skill for Claude Code, Codex from alifanov/darkflow. It costs 86 tokens per session (1,952 once invoked), scanned A, original, MIT.

An analytics tool for reading data from a self-hosted OpenPanel website-tracking system, such as visits, signups, and checkouts.

In plain words
What is it for?
Checking funnels, unique visitors, events, and changes over time, with breakdowns by operating system, country, city, browser, or page path.
Why use it?
It provides counts and trends without manually inspecting raw tracking data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

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/alifanov/darkflow/openpanel
Any agent
npx skills add alifanov/darkflow --skill openpanel
Clone the repo
git clone --depth 1 https://github.com/alifanov/darkflow

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 openpanel

README.md
[![agentmods](https://agentmods.dev/badge/skills/alifanov/darkflow/openpanel.svg)](https://agentmods.dev/skills/alifanov/darkflow/openpanel)
Your own site
<a href="https://agentmods.dev/skills/alifanov/darkflow/openpanel"><img src="https://agentmods.dev/badge/skills/alifanov/darkflow/openpanel.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,952 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.1 $0.00086 $0.01952
Opus 5 $0.00043 $0.00976
Sonnet 5 $0.00017 $0.00390
Haiku 4.5 $0.00009 $0.00195

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

Security

Grade A, and why

openpanel 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 6d 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.

templates/darkflow/skills/openpanel/SKILL.md · 138 lines

How it starts

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

OpenPanel CLI

openpanel is the only supported way to read OpenPanel here. Do not use or try to reconnect the openpanel MCP server[email protected] never answers the MCP initialize handshake, so every client times out after 30 s. It has been removed from project .mcp.json files. Nothing about that is fixable from this side.

~/.darkflow/openpanel <command> [options]

Installed and versioned by Dark Flow (install.sh~/.darkflow/openpanel), so every project on this machine runs the same script. ~/.claude/skills/openpanel/openpanel is a symlink to it, kept so this skill stays self-contained — both paths are the same file.

Commands

Command What it gives
funnel --events a,b,c one row per event: total, unique devices, unique profiles
breakdown --event X --by os|browser|country|city|path that event grouped
events --event X raw event JSON (escape hatch)
selftest asserts the pagination walk still holds — run after editing the script

Shared options: --start/--end (YYYY-MM-DD), --days N (default 7), --paths a,b (client-side path allowlist), --json, --project. funnel also takes --prev for the preceding equal-length window and a Δ events column.

OP=~/.darkflow/openpanel

# canonical funnel, last full 7 days, with period-over-period delta
$OP funnel --prev --end 2026-08-16 --days 7 \
  --events session_start,user_signed_up,scan_created,checkout_initiated,payment_succeeded

# where the biggest drop happens, by platform
$OP breakdown --event user_signed_up --by os --days 7

# top-of-funnel restricted to landing paths
$OP funnel --events session_start --paths /,/visualping-alternative --days 7

Credentials and project

Per project, first non-empty wins. Run it from the project directory — the search for .env starts at the CWD, so the CWD is what picks the project.

  1. the real environment
  2. the nearest .env at or above the CWD
  3. .claude/settings.local.jsonenv at the git root (where Claude Code keeps them)
  4. ~/.darkflow/env — machine-wide fallback, in practice only the API URL

Read the full file on GitHub · 138 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. 6d ago First seen · 138 lines · 0 tokens per session scan A 3bcf9df49894

Subscribe to this mod's changes

openpanel is a skill published in the GitHub repository alifanov/darkflow (2 stars, last pushed 7d ago), licensed MIT. It adds 86 tokens to every session and 1,952 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-31.