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 ProjAnvil/MindForge --skill javascript-typescriptgit clone --depth 1 https://github.com/ProjAnvil/MindForgeWrote 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/projanvil/mindforge/javascript-typescript)<a href="https://agentmods.dev/skills/projanvil/mindforge/javascript-typescript"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/javascript-typescript/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/projanvil/mindforge/javascript-typescript"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/javascript-typescript.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.00085 | $0.02300 |
| Opus 5.5 | $0.00034 | $0.00920 |
| Sonnet 5.5 | $0.00017 | $0.00460 |
| Haiku 4.5 | $0.00009 | $0.00230 |
Grade A, and why
javascript-typescript 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 16d 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.
This is a copy
100% identical to javascript-typescript — 373 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
JavaScript & TypeScript — Language Skill
Language-first guidance: JS/TS syntax, the type system, concurrency, and idioms. Framework-specific code lives in references/ and is linked below; keep language answers framework-neutral.
Gotchas
Each trap is written as Symptom -> Why -> Fix. Scan these before writing any async or typed code.
1. any propagation
- Symptom: One
any(e.g. from untyped JSON) silently strips types from everything downstream; checks and autocomplete vanish. - Why:
anyopts out of checking and is contagious — it propagates through inference, assignments, and return types. - Fix: Type external data as
unknownand narrow at the boundary; keepanyout of public signatures.
2. as assertions vs narrowing
- Symptom:
const u = data as Usercompiles, thenu.namethrows because the runtime shape differs. - Why:
asonly silences the compiler — there is no runtime check. Narrowing (typeof,in, discriminant unions, type guards) actually proves the shape;satisfiesvalidates literals without widening. - Fix: Replace assertions with a type guard or control-flow narrowing; reserve
asfor uncheckable cases such asas const.
3. Unhandled promise rejection
- Symptom: An async failure is swallowed, or the process reports an opaque unhandled rejection with no useful stack.
- Why: A rejected promise with no
catch/tryescapes;awaitoutside try/catch rethrows into the caller chain. - Fix: Wrap
awaitin try/catch, attach.catch(), or usePromise.allSettled; never leave a rejection unobserved.
4. Sequential await vs Promise.all
- Symptom: Three independent async calls take the sum of their latencies instead of the maximum.
- Why: Back-to-back or in-loop
awaitserializes — the next promise is created only after the previous resolves. - Fix: Start them together and
await Promise.all([...]); useallSettledwhen partial failures are acceptable.
5. Floating promises
- Symptom: Fire-and-forget work sometimes never completes and its errors disappear without a log.
- Why: Calling an
asyncfunction withoutawait,return, or.catch()detaches it from the caller's lifecycle. - Fix:
awaitit, or explicitlyvoidit with a.catch(); enable a no-floating-promises lint rule.
What ships with it
3 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.
- 16d ago Changed · -197 lines · +16 tokens per session 1568561258c9
- 1mo ago Changed · +8 lines 0f6466e9f1fe
- 3mo ago First seen · 324 lines · 69 tokens per session scan A ece0addd9978
javascript-typescript is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed 9d ago), licensed MIT. It adds 85 tokens to every session and 2,300 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to javascript-typescript, differing in 373 lines, and is treated as a copy.
javascript-typescript compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| javascript-typescriptProjAnvil/MindForge | Skill | 3 | 9d ago | MIT | A | 85 | Claude Code |
| bun-runtimeaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 34 | Claude Code, Codex |
| codebase-architecturemblode/agent-skills | Skill | 229 | yesterday | MIT | A | 70 | Claude Code, Codex |
| scaffold-climblode/agent-skills | Skill | 229 | yesterday | MIT | A | 52 | Claude Code, Codex |
| adding-a-commandcaliber-ai-org/ai-setup | Skill | 1.3k | 2mo ago | MIT | A | 76 | Claude Code, Codex |
| add-exportcyanheads/mcp-ts-core | Skill | 154 | 4d ago | Apache-2.0 | A | 50 | Claude Code, Codex |
| typescript-patternssoftspark/ai-toolkit | Skill | 180 | 13d ago | Apache-2.0 | A | 42 | Claude Code |