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 existential-birds/beagle --skill liveview-code-reviewgit clone --depth 1 https://github.com/existential-birds/beagleWrote 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/existential-birds/beagle/liveview-code-review)<a href="https://agentmods.dev/skills/existential-birds/beagle/liveview-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/liveview-code-review/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/existential-birds/beagle/liveview-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/liveview-code-review.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.00040 | $0.01408 |
| Opus 5.5 | $0.00016 | $0.00563 |
| Sonnet 5.5 | $0.00008 | $0.00282 |
| Haiku 4.5 | $0.00004 | $0.00141 |
Grade A, and why
liveview-code-review 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 4d 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 — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LiveView Code Review
Quick Reference
| Issue Type | Reference |
|---|---|
| mount, handle_params, handle_event, handle_async | references/lifecycle.md |
| When to use assigns vs streams, AsyncResult | references/assigns-streams.md |
| Function vs LiveComponent, slots, attrs | references/components.md |
live_session, on_mount, event auth, phx-value trust |
references/security.md |
Review Checklist
Critical Issues
- No socket copying into async functions (
start_async/3,assign_async/3,stream_async/4, orTask) — extract primitives first - WebSocket auth enforced via
live_session+on_mounthooks (HTTP plugs do not re-run onpush_navigate) - Every
handle_event/3validates authorization /current_scope - No sensitive data in assigns (visible in DOM payloads, crash reports, logs)
-
phx-value-*data is validated (user-modifiable in DevTools)
Lifecycle
- Subscriptions wrapped in
connected?(socket) -
handle_params/3used for URL-based state -
start_async/3+handle_async/3(orassign_async/stream_async) preferred over rawTask.async - Async UI handles
:loading,:failed({:error, _}and{:exit, _}), and ok states
Data Management
- Streams (
stream/4,stream_async/4in LiveView 1.1+) used for large or unbounded collections (supersedingtemporary_assignsfor lists) - Forms use
to_form(changeset)+<.form for={@form}>, not raw@changeset -
AsyncResultpatterns for loading states
Components
- Function components preferred over LiveComponents
- LiveComponents preserve
:inner_blockinupdate/2 - Slots use proper
attr/slotdeclarations -
phx-debounceon text inputs that trigger server events
Valid Patterns (Do NOT Flag)
- Empty
mount/3returning{:ok, socket}- Valid for simple LiveViews - LiveView 1.0+
{...}curly-brace HEEx interpolation -{@user.name}in text/attribute positions is standard alongside<%= ... %> - Using assigns for small lists - Streams are mainly needed for 100+ items or unbounded feeds
- LiveComponent without
update/2- Defaultupdate/2assigns all phx-clickwithoutphx-value- Event may not need data- Inline function in HEEx - Valid for simple transforms
What ships with it
4 files 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.
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.
- 4d ago Changed · +6 lines 2a2208bba49c
- 2mo ago First seen · 117 lines · 40 tokens per session scan A f47ffb0ffbf6
liveview-code-review is a skill published in the GitHub repository existential-birds/beagle (91 stars, last pushed 4d ago), licensed Apache-2.0. It adds 40 tokens to every session and 1,408 once invoked, about $0.0002 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-09-16.
liveview-code-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| liveview-code-reviewexistential-birds/beagle | Skill | 91 | 4d ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| coding-standardsSimon-Hwang/gg-plugins | Skill | 2 | 4mo ago | none | A | 34 | Claude Code |
| codex-rule-routerSimon-Hwang/gg-plugins | Skill | 2 | 4mo ago | none | A | 39 | Claude Code |
| pr-to-go-lintergithub/gh-aw | Skill | 5.7k | today | MIT | A | 22 | Claude Code, Codex |
| splitting-oversized-modulesPostHog/posthog-foss | Skill | 733 | today | MIT | A | 197 | Claude Code, Codex |
| code-reviewjrswab/axe | Skill | 914 | today | Apache-2.0 | A | 0 | Claude Code, Codex |
| qa-frontendPostHog/posthog | Skill | 41k | today | none | A | 216 | Claude Code |