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 agentmods add skills/aleksandarbisevac/claude-plugins/writing-javascriptnpx skills add AleksandarBisevac/claude-plugins --skill writing-javascriptgit clone --depth 1 https://github.com/AleksandarBisevac/claude-pluginsWrote 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/aleksandarbisevac/claude-plugins/writing-javascript)<a href="https://agentmods.dev/skills/aleksandarbisevac/claude-plugins/writing-javascript"><img src="https://agentmods.dev/badge/skills/aleksandarbisevac/claude-plugins/writing-javascript.svg" alt="Measured on agentmods" 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 | $0.00163 | $0.02623 |
| Opus 5 | $0.00081 | $0.01311 |
| Sonnet 5 | $0.00033 | $0.00525 |
| Haiku 4.5 | $0.00016 | $0.00262 |
Grade A, and why
writing-javascript 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 — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Writing JavaScript here
There is no bundler, no npm, no TypeScript and no build step. The ordered parts under
ui/report/ and ui/panel/ are concatenated by Python into exactly one inline <script> per
page. The mechanics of that — ordering, the byte pins, splitting — belong to
refactoring-the-assembled-ui. This file is about the code you type.
Which dialect
Modern ES, in both — and both surfaces now speak it. This section used to carry a table
showing report.js as strictly ES5 against a modern panel.js; that gap was closed, and the
table went on describing it. Re-derive rather than reading a number here:
for d in report panel; do
printf '%s: var=%s function()=%s\n' "$d" \
"$(grep -rho '\bvar ' plugins/audit/scripts/ui/$d/ | wc -l | tr -d ' ')" \
"$(grep -rho 'function *(' plugins/audit/scripts/ui/$d/ | wc -l | tr -d ' ')"
done
Both are at zero var and zero function (). What is NOT yet symmetric is JSDoc — the report's
parts carry a block per exported behaviour and the panel's parts carry almost none — and since
this project has no TypeScript, JSDoc is the type system it gets. Types must be specific
({HTMLTableRowElement}, {(a: string, b: string) => number}), never {Object}; when the type
and the code disagree, fix the CODE.
let-const has been Baseline widely available since 2019-03-20, and every other modern
construct this code would use is in the same bracket. Check before assuming, though —
grep '^| let-const ' in
.claude/skills/refactoring-the-assembled-ui/references/baseline-snapshot.md.
Two gates before using any feature. Baseline: widely = free, newly = feature-detect with a
fallback, limited = no. file://: Baseline measures engines, not schemes — js-modules is
widely available since 2020 and still impossible here, and localStorage is widely available and
inconsistent from disk (which is why every storage call in the tree is already wrapped in
try/catch). A feature must pass both.
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 First seen · 170 lines · 163 tokens per session scan A c133906fe09e
writing-javascript is a skill published in the GitHub repository AleksandarBisevac/claude-plugins (4 stars, last pushed 3d ago), licensed MIT. It adds 163 tokens to every session and 2,623 once invoked, about $0.0008 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.
Other skills, from other repositories
document-hunter
Searches and retrieves documents from free public sources using automated browser navigation. Use when research needs primary source documents like court filings, government reports, or public records.
broken-link-checker
Scans a website to find broken links (404s, 500s). Crawls internal pages, identifies broken outbound links, and reports source pages for easy fixing. Use this when the user asks to "check for broken links", "find 404s", "audit my links", or "is my site healthy".
pgvector-semantic-search
Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…
find-hypertable-candidates
Use this skill to analyze an existing PostgreSQL database and identify which tables should be converted to Timescale/TimescaleDB hypertables. Trigger when user asks to: Analyze database tables for hypertable conversion potential Identify time-series or event tables in an existing schema Evaluate if a table would…
postgres-hybrid-text-search
Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…
preview-screens
Use when the user wants to preview generated screens in a browser without starting Metro / a simulator — for example after /create-mobile-app finishes or after /edit-app regenerates a screen.