dockside CLAUDE.md

dockside CLAUDE.md is an instructions file for Claude Code from newsnowlabs/dockside. It costs 2,593 tokens per session, scanned B, original, Apache-2.0.

Repository instructions for Dockside, a command-line and web application with Perl server code and a Vue client. They describe its checks, service restarts, client rebuilds, and command-line session setup.

In plain words
What is it for?
Use them when changing Dockside's Perl server or Vue client, running targeted checks, rebuilding the client, restarting local services, or running integration tests and HTTP checks.
Why use it?
They prevent misleading test results when a running server has not been restarted or the Vue bundle has not been rebuilt. They also separate ordinary static checks from tests that need a live environment.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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 instructions/newsnowlabs/dockside/claude-md
Clone the repo
git clone --depth 1 https://github.com/newsnowlabs/dockside

Made for: Claude Code.

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 dockside CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/newsnowlabs/dockside/claude-md.svg)](https://agentmods.dev/instructions/newsnowlabs/dockside/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/newsnowlabs/dockside/claude-md"><img src="https://agentmods.dev/badge/instructions/newsnowlabs/dockside/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,593 This file is loaded in full into every session.
When invoked 2,593 The same file — it is already loaded in full.
Security scan B 2 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.02593 $0.02593
Opus 5 $0.01296 $0.01296
Sonnet 5 $0.00519 $0.00519
Haiku 4.5 $0.00259 $0.00259

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

Security

Grade B, and why

dockside CLAUDE.md scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- `sudo s6-svc -t /etc/service/nginx`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl` — it reuses the CLI's own already-working session/TLS/connection setup. Confirmed this
CLAUDE.md · 166 lines

How it starts

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

Repo Notes

  • ./test.sh runs the full static suite (Perl compile, Vue build, ESLint, StyleLint, ShellCheck, JSON/YAML, Python compile) — run it regularly, not just for Perl. ./test.sh --only <check> runs a single check (e.g. --only perl while iterating on Perl under app/server/lib or app/server/bin; --only vue, --only eslint, …).
  • When validating Perl server changes on this local Dockside host, restart:
    • sudo s6-svc -t /etc/service/nginx
    • sudo s6-svc -t /etc/service/docker-event-daemon
  • Before running tests that exercise server changes, restart the services above — the running server is not auto-reloaded. Rebuild the Vue bundle (cd app/client && npm run build) for client changes.

The dockside CLI

Needed for two things: running the integration suite, and ad-hoc HTTP checks against a live instance mid-session (both below). Nothing else in this repo — static checks, restarting services, editing code — needs a CLI session at all.

Session setup

Check for an existing session before assuming there isn't one or that you need credentials: run python3 cli/dockside server list (or dockside server list if it's on PATH). Recommended usage is for the developer to already be logged in as admin locally and hand that session to you, so one usually exists — never ask the user for credentials over chat. If none is found, ask the user whether they'd rather log in themselves (remind them of the login command below) or have you try it — don't just assume either way.

If asked to try it yourself: the hostname depends on your environment:

  • Personal laptop/server running Dockside: www-<name>.local.dockside.dev
  • Inner Dockside dev container inside an outer production Dockside: your inner container's public hostname (e.g. www-<name>.dockside-domain.com — the outer server's domain is whatever it actually is, no fixed convention to assume) — derive it rather than asking or guessing: ssl.domains[0] in /data/config/config.json gives the base domain (e.g. <name>.dockside-domain.com); prepend www- to its first label for the actual UI hostname (www-<name>.dockside-domain.com). Don't trust the container's own "Navigate to ..." boot-log line for this — confirmed unreliable: on a real instance it printed a www.<name>... form (dot, not hyphen) that 400s, while the actual working hostname was the hyphenated www-<name>... form above.

Read the full file on GitHub · 166 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 · 166 lines · 2,593 tokens per session scan B 1a4681ce8414

Subscribe to this mod's changes

dockside CLAUDE.md is an instructions file published in the GitHub repository newsnowlabs/dockside (322 stars, last pushed 2d ago), licensed Apache-2.0. It adds 2,593 tokens to every session, about $0.0130 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.