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/0xmassi/claude-skills/javascript-strictnpx skills add 0xMassi/claude-skills --skill javascript-strictgit clone --depth 1 https://github.com/0xMassi/claude-skillsWrote 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/0xmassi/claude-skills/javascript-strict)<a href="https://agentmods.dev/skills/0xmassi/claude-skills/javascript-strict"><img src="https://agentmods.dev/badge/skills/0xmassi/claude-skills/javascript-strict.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.00085 | $0.03191 |
| Opus 5 | $0.00043 | $0.01596 |
| Sonnet 5 | $0.00017 | $0.00638 |
| Haiku 4.5 | $0.00009 | $0.00319 |
Grade A, and why
javascript-strict scanned grade A with 1 finding 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 5d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
return fetch(url).then(r => r.json()).then(data => process(data)).catch(handleError); How it starts
The opening of the file, as written. The whole thing — 460 lines — stays where its author put it; the contents beside it link to each section on GitHub.
JavaScript Strict Standard
Rules extracted from production Node.js services (non-TypeScript).
CRITICAL: Variable Declarations
JS-01: const by default, let when necessary, never var
// BAD
var count = 0;
var items = [];
// GOOD
const VALID_MODES = ['bypass', 'browser', 'capsolver']; // Never changes
let activeCount = 0; // Reassigned in loop
let currentDelay = baseDelay; // Mutated by logic
No var anywhere.
JS-02: Destructure at declaration
// BAD
const name = config.name;
const port = config.port;
const mode = config.mode;
// GOOD
const { name, port, mode } = config;
// GOOD: with defaults
const { mode = 'both', delay = 1000 } = options;
CRITICAL: Error Handling
JS-03: Never catch and swallow errors
// BAD
try { await save(); } catch (e) {}
// BAD: logs but no recovery
try { await save(); } catch (e) { console.log(e); }
// GOOD: context + action
try {
await save();
} catch (err) {
console.error(`[Monitor] ${this.monitorId} Save failed:`, err.message);
await this.notifyError('save_failure', err.message);
// Decide: retry, skip, or throw
}
JS-04: Prefix error logs with context
// BAD
console.error(err.message);
// GOOD
console.error(`[Monitor] ${this.monitorId} Error:`, err.message);
console.error(`[TokenBank] ${this.baseHost} Persist failed:`, err.message);
console.warn(`[DEPRECATED] MONITOR_BYPASS is deprecated, use TMPT_MODE`);
Format: [Module] ${identifier} Action: message
JS-05: Avoid recursive retry without limits
// BAD: infinite recursion on persistent failure
async getTmpt() {
try {
const token = await this.tmptBank.getTmpt();
if (!token) { await sleep(1000); return this.getTmpt(); }
return token;
} catch {
await sleep(1000);
return this.getTmpt(); // STACK OVERFLOW on persistent failure
}
}
// GOOD: bounded retries
async getTmpt(retries = 10) {
for (let i = 0; i < retries; i++) {
try {
const token = await this.tmptBank.getTmpt();
if (token) return token;
} catch (err) {
console.error(`[Monitor] getTmpt attempt ${i + 1}/${retries}:`, err.message);
}
await sleep(1000 * Math.min(i + 1, 5)); // Backoff
}
throw new Error(`Failed to get TMPT after ${retries} attempts`);
}
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.
- 5d ago First seen · 460 lines · 85 tokens per session scan A f71191522dbe
javascript-strict is a skill published in the GitHub repository 0xMassi/claude-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 85 tokens to every session and 3,191 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
matlab
Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.
optimize-for-gpu
GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS…
pennylane
Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…
polars
High-performance DataFrame library for Python ETL, analytics, and pandas migration. Use for expression-based data manipulation with lazy query optimization, parallel execution, streaming out-of-core processing, Arrow interoperability, and optional GPU execution.
laravel-specialist
Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…
pandas-pro
Performs pandas DataFrame operations for data analysis, manipulation, and transformation. Use when working with pandas DataFrames, data cleaning, aggregation, merging, or time series analysis. Invoke for data manipulation tasks such as joining DataFrames on multiple keys, pivoting tables, resampling time series…